Answer the question
In order to leave comments, you need to log in
How to create an electronic signature file (.sig) using Python?
Good afternoon!
It is very necessary to implement the file signing mechanism (i.e., creating a detached electronic signature .sig file) using Python 3.
In search of solutions, I came across materials for older versions of Python that are not supported now.
Valid certificates (cer, pem) are available.
Share your experience.
Answer the question
In order to leave comments, you need to log in
Do you know what ECP is? This is the hash sum of the file encrypted with the private key.
The hashing and encryption functions are implemented in a fairly modern cryptography library (
a fork of pycrypto). Examples can be found in the documentation or google.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question