Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

throw exception instead of returning false, if gcm tag validation evaluates to invalid. - #979

#979
Open
johanna-herrmann wants to merge 1 commit into
digitalbazaar:maindigitalbazaar/forge:mainfrom
johanna-herrmann:mainjohanna-herrmann/forge:mainCopy head branch name to clipboard
Open

throw exception instead of returning false, if gcm tag validation evaluates to invalid.#979
johanna-herrmann wants to merge 1 commit into
digitalbazaar:maindigitalbazaar/forge:mainfrom
johanna-herrmann:mainjohanna-herrmann/forge:mainCopy head branch name to clipboard

Conversation

@johanna-herrmann

Copy link
Copy Markdown

BREAKING CHANGE!
Major update.

If aes gcm tag validation evaluates to invalid,
an error / exception should be thrown,
following the gcm specification:
https://csrc.nist.rip/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf

Otherwise the user of this library has to check the validation which could be forgotten.

Libraries always should do all checks they can do,
so library using developers can just use it.

BREAKING CHANGE!
Major update.

If aes gcm tag validation evaluates to invalid,
an error / exception should be thrown,
following the gcm specification:
https://csrc.nist.rip/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf

Otherwise the user of this library has to check the validation which could be forgotten.

Libraries always should do all checks they can do,
so library using developers can just use it.
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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.