ooffice-gpg

I frequently execute a decrypt-edit-encrypt cycle with gpg and OpenOffice.org. This can be pretty annoying and therefore I wrote a little shell script that does that for you. Just call ‘ooffice-gpg <file>’ to edit the file with ooffice and transparently decrypt and re-encrypt the file with gpg. But please note that ooffice-gpg has to be executed from a shell to answer to questions from gpg and the script.

By the way, by setting a little shell-variable this script can easily be changed to not call ooffice but any other executable of your choice. By doing so, you can change ooffice-gpg to gimp-gpg or whatever comes to your mind…

ooffice-gpg
Usage: ooffice-gpg <gpg-file>