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
- Host: GitHub
- URL: https://github.com/stef/pkrecover
- Owner: stef
- License: other
- Created: 2016-12-01T00:58:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-01T01:15:09.000Z (over 9 years ago)
- Last Synced: 2025-02-01T23:17:19.993Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
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