Use sha1 instead of dss1 to avoid 'ValueError("No such digest method")'
According to man EVP_DigestInit:
The link between digests and signing algorithms was fixed in OpenSSL 1.0 and later, so now EVP_sha1() can be used with RSA and DSA. The legacy EVP_dss1() was removed in OpenSSL 1.1.0
now 'dss1' has been removed, 'sha1' can do the same thing.
Use sha1 instead of dss1 to avoid 'ValueError("No such digest method")'
According to man EVP_DigestInit:
now 'dss1' has been removed, 'sha1' can do the same thing.