robotframework-crypto icon indicating copy to clipboard operation
robotframework-crypto copied to clipboard

File Encryption

Open adrianyorke opened this issue 5 years ago • 0 comments

Feature request: I have a requirement to encrypt our data files when they are moved to archive. It would be really helpful if this library could implement keywords for encrypting and decrypting files.

Here's a useful article from Dec 2018 explaining how this is done: https://www.comparitech.com/blog/information-security/rsa-encryption/

In particular: "RSA encryption is often used in combination with other encryption schemes, or for digital signatures which can prove the authenticity and integrity of a message. It isn’t generally used to encrypt entire messages or files, because it is less efficient and more resource-heavy than symmetric-key encryption.

To make things more efficient, a file will generally be encrypted with a symmetric-key algorithm, and then the symmetric key will be encrypted with RSA encryption. Under this process, only an entity that has access to the RSA private key will be able to decrypt the symmetric key."

adrianyorke avatar Jan 15 '20 22:01 adrianyorke