mirror of
https://github.com/FiloSottile/age.git
synced 2026-09-04 15:17:04 +00:00
cmd/age-plugin-batchpass: correct documented scrypt limit
Reported by Joe Doyle of Trail of Bits.
This commit is contained in:
@@ -65,11 +65,13 @@ persisted in the shell history or leaked to other users on multi-user systems.
|
||||
The scrypt work factor to use when encrypting.
|
||||
Must be between 1 and 30. Default is 18.
|
||||
Higher values are more secure but slower.
|
||||
The age CLI refuses to decrypt files above 22, and so does this plugin
|
||||
unless `AGE_PASSPHRASE_MAX_WORK_FACTOR` is set to at least the same value.
|
||||
|
||||
* `AGE_PASSPHRASE_MAX_WORK_FACTOR`:
|
||||
The maximum scrypt work factor to accept when decrypting.
|
||||
Must be between 1 and 30. Default is 30.
|
||||
Can be used to avoid very slow decryptions.
|
||||
Must be between 1 and 30. Default is 22.
|
||||
Can be used to avoid very slow decryptions, or to allow slower ones.
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
|
||||
Reference in New Issue
Block a user