gpg: fixup signer docstring

This commit is contained in:
Roman Zeyde 2016-05-26 22:15:48 +03:00
parent 339f61c071
commit 7570861765

View File

@ -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)