Skip to content

Commit

Permalink
Fix Notation Data signature subpacket creation
Browse files Browse the repository at this point in the history
  • Loading branch information
twiss committed Feb 15, 2023
1 parent 2e4e053 commit 3a6e2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packet/signature.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ class SignaturePacket {
// MUST NOT be included in the signature.
arr.push(writeSubPacket(sub.issuer, this.issuerKeyID.write()));
}
this.rawNotations.forEach(([{ name, value, humanReadable }]) => {
this.rawNotations.forEach(({ name, value, humanReadable }) => {
bytes = [new Uint8Array([humanReadable ? 0x80 : 0, 0, 0, 0])];
// 2 octets of name length
bytes.push(util.writeNumber(name.length, 2));
Expand Down

0 comments on commit 3a6e2d1

Please sign in to comment.