Looking for a decrypting script

Kelley Lingerfelt kelleyl@tellico.net
Thu, 27 Jul 2000 23:11:08 -0400


 I'm fairly new to gpg, but I would like to be able to append to a file, encrypted
messages, like so:
 I can generate the files without much problem, but don't know how to decrypt it.

Encrypted File would look like something like this:

-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

/iNNQl3grM515suFqcnXghGMunsgit3Zjpr+WWwoLhSiA9X2FCJiAtcsjLofTN5l
AlA6zNrusB+GSMOeYpeTfcYZB97aOSoVF9OjYtkVfTjcS+LBIx2xoFQgp1+/i2z6
cWq1QXKG5+zlzsqu7DyAoplkYCsH0+nCis8bwTywjTKSySoKLMHOTAG0e347Ij1d
Atw1aceB2M4yDA28PEFeI9ZAaQ9P66bA8UFIwAY=
=gYTc
-----END PGP MESSAGE-----
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

hQEOA/cVrW7P7/adEAP/VXN1sTR0KJhq4sYVwvwwkBcqlG611AZgETzTdtsL+aER
1MaAIY8w4a/J3H4gMX5pAB8A/DhQYFIRAd17PT6Tkj3dOXbcdpluCq00XpYCG+WE
Atw1aceB2M4yDA28PEFeI9ZAaQ9P66bA8UFIwAY=
=gYTc
-----END PGP MESSAGE-----

I would like some type of script where I could read this file in and output each record
that was encrypted, the decryption will be in a secure place, but I don't know of anyway
to accomplish this. I would like to write the output to a file or stdout for final
processing.

Anyone have any suggestions on how this could be done, or is it even feasible?

thanks
Kelley