Previously, I used a bash script that collected some information on the Internet, encrypted it using GPG, and sent it by mail. Now there is a need to make a full implementation in python3. Help solve the issue with encryption. You need to encrypt the file with a key and such an algorithm, so that you can then decrypt it using GPG.

  • one
    That is, you want to rewrite GPG completely on Python? Strongly recommend. There is such a thing as python-gnupg, but it seems to be a wrapper over GPG binaries. - Vladimir Martyanov
  • one
  • one
    I did not like python-gnupg in my work ... I then rewrote it into an open version. I think it's possible to do all the encryption on the server, only by changing the format of the file structure. - eri

0