pyassuan.git
12 years agoNo binary 'D ' requests from the client.
W. Trevor King [Sat, 21 Apr 2012 16:29:21 +0000 (12:29 -0400)]
No binary 'D ' requests from the client.

12 years agoAdd send_fds and receive_fds functions.
W. Trevor King [Sat, 21 Apr 2012 15:51:08 +0000 (11:51 -0400)]
Add send_fds and receive_fds functions.

These will need Python 3.3 for sendmsg and recvmsg, but I already
copied over the code from the Python docs, so I'm committing it now
;).

12 years agoHold all client/server communication explicitly in bytes.
W. Trevor King [Fri, 20 Apr 2012 05:45:58 +0000 (01:45 -0400)]
Hold all client/server communication explicitly in bytes.

12 years agoFix pgp-mime -> pyassuan in README (copy errors :p).
W. Trevor King [Fri, 20 Apr 2012 05:09:51 +0000 (01:09 -0400)]
Fix pgp-mime -> pyassuan in README (copy errors :p).

12 years agoChange my email address from drexel.edu to tremily.us.
W. Trevor King [Wed, 18 Apr 2012 17:21:15 +0000 (13:21 -0400)]
Change my email address from drexel.edu to tremily.us.

12 years agoRemove override_ttyname option from PinEntry.
W. Trevor King [Sun, 25 Mar 2012 13:13:32 +0000 (09:13 -0400)]
Remove override_ttyname option from PinEntry.

A better solution for keeping pinentry bound to a single terminal is
to use --ttyname, --display, --keep-tty, and --keep-display when
spawning gpg-agent.

12 years agoAdd AUTHORS to .gitignore (generated by update-copyright.py).
W. Trevor King [Sun, 25 Mar 2012 10:56:34 +0000 (06:56 -0400)]
Add AUTHORS to .gitignore (generated by update-copyright.py).

12 years agoRun update-copyright.py.
W. Trevor King [Sun, 25 Mar 2012 10:55:55 +0000 (06:55 -0400)]
Run update-copyright.py.

12 years agoAdd COPYING and .update-copyright.conf.
W. Trevor King [Sun, 25 Mar 2012 10:55:13 +0000 (06:55 -0400)]
Add COPYING and .update-copyright.conf.

12 years agoAdd AssuanClient.send_data().
W. Trevor King [Sat, 24 Mar 2012 22:05:39 +0000 (18:05 -0400)]
Add AssuanClient.send_data().

12 years agoAdd return-value checking to AssuanClient response handling.
W. Trevor King [Sat, 24 Mar 2012 20:07:11 +0000 (16:07 -0400)]
Add return-value checking to AssuanClient response handling.

This makes calling code more Pythonic (catch is better than check ;).

12 years agoMake AssuanClient.make_request() responses optional.
W. Trevor King [Sat, 24 Mar 2012 15:47:47 +0000 (11:47 -0400)]
Make AssuanClient.make_request() responses optional.

12 years agoMention gpg-connect-agent in the README.
W. Trevor King [Sat, 24 Mar 2012 13:03:46 +0000 (09:03 -0400)]
Mention gpg-connect-agent in the README.

12 years agoFix ttyname override (better logging, look at GPG_TTY, not TTY_NAME).
W. Trevor King [Sat, 24 Mar 2012 01:10:26 +0000 (21:10 -0400)]
Fix ttyname override (better logging, look at GPG_TTY, not TTY_NAME).

12 years agoFix a couple of syntax goofs.
W. Trevor King [Sat, 24 Mar 2012 01:01:21 +0000 (21:01 -0400)]
Fix a couple of syntax goofs.

12 years agoAdd override_ttyname option to PinEntry.
W. Trevor King [Sat, 24 Mar 2012 00:59:35 +0000 (20:59 -0400)]
Add override_ttyname option to PinEntry.

12 years agoIn make_request, AssuanClient has no attribute 'stop'.
W. Trevor King [Fri, 23 Mar 2012 01:40:00 +0000 (21:40 -0400)]
In make_request, AssuanClient has no attribute 'stop'.

12 years agoAssuanClient.make_request() now raises an error on 'ERR'.
W. Trevor King [Thu, 22 Mar 2012 20:54:15 +0000 (16:54 -0400)]
AssuanClient.make_request() now raises an error on 'ERR'.

That way you don't have to check yourself.

12 years agoLooks like gpg does the heavy lifting internally.
W. Trevor King [Thu, 22 Mar 2012 20:53:20 +0000 (16:53 -0400)]
Looks like gpg does the heavy lifting internally.

gpg-agent just handles passphrase entry and caching.

12 years agoAdd packaging (README and setup.py).
W. Trevor King [Thu, 22 Mar 2012 19:50:21 +0000 (15:50 -0400)]
Add packaging (README and setup.py).

12 years agoBreak pinentry.py out of my blog and use it to start pyassuan.
W. Trevor King [Thu, 22 Mar 2012 19:34:07 +0000 (15:34 -0400)]
Break pinentry.py out of my blog and use it to start pyassuan.

12 years agoAdd dummy --display argument to pinentry.py so it doesn't crash when called from X.
W. Trevor King [Wed, 7 Dec 2011 19:10:38 +0000 (14:10 -0500)]
Add dummy --display argument to pinentry.py so it doesn't crash when called from X.

12 years agoAdd version and log-level command line options to pinentry.py and log to syslog.
W. Trevor King [Fri, 2 Dec 2011 14:52:37 +0000 (09:52 -0500)]
Add version and log-level command line options to pinentry.py and log to syslog.

12 years agoAdd pinentry.py and mention it in gpg-agent post.
W. Trevor King [Fri, 2 Dec 2011 14:23:24 +0000 (09:23 -0500)]
Add pinentry.py and mention it in gpg-agent post.