Skip to content
Snippets Groups Projects
Commit 87a27d37 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

It turns out to be more like this.

parent 7868aff9
No related branches found
No related tags found
1 merge request!31Redeem from issuer
...@@ -29,9 +29,12 @@ from allmydata.interfaces import ( ...@@ -29,9 +29,12 @@ from allmydata.interfaces import (
# lot of value. # lot of value.
MAXIMUM_TOKENS_PER_CALL = 10 MAXIMUM_TOKENS_PER_CALL = 10
# This is the length of a serialized PrivacyPass pass (there's a lot of # This is the length of a serialized Ristretto-flavored PrivacyPass pass
# confusion between "tokens" and "passes" here, sadly). # (there's a lot of confusion between "tokens" and "passes" here, sadly).
TOKEN_LENGTH = 97 #
# The pass is a combination of base64-encoded token preimages and unblinded
# token signatures.
TOKEN_LENGTH = 177
# Take those values and turn them into the appropriate Foolscap constraint # Take those values and turn them into the appropriate Foolscap constraint
# objects. Foolscap seems to have a convention of representing these as # objects. Foolscap seems to have a convention of representing these as
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment