mirror of
https://github.com/romanz/amodem.git
synced 2026-04-21 22:06:27 +08:00
gpg: 1st try for RSA primary key support
This commit is contained in:
@@ -94,7 +94,7 @@ def _parse_rsa_sig(sig):
|
||||
return (util.bytes2num(sig_s),)
|
||||
|
||||
|
||||
def sign(sock, keygrip, digest, algo='ecdsa'):
|
||||
def sign(sock, keygrip, digest, algo='rsa'):
|
||||
"""Sign a digest using specified key using GPG agent."""
|
||||
hash_algo = 8 # SHA256
|
||||
assert len(digest) == 32
|
||||
|
||||
Reference in New Issue
Block a user