Skip to content
/ pkrecover Public

recovers pgp rsa pubkeys from two signed blobs

License

Notifications You must be signed in to change notification settings

stef/pkrecover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

recovers pgp rsa pubkeys from two signed blobs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published