aboutsummaryrefslogtreecommitdiffstats
path: root/.pepper-validation.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.pepper-validation.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/.pepper-validation.mk b/.pepper-validation.mk
new file mode 100644
index 0000000..1cff2b5
--- /dev/null
+++ b/.pepper-validation.mk
@@ -0,0 +1,10 @@
+.POSIX:
+
+## DO NOT MODIFY THIS FILE
+
+PEPPER_VALIDATION_INPUT = $$argon2id$$v=19$$m=3072,t=32,p=4$$ABCDabcd1234$$*16
+PEPPER_VALIDATION_OUTPUT = $$argon2id$$v=19$$m=3072,t=32,p=4$$ABCDabcd1234$$NVf6KJj9PDPW8BYdduqPWA
+
+check:
+ +@test -x key2root-crypt || $(MAKE) key2root-crypt
+ test "$$(printf '' | ./key2root-crypt '$(PEPPER_VALIDATION_INPUT)')" = '$(PEPPER_VALIDATION_OUTPUT)'