There is a client / server program, files on the client side are transferred to the server if changes have been made. How to properly encrypt files so that after they are transferred to the server, they are encrypted on it (they remain unencrypted on the client side, and the server does not know the key to be decrypted)? those. if someone hacks the server, they cannot use these files. I can not find python python receivers, so if there are any examples (especially using OpenPGP) and how to do it at all, it would be great.

Specifically, the question is that to send a file from the client to the server and that they are uploaded to the server encrypted and downloaded from the server to the client-decapitated, if you use AES, how? what modification? And other recommendations in the comments-how to use them?

Closed due to the fact that the issue is too common for participants jfs , aleksandr barakin , user194374, Alex , Denis Bubnov on Dec 1 '16 at 8:17 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • Take AES, for example, and encrypt. - Vladimir Martyanov
  • I would simply run some os.system through os.system or os.popen and send its output to the server in any convenient way - andreymal
  • Details are missing. Do you want to create a Tresorit clone? (more secure Dropbox equivalent). Or do you want to create Tarsnap or other variations on a SpiderOak type? - jfs
  • @jfs, to be honest, what about Tresorit, what about SpiderOak, the first time I hear it, so I ask how to do it (even AES, the first time I’m thinking about how to do it). Initially, the task is to make a program like Dropbox. - Neoni
  • @ Vladimir Martiyanov thanks for the tip. I am looking for sensible examples for the use of AES. - Neoni

0