On Thu, Mar 30, 2023 at 01:30:41AM +0530, Vishal Patil wrote: > We are having some troubles converting some code from OpenSSL 1.1.x to > OpenSSL 3.0.7 APIs, to get rid of deprecation warnings, and hope > someone may be able to give us some hints in the right direction. > > > *Part1*: We are encrypting some text file with openssl3 commands and > extracting public part(ephdata) of provate key and appending it to > encryptedfile. All openssl operations done using openssl(version > 3.0.7) commands in bash script. Is there a reason you're not using CMS? -- Viktor.