Konqueror Service Menu - Decrypt Tarball
- From: Alvin Beach <please_reply@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 05 May 2006 12:03:21 GMT
Hello,
I often create tarballs (.tar.gz) files and encrypt them using gpg. What I
end up with is a .tar.gz.asc file.
To extract the contents of this .asc file, I (using konqueror):
1. Click on the file and enter my passphrase. This creates the .tar.gz file.
2. Right click on the .tar.gz file and use Extract->Extract Here
What I am trying to do is fold these two steps into one by creating a
Konqueror Service Menu. I have successfully created the entry and the
associated mimetype, etc.
I use the following command (which works from the command line):
gpg --decrypt %F | tar zxC %D -f -
What this does is decrypts the file (absolute path via %F) to stdout and
pipes the contents (the .tar.gz) to tar.
My problem is that in my ~/.xsession-errors I get the following error:
gpg: cannot open `/dev/tty': No such device or address
I'm not sure why gpg what /dev/tty, perhaps its for pinentry-qt? If you use
this command in a terminal a pineentry-qt appears so you can enter in your
passphrase.
Anyone know what I can do to make this work?
Thanks,
Alvin
.
- Follow-Ups:
- Re: Konqueror Service Menu - Decrypt Tarball
- From: Alvin Beach
- Re: Konqueror Service Menu - Decrypt Tarball
- Prev by Date: Re: setup suse 10.0
- Next by Date: Re: Konqueror Service Menu - Decrypt Tarball
- Previous by thread: Re: setup suse 10.0
- Next by thread: Re: Konqueror Service Menu - Decrypt Tarball
- Index(es):
Relevant Pages
|