gpg: fixup signer docstring
This commit is contained in:
parent
339f61c071
commit
7570861765
@ -56,7 +56,7 @@ class AgentSigner(object):
|
||||
self.keygrip = keyring.get_keygrip(user_id)
|
||||
|
||||
def sign(self, digest):
|
||||
"""Sign the digest and return an ECDSA signature."""
|
||||
"""Sign the digest and return an ECDSA/RSA/DSA signature."""
|
||||
params = keyring.sign_digest(sock=self.sock,
|
||||
keygrip=self.keygrip, digest=digest)
|
||||
return b''.join(proto.mpi(p) for p in params)
|
||||
|
Loading…
Reference in New Issue
Block a user