Skip to content

Argon2: set hard limit for config.maxArgon2MemoryExponent to cap memory at 1 TiB#2014

Merged
larabr merged 1 commit into
openpgpjs:mainfrom
larabr:feat/argon2-max-encodedm
Jun 4, 2026
Merged

Argon2: set hard limit for config.maxArgon2MemoryExponent to cap memory at 1 TiB#2014
larabr merged 1 commit into
openpgpjs:mainfrom
larabr:feat/argon2-max-encodedm

Conversation

@larabr

@larabr larabr commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Follow up to #1943 : while the argon2 lib in principle supports a larger value, this new limit is still unrealistically large, and it enables the safe use of bitwise operations.

Thanks to Shirsendu Mondal (@Shirshaw64p) for the report.

…mory at 1 TiB

While the argon2 lib in principle supports a larger value,
this new limit is still unrealistically large, and it enables
the safe use of bitwise operations.
@larabr larabr merged commit 3c6abc9 into openpgpjs:main Jun 4, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants