gpg: add logging for digest
This commit is contained in:
@@ -249,6 +249,7 @@ def _make_signature(signer_func, data_to_sign, public_algo,
|
||||
|
||||
log.debug('hashing %d bytes', len(data_to_hash))
|
||||
digest = hashlib.sha256(data_to_hash).digest()
|
||||
log.info('SHA256 digest to sign: %s', util.hexlify(digest))
|
||||
sig = signer_func(digest=digest)
|
||||
|
||||
return bytes(header + hashed + unhashed +
|
||||
|
||||
Reference in New Issue
Block a user