Cyberchef: Feature request: AAD in AES GCM mode

Created on 4 Apr 2020  路  3Comments  路  Source: gchq/CyberChef

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. E.g. I'm always frustrated when [...]
AES Encrypt/Decrypt GCM mode does not support Additional Authenticated Data (AAD).

Describe the solution you'd like
A clear and concise description of what you want to happen.
Support for AAD in GCM mode.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Python cryptography or python cryptodomex.

Additional context
Add any other context or screenshots about the feature request here.
GCM mode has an additional authenticated data feature that allows you to feed extra data into the cipher to be authenticated. Without support for this feature verification fails for ciphertext and encryption will output the incorrect tag when additional authenticated data is present. Either add the ability to include AAD or add a checkbox to ignore the tag. Preferably the former, but the latter would be a quicker fix.

WIP feature help wanted

Most helpful comment

Apologies, I will place this one on my to-do list. We are trying to tidy up the repository, this one was a mistake.

All 3 comments

We use node-forge for AES, might be worth raising an issue on their repository for this feature.

We use node-forge for AES, might be worth raising an issue on their repository for this feature.

You shouldn't be closing feature requests just because the current dependency we rely upon doesn't support it.

Apologies, I will place this one on my to-do list. We are trying to tidy up the repository, this one was a mistake.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

n1474335 picture n1474335  路  3Comments

joshbarth picture joshbarth  路  3Comments

n1474335 picture n1474335  路  3Comments

thejoker3000 picture thejoker3000  路  3Comments

Perflyst picture Perflyst  路  4Comments