aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/continuum-signed
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/continuum-signed')
-rwxr-xr-xscripts/continuum-signed4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/continuum-signed b/scripts/continuum-signed
index b4d9498..00d5c30 100755
--- a/scripts/continuum-signed
+++ b/scripts/continuum-signed
@@ -90,7 +90,9 @@ login() {
# Whether $1 is an envelope as continuum reads one: `cv2.`, then the value, the meta and
# the signature, each in base64url, the value one line of JSON and the meta one line
-# holding its six fields, no more. Anything else is a plain value, replaced as one.
+# holding its six fields, no more. Anything else is a plain value, replaced as one. Best
+# effort: what the server reads decides, and a string crafted to read as one here and
+# not there (padded, a field twice, a number written as a float) is answered `409`.
is_envelope() {
case $1 in
cv2.*.*.*) ;;