diff --git a/sign/pgp/pgp.py b/sign/pgp/pgp.py index 516e7c2..4ef2d4b 100644 --- a/sign/pgp/pgp.py +++ b/sign/pgp/pgp.py @@ -58,7 +58,7 @@ async def sign( hash_before = hash_file( fd.name, - hasher=get_hasher('sha256'), + hasher=get_hasher(), ) # signing tmp file with gpg binary @@ -81,7 +81,7 @@ async def sign( ) hash_after = hash_file( fd.name, - hasher=get_hasher('sha256'), + hasher=get_hasher(), ) # it would be nice if we could know the platform too