An open API service indexing awesome lists of open source software.

https://github.com/stef/pkrecover

recovers pgp rsa pubkeys from two signed blobs
https://github.com/stef/pkrecover

Last synced: over 1 year ago
JSON representation

recovers pgp rsa pubkeys from two signed blobs

Awesome Lists containing this project

README

          

python deps: py3 and python-pgp
c deps: gmp

compile
gcd.c like this: `gcc -o gcd gcd.c -lgmp`

test
generate two signed messages like this:

echo -n "message1" | gpg --sign >signedmsg1
echo -n "message2" | gpg --sign >signedmsg2

then run:
bash recover.sh signedmsg1 signedmsg2 >recoveredpubkey