appending to gpg file?

Loren M. Lang lorenl at alzatex.com
Mon Nov 17 20:28:06 CET 2008


On Mon, 2008-11-17 at 13:16 -0500, David Kennedy wrote:
> Is there a safe ascii delimiter i could use between messages in one
> file, then? Maybe insert a delimited 'line break' of sorts, parse out
> individual gpg messsages, and decrypt each piece?

I'd recommend just ascii-armoring it.  That will cleanly separate out
the messages and be easy to parse back in.  Use the -a option to gpg.

> 
> Thanks for the brainstorm..
> 
> On Mon, Nov 17, 2008 at 1:07 PM, David Shaw <dshaw at jabberwocky.com>
> wrote:
>         
>         
>         
>         Not really.  You can do this as a running append (i.e. keep a
>         file
>         descriptor open to your gpg process and keep pushing data at
>         it),
>         which would create one large file.  You can't do it with '>>'
>         as that
>         creates multiple OpenPGP messages in a single file, which is
>         not
>         required to be supported by an OpenPGP client.
>         
>         David
>         
>         _______________________________________________
>         Gnupg-users mailing list
>         Gnupg-users at gnupg.org
>         http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
-- 
Loren M. Lang
lorenl at alzatex.com
http://www.alzatex.com/


Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: 10A0 7AE2 DAF5 4780 888A  3FA4 DCEE BB39 7654 DE5B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3157 bytes
Desc: not available
URL: </pipermail/attachments/20081117/bb69ca64/attachment-0001.bin>


More information about the Gnupg-users mailing list