Support for in place encryption / decryption #508
iFrozenPhoenix
started this conversation in
General
Replies: 1 comment 2 replies
-
this is something I would also like to see added to age as well. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi together,
currently it is not directly possible to encrypt / decrypt a file in place, i.e. replacing the file with it's encrypted / unencrypted representation.
If someone is defining the input file also as an output file, it leads to a corrupt file and it looks like all data are unrecoverable lost. Please see issue #491 for this.
Therefore and to simplify the ux I recommend to define a flag that allows in place encryption / decryption.
Sure, this means that both representations have to be kept in memory which could be a problem if someone encrypts / decrypts a large file. But i think in the most cases this would be a useful addition.
Regards
Beta Was this translation helpful? Give feedback.
All reactions