[Thunar-dev] gpg
Benedikt Meurer
benedikt.meurer at unix-ag.uni-siegen.de
Fri Jul 21 17:23:15 CEST 2006
Xavier Dectot wrote:
>>just to talk about something, would it be doable to do a gpg plugin,
>>which can encrypt and decrypt files and so on? Something like
>>Nautilus+Seahorse. I don't know if anyone would benefit from it or if
>>it's even doable, it is more about discussing the topic for now.
>
> Wouldn't these scripts do it ?
>
> #!/bin/sh
>
> #gpgencrypt
>
> gpg -r $USER --output ${1}.gpg --encrypt ${1}
>
> and
>
> #!/bin/bash
>
> #gpgdecrypt
>
> gpg -r $USER --output ${1%.*} --decrypt $1
>
> do what you want (using them as custom actions ?)
Jap, that's the quick and dirty one. You could however write a plugin
with graphical feedback, similar to the archive plugin.
Benedikt
More information about the Thunar-dev
mailing list