Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: please add passphrase protection #16

Open
uwahl opened this issue Oct 31, 2023 · 6 comments
Open

feature request: please add passphrase protection #16

uwahl opened this issue Oct 31, 2023 · 6 comments

Comments

@uwahl
Copy link

uwahl commented Oct 31, 2023

Could you please add a password protection - for the commandline is somewhat complicated to use...
thank you for your work!!

@lduboeuf
Copy link
Owner

lduboeuf commented Nov 3, 2023

humm can't find with KArchive ( the core that handles archives creation/reading) how to do that
https://api.kde.org/frameworks/karchive/html/index.html

@uwahl
Copy link
Author

uwahl commented Nov 3, 2023 via email

@lduboeuf
Copy link
Owner

lduboeuf commented Nov 4, 2023

...sorry that I'm not familiar with programming and its libraries... The only complete command - for compressing AND encryption with a passphrase in one step - I found in the UT-bin folder is gpgtar e.g.with symmetric encryption keys. I hoped this could be implemented somehow into your app...

If you give some full command lines, i could give a try to integrate them, but no guarantees

@uwahl
Copy link
Author

uwahl commented Nov 13, 2023

It would be desirable to compress not only files but also directories - the utzipper-gui not allowing this at the moment.
A complete commandline using the tar command to compress the whole Documents folder in /home/phablet is

tar -czvf Downloads.tar Downloads

resulting in a file Downloads.tar

Finally encrypting the file Downloads.tar with with a symmetric key using the gpg command:

gpg --symmetric --cipher-algo aes256 Documents.tar

resulting in a file Downloads.tar.gpg encrypted symmetric with one passphrase.
There is also a command targpg combining the two commands.
It would be great, having a gui doing the two steps above. The idea in my mind is to do an encrypted backup of my system on an usb stick, since in the moment it is not possible (?) to lock/ unlock the whole usb stick with a password...

@lduboeuf
Copy link
Owner

It would be desirable to compress not only files but also directories - the utzipper-gui not allowing this at the moment. A complete commandline using the tar command to compress the whole Documents folder in /home/phablet is

tar -czvf Downloads.tar Downloads

resulting in a file Downloads.tar

Finally encrypting the file Downloads.tar with with a symmetric key using the gpg command:

gpg --symmetric --cipher-algo aes256 Documents.tar

resulting in a file Downloads.tar.gpg encrypted symmetric with one passphrase. There is also a command targpg combining the two commands. It would be great, having a gui doing the two steps above. The idea in my mind is to do an encrypted backup of my system on an usb stick, since in the moment it is not possible (?) to lock/ unlock the whole usb stick with a password...

humm, i'm not sure if using a folder is doable with the way UT handle copy of elements between apps, except if this app becomes unconfined.
I'm afraid trying encryption will takes too much work for me sorry

But i agree having a backup/restore on UT is still a missing piece

@uwahl
Copy link
Author

uwahl commented Nov 15, 2023

Of course the last command password protecting the .tar file above should be
gpg --symmetric --cipher-algo aes256 Downloads.tar
Sorry...
You are right, KArchive doesn't have the features of compressing folders or gpg encryption.
What a pity...
Thanks for thinking about and thanks for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants