appending to gpg file?

Loren M. Lang lorenl at north-winds.org
Mon Nov 17 20:29:21 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 north-winds.org
http://www.north-winds.org/


Public Key: ftp://ftp.north-winds.org/pub/lorenl_pubkey.asc
Fingerprint: 10A0 7AE2 DAF5 4780 888A  3FA4 DCEE BB39 7654 DE5B

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: </pipermail/attachments/20081117/cfcabd2a/attachment-0001.pgp>


More information about the Gnupg-users mailing list