db-sharding icon indicating copy to clipboard operation
db-sharding copied to clipboard

Password file decrypting fails with newer openssl client

Open over1pixel opened this issue 3 years ago • 0 comments

In the files

  • oragsm.py
  • orapcatalog.py
  • orapshard.py
  • setupOshardEnv.sh

please add the option -md sha256 to every command like openssl enc -d -aes-256-cbc -in <inputfile> -out <outputfile> -pass file:<keyfile>

otherwise with newer openssl versions we face the error 11/22/2022 09:19:23 PM ERROR: oracommon.py - check_os_err :OS command returned code : 1, returned error : bad decrypt 139884830422928:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:618: and returned output : no retruned output

also there is a typo in the last line

over1pixel avatar Nov 22 '22 21:11 over1pixel