Merge pull request #674 from cheme/master

Fix parsing of revocation subkey fingerprint
This commit is contained in:
Sanjana Rajan 2018-03-18 12:54:14 -07:00 committed by GitHub
commit 7dcc74b295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -446,7 +446,7 @@ Signature.prototype.read_sub_packet = function (bytes) {
// fingerprint)
this.revocationKeyClass = bytes[mypos++];
this.revocationKeyAlgorithm = bytes[mypos++];
this.revocationKeyFingerprint = bytes.subarray(mypos, 20);
this.revocationKeyFingerprint = bytes.subarray(mypos, mypos + 20);
break;
case 16: