Skip to content

Add context parameter for AEAD messages and v5 signatures

This adds an optional context parameter both for encryption/decryption (when using v2 sym. encrypted integrity protected data packets) and signing/verification (when using v5 signatures). This is application-specific and binds the encrypted message / signature to the context, so that it can not be used in other contexts, preventing certain attacks.

Fixes #145.

Edited by Daniel Huigens

Merge request reports

Loading