Commit Graph

66 Commits (master)

Author SHA1 Message Date
Roman Zeyde eed168341c
Don't inheric from 'object' (after deprecating Python 2.x support) 6 years ago
Roman Zeyde 4968ca7ff3
Merge branch 'master' into neopg-wip 6 years ago
Roman Zeyde 36cbba6c57
Fix a few lint issues 6 years ago
Roman Zeyde 6afe20350b
Simplify GPG command generation 6 years ago
Roman Zeyde f0bda9a3e6
Allow using $PATH when looking for GPG binary
It's needed for running neopg (instead of gnupg).
6 years ago
Roman Zeyde 3b9c00e02a
Default to $GNUPGHOME when not specified on commandline 6 years ago
Roman Zeyde dcee59a19e
Assume NeoPG binary runs GnuPG functionality 6 years ago
Roman Zeyde a274de30b8
Parse NeoPG development versions
e.g. v0.0.5-37-g1fe5046-dirty
6 years ago
Roman Zeyde 4fe9e437ad
Simplify GPG homedir setting 6 years ago
Roman Zeyde d04527a8ed
Replace GPG version assertion by an error log
since NeoPG uses different versioning
6 years ago
Roman Zeyde 3329c29cb4
Use gpg_command() for identity generation 6 years ago
Roman Zeyde df2cb52f8d
fixup! Reply with an ERR to `SCD SERIALNO openpgp` ASSUAN command 6 years ago
Roman Zeyde f36ef4ffe0
Allow running NeoPG binary (instead of GnuPG) 6 years ago
Roman Zeyde f74de828fc
Reply with an ERR to `SCD SERIALNO openpgp` ASSUAN command
(for NeoPG)
6 years ago
Roman Zeyde 912b1cde7a
Add support for file-descriptor-based socket server
(for NeoPG)
6 years ago
Roman Zeyde 1e6c4e6930
Add links to SSH/GPG usage examples 6 years ago
Roman Zeyde 3d1639d271
gpg: require symmetric passphrase re-entry 6 years ago
Roman Zeyde bea899d1ef
gpg: allow symmetric encryption with a passphrase 6 years ago
Roman Zeyde ccc2174775
gpg: allow more verbose output during GnuPG pubkey import 6 years ago
Roman Zeyde afa3fdb89c
gpg: allow setting passphrase cache expriration duration 6 years ago
Roman Zeyde b1bd6cb690
gpg: refactor GETINFO handling into a separate method 6 years ago
Roman Zeyde bc691ae795
gpg: fix method's caching 6 years ago
Roman Zeyde 2e0cfc8088
gpg: fail if new identity is missing 6 years ago
Roman Zeyde 5dba12f144
gpg: don't clear options on RESET assuan command 6 years ago
Roman Zeyde 0699273d49
util: move ASSUAN serialization to break circular import 6 years ago
Roman Zeyde d0497b0137
pinentry: specify device name at PIN/passphrase entry UI 6 years ago
Roman Zeyde 870152a7af
gpg: allow specifying custom homedir during init 6 years ago
Roman Zeyde 0c9fc33757
gpg: replace gpg-agent.conf by run-agent.sh 6 years ago
Roman Zeyde 17ea941add
gpg: use pinentry UI for initialization and agent 6 years ago
Roman Zeyde 04627f0899
gpg: collect OPTIONs from agent 6 years ago
Roman Zeyde 4a9140c42d
Merge branch 'serge' 6 years ago
Roman Zeyde 199fb299c3
gpg: use 'sys.exit' and log homedir 6 years ago
Roman Zeyde 34ea224290
gpg: the scripts should be only user-readable 6 years ago
Serge Pokhodyaev a32bfc749b don't overwrite homedir 6 years ago
Roman Zeyde bf294beb56
gpg: decode stdout as UTF-8 6 years ago
Roman Zeyde eb60c2f475
fix more pylint issues 6 years ago
Roman Zeyde 6d8d43db9b
fix pylint issues 6 years ago
Roman Zeyde 3e67bc9f0e
gpg: log GnuPG commands' output 6 years ago
Roman Zeyde 385fc9457b
Support multiple devices 6 years ago
Jonathan Roelofs 9cf73f677a Show libagent version too 6 years ago
Jonathan Roelofs ec97cd0c44 Implement #182 6 years ago
Jonathan Roelofs 4cd7dc02eb Fix an argparse nuance
https://bugs.python.org/issue16308
6 years ago
Roman Zeyde 40469c4100
tox: pep8 -> pycodestyle 7 years ago
Roman Zeyde a1ecbf447e
gpg: return correct keygrip for KEYINFO assuan command 7 years ago
Roman Zeyde 1f9d457e92
gpg: no need to remove the UNIX socket
Our agent should be invoked and re-used when running 'gpg --import'.
7 years ago
Roman Zeyde 4926d4f4d3
gpg: set PATH explicitly for $DEVICE-gpg-agent 7 years ago
Roman Zeyde d52f295326
gpg: use shutil.which() for Python 3 7 years ago
Roman Zeyde 9530c4d7db
gpg: use gpgconf for getting gpg binary path 7 years ago
Roman Zeyde bab46dae5c
gpg-agent: use correct GNUPGHOME when getting public keys 7 years ago
Roman Zeyde e2625cc521
gpg: fail if no public keys are found 7 years ago