Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
ZKAPAuthorizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Administrator
ZKAPAuthorizer
Commits
87a27d37
Commit
87a27d37
authored
5 years ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
It turns out to be more like this.
parent
7868aff9
No related branches found
Branches containing commit
No related tags found
1 merge request
!31
Redeem from issuer
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/_zkapauthorizer/foolscap.py
+6
-3
6 additions, 3 deletions
src/_zkapauthorizer/foolscap.py
with
6 additions
and
3 deletions
src/_zkapauthorizer/foolscap.py
+
6
−
3
View file @
87a27d37
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment