edf-hpc / clara

Cluster Administration tools
Other
18 stars 12 forks source link

enc: clara on debian>=9 should be able to decode files created on debian<=8 #118

Closed hmlth closed 4 years ago

hmlth commented 6 years ago

OpenSSL changed its digest format for enc(1). Files created on debian8 can only be decrypted with:

openssl enc -d -md md5 ....
infocality commented 4 years ago

The default digest was changed from MD5 to SHA256 in Openssl 1.1.0 Now the digest type is defined in config.ini instead of using the default digest of the operating system.
sha256 is used in case of invalid or undefined digest type.