Skip to content

Commit

Permalink
Merge pull request #216 from letsencrypt/clarify-token
Browse files Browse the repository at this point in the history
Clarify tokens in various challenges.
  • Loading branch information
bifurcation committed Aug 7, 2015
2 parents 3fbe0d7 + 09b3bf4 commit e104691
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions draft-barnes-acme.md
Original file line number Diff line number Diff line change
Expand Up @@ -1518,12 +1518,12 @@ type (required, string):
token (required, string):
: The value to be used in generation of validation JWS. This value MUST have at
least 128 bits of entropy, in order to prevent an attacker from guessing it.
It MUST NOT contain any non-ASCII characters.
It MUST NOT contain any characters outside the URL-safe Base64 alphabet.

~~~~~~~~~~
{
"type": "simpleHttp",
"token": "evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ+PCt92wr+oA"
"token": "evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ-PCt92wr-oA"
}
~~~~~~~~~~

Expand Down Expand Up @@ -1617,12 +1617,14 @@ type (required, string):
: The string "dvsni"

token (required, string):
: A random value with at least 128 bits of entropy, base64-encoded
: The value to be used in generation of validation certificate. This value MUST have at
least 128 bits of entropy, in order to prevent an attacker from guessing it.
It MUST NOT contain any characters outside the URL-safe Base64 alphabet.

~~~~~~~~~~
{
"type": "dvsni",
"token": "evaGxfADs6pSRb2LAv9IZf17Dt3juxGJyPCt92wrDoA",
"token": "evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ-PCt92wr-oA"
}
~~~~~~~~~~

Expand All @@ -1634,12 +1636,12 @@ type (required, string):
: The string "dvsni"

token (required, string):
: A random value with at least 128 bits of entropy, base64-encoded
: The token value from the server-provided challenge object

~~~~~~~~~~
{
"type": "dvsni",
"token": "evaGxfADs6pSRb2LAv9IZf17Dt3juxGJyPCt92wrDoA",
"token": "evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ-PCt92wr-oA"
}
~~~~~~~~~~

Expand Down Expand Up @@ -1826,13 +1828,15 @@ type (required, string):
: The string "dns"

token (required, string):
: A random value with at least 128 bits of entropy. It MUST NOT contain any
characters outside the URL-safe Base64 alphabet.
: The value to be used in generation of validation record to be provisioned
in DNS. This value MUST have at least 128 bits of entropy, in order to
prevent an attacker from guessing it. It MUST NOT contain any characters
outside the URL-safe Base64 alphabet.

~~~~~~~~~~
{
"type": "dns",
"token": "evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ+PCt92wr+oA",
"token": "evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ-PCt92wr-oA"
}
~~~~~~~~~~

Expand All @@ -1844,12 +1848,12 @@ type (required, string):
: The string "dns"

token (required, string):
: The token value in the challenge
: The token value from the server-provided challenge object

~~~~~~~~~~
{
"type": "dns",
"token": "evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ+PCt92wr+oA",
"token": "evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ-PCt92wr-oA"
}
~~~~~~~~~~

Expand Down

0 comments on commit e104691

Please sign in to comment.