Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-ece
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-ece
Commits
982473b3
Commit
982473b3
authored
Sep 15, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the tests for examples from the RFC look more exactly like the RFC.
By using BASE64URLNOPAD from VMOD blob.
parent
072068b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
decrypt.vtc
src/tests/decrypt.vtc
+4
-4
encrypt.vtc
src/tests/encrypt.vtc
+2
-2
No files found.
src/tests/decrypt.vtc
View file @
982473b3
...
...
@@ -28,10 +28,10 @@ varnish v1 -arg "-p vsl_mask=+VfpAcct" -vcl+backend {
import blob;
sub vcl_init {
ece.set_key("", blob.decode(BASE64,
encoded="yqdlZ+tYemfogSmv7Ws5PQ==
"));
ece.set_key("a1", blob.decode(BASE64,
encoded="BO3ZVPxUlnLORbVGMpbT1Q==
"));
ece.set_key("", blob.decode(BASE64
URLNOPAD
,
encoded="yqdlZ-tYemfogSmv7Ws5PQ
"));
ece.set_key("a1", blob.decode(BASE64
URLNOPAD
,
encoded="BO3ZVPxUlnLORbVGMpbT1Q
"));
}
sub vcl_backend_response {
...
...
src/tests/encrypt.vtc
View file @
982473b3
...
...
@@ -22,8 +22,8 @@ varnish v1 -arg "-p vsl_mask=+VfpAcct" -vcl+backend {
import blob;
sub vcl_init {
ece.set_key("", blob.decode(BASE64,
encoded="yqdlZ+tYemfogSmv7Ws5PQ==
"));
ece.set_key("", blob.decode(BASE64
URLNOPAD
,
encoded="yqdlZ-tYemfogSmv7Ws5PQ
"));
}
# When set-salt is enabled, the base64-encoded salt can be
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment