Properly set one-pass signture packet flag
This commit is contained in:
parent
e84276eefa
commit
e9940eb100
|
@ -321,6 +321,9 @@ Message.prototype.sign = function(privateKeys) {
|
|||
}
|
||||
onePassSig.publicKeyAlgorithm = signingKeyPacket.algorithm;
|
||||
onePassSig.signingKeyId = signingKeyPacket.getKeyId();
|
||||
if (i === privateKeys.length - 1) {
|
||||
onePassSig.flags = 1;
|
||||
}
|
||||
packetlist.push(onePassSig);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user