Created
October 31, 2016 20:21
-
-
Save linuxenko/7fa07d2fcf915c18c5567b2fe7a96e2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var messageKey = function(message) { | |
return pgp.util.hexstrdump( | |
pgp.message.readArmored(message) | |
.packets[0].packets[0].signingKeyId.bytes | |
).toUpperCase(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment