Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for creating Notation Data subpackets when signing or encrypting messages #1598

Merged
merged 6 commits into from Feb 16, 2023

Conversation

twiss
Copy link
Member

@twiss twiss commented Feb 15, 2023

Add a signatureNotations option to sign() and encrypt(), of the type [{ name: String, value: Uint8Array, humanReadable: bool }], to allow adding Notation Data subpackets when signing messages.

Also, make signaturePacket.rawNotations[*].critical a boolean instead of a number.

@twiss twiss changed the title Add support for adding Notation Data subpackets when signing or encrypting messages Add support for creating Notation Data subpackets when signing or encrypting messages Feb 15, 2023
@twiss twiss requested a review from larabr February 15, 2023 19:12
openpgp.d.ts Outdated Show resolved Hide resolved
src/packet/signature.js Show resolved Hide resolved
@twiss twiss merged commit 64ca5af into openpgpjs:main Feb 16, 2023
@twiss twiss deleted the sig-notation-creation branch February 16, 2023 12:48
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.

None yet

2 participants