Update signature.js

Co-authored-by: Daniel Huigens <d.huigens@protonmail.com>
This commit is contained in:
Carlos Alexandro Becker 2025-02-21 08:59:11 -03:00 committed by GitHub
parent d800a44e0c
commit 0530aa5ef3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -315,8 +315,8 @@ class SignaturePacket {
if (!this.issuerKeyID.isNull() && this.issuerKeyVersion < 5) {
// If the version of [the] key is greater than 4, this subpacket
// MUST NOT be included in the signature.
// XXX: making this critical breaks RPM <=4.16.
// See: https://github.com/ProtonMail/go-crypto/issues/263
// Note: making this critical breaks RPM <=4.16.
// See: https://github.com/ProtonMail/go-crypto/issues/263
arr.push(writeSubPacket(sub.issuerKeyID, false, this.issuerKeyID.write()));
}
this.rawNotations.forEach(({ name, value, humanReadable, critical }) => {