mirror of
https://github.com/FiloSottile/age.git
synced 2026-01-04 19:33:55 +00:00
age: reject leading zeroes and sign in scrypt work factor
This commit is contained in:
BIN
testdata/testkit/scrypt_bad_tag
vendored
Normal file
BIN
testdata/testkit/scrypt_bad_tag
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_extra_argument
vendored
Normal file
BIN
testdata/testkit/scrypt_extra_argument
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_not_canonical_body
vendored
Normal file
BIN
testdata/testkit/scrypt_not_canonical_body
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_not_canonical_salt
vendored
Normal file
BIN
testdata/testkit/scrypt_not_canonical_salt
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_salt_long
vendored
Normal file
BIN
testdata/testkit/scrypt_salt_long
vendored
Normal file
Binary file not shown.
9
testdata/testkit/scrypt_salt_missing
vendored
Normal file
9
testdata/testkit/scrypt_salt_missing
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
expect: header failure
|
||||
file key: 59454c4c4f57205355424d4152494e45
|
||||
passphrase: password
|
||||
|
||||
age-encryption.org/v1
|
||||
-> scrypt 10
|
||||
W0mMthyhNJOV3debCwkQcUlNx/i6Ss/A07aQCrG5Gcw
|
||||
--- 1QsPcEbBSylfP4apakJqtDBJMrpd81rPuSLTCvdZx6E
|
||||
¬]?7åPqÓ¦ F—¹ •Â÷õÛ®è
zŒ(rŠóÎ|
|
||||
BIN
testdata/testkit/scrypt_salt_short
vendored
Normal file
BIN
testdata/testkit/scrypt_salt_short
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_uppercase
vendored
Normal file
BIN
testdata/testkit/scrypt_uppercase
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_work_factor_hex
vendored
Normal file
BIN
testdata/testkit/scrypt_work_factor_hex
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_work_factor_leading_garbage
vendored
Normal file
BIN
testdata/testkit/scrypt_work_factor_leading_garbage
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_work_factor_leading_plus
vendored
Normal file
BIN
testdata/testkit/scrypt_work_factor_leading_plus
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_work_factor_leading_zero_decimal
vendored
Normal file
BIN
testdata/testkit/scrypt_work_factor_leading_zero_decimal
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_work_factor_leading_zero_octal
vendored
Normal file
BIN
testdata/testkit/scrypt_work_factor_leading_zero_octal
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_work_factor_missing
vendored
Normal file
BIN
testdata/testkit/scrypt_work_factor_missing
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_work_factor_negative
vendored
Normal file
BIN
testdata/testkit/scrypt_work_factor_negative
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_work_factor_overflow
vendored
Normal file
BIN
testdata/testkit/scrypt_work_factor_overflow
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_work_factor_trailing_garbage
vendored
Normal file
BIN
testdata/testkit/scrypt_work_factor_trailing_garbage
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_work_factor_wrong
vendored
Normal file
BIN
testdata/testkit/scrypt_work_factor_wrong
vendored
Normal file
Binary file not shown.
BIN
testdata/testkit/scrypt_work_factor_zero
vendored
Normal file
BIN
testdata/testkit/scrypt_work_factor_zero
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user