Re: gpg-bash-lib - parsing gpg's --status-fd - feedback desired - was: Is there a shell script or bash library for parsing gpg's --status-fd output?

2015-01-26 Thread Patrick Schleizer
Patrick Schleizer:
 apparently something like gpg-bash-lib didn't exist.
 
 Created one:
 https://github.com/Whonix/gpg-bash-lib
 
 Could you leave some feedback please?
 
 Main code file:
 https://github.com/Whonix/gpg-bash-lib/blob/master/usr/lib/gpg-bash-lib/modules.d/50_common
 
 No usage instructions yet, see unit test:
 https://github.com/Whonix/gpg-bash-lib/blob/master/usr/lib/gpg-bash-lib/unit_test
 
 Specifically, does my status-fd parsing code look sane?
 https://github.com/Whonix/gpg-bash-lib/blob/0fc7a02b35f9580502daccf46692988b55961a23/usr/lib/gpg-bash-lib/modules.d/50_common#L172
 
 Anyone else interested to contribute?

Comprehensive documentary and examples have been written.

https://github.com/Whonix/gpg-bash-lib

Please leave feedback.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


gpg-bash-lib - parsing gpg's --status-fd - feedback desired - was: Is there a shell script or bash library for parsing gpg's --status-fd output?

2015-01-16 Thread Patrick Schleizer
Hi,

apparently something like gpg-bash-lib didn't exist.

Created one:
https://github.com/Whonix/gpg-bash-lib

Could you leave some feedback please?

Main code file:
https://github.com/Whonix/gpg-bash-lib/blob/master/usr/lib/gpg-bash-lib/modules.d/50_common

No usage instructions yet, see unit test:
https://github.com/Whonix/gpg-bash-lib/blob/master/usr/lib/gpg-bash-lib/unit_test

Specifically, does my status-fd parsing code look sane?
https://github.com/Whonix/gpg-bash-lib/blob/0fc7a02b35f9580502daccf46692988b55961a23/usr/lib/gpg-bash-lib/modules.d/50_common#L172

Anyone else interested to contribute?

Cheers,
Patrick


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Is there a shell script or bash library for parsing gpg's --status-fd output?

2015-01-14 Thread Patrick Schleizer
Hi!

Is there a shell script or bash library for parsing gpg's --status-fd
output?

I mean, I could code it myself. But why duplicate effort and risk
messing up. Maybe there is some existing or even recommended or even
official library to do this?

(What I mean by parsing is: to get from lines such as [GNUPG:] GOODSIG
416... to variables such as goodsig=true, fingerprint=416... and so forth.)

Cheers,
Patrick


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users