Fix Notation Data signature subpacket creation
This commit is contained in:
parent
2e4e05369c
commit
3a6e2d1661
|
@ -260,7 +260,7 @@ class SignaturePacket {
|
||||||
// MUST NOT be included in the signature.
|
// MUST NOT be included in the signature.
|
||||||
arr.push(writeSubPacket(sub.issuer, this.issuerKeyID.write()));
|
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])];
|
bytes = [new Uint8Array([humanReadable ? 0x80 : 0, 0, 0, 0])];
|
||||||
// 2 octets of name length
|
// 2 octets of name length
|
||||||
bytes.push(util.writeNumber(name.length, 2));
|
bytes.push(util.writeNumber(name.length, 2));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user