Support
Forums

Re: openssl error reading input file

HI,Could you provide a little background please - What distro are you using and what version of openssl - and what are you trying to do?..but "bad magic number" often means that your password is incorrect.Try this (based on Lubuntu 20.04):&n...
HI,

Could you provide a little background please - What distro are you using and what version of openssl - and what are you trying to do?

..but "bad magic number" often means that your password is incorrect.

Try this (based on Lubuntu 20.04):

  #echo test > brian.plain
  #cat brian.plan
test

  #openssl enc -aes-256-cbc -a -pbkdf2 -in brian.plain -out brian.secured
enter aes-256-cbc encryption password:
Verifying - enter aes-256-cbc encryption password:
 
  #cat brian.secured
U2FsdGVkX18hxb7WbfWLo2AsLJYT...