Commit Graph

1223 Commits

Author SHA1 Message Date
James Morris
68f519f7a6 Merge pull request #330 from vollkorn1982/ecdh_in_docs
Reflect that PGPy supports ECDH in documentation
2020-09-25 13:42:27 -04:00
James Morris
4ffa3a8a21 Merge pull request #302 from tydeu/master
Fix the ordering of one-pass signatures
2020-09-24 17:57:30 -04:00
James Morris
3a1f7bf3db Merge branch 'master' into master 2020-09-24 17:38:54 -04:00
James Morris
1e90d70a5d Actually fix docs badge 2020-09-18 17:51:46 -04:00
James Morris
0b8821191b Changed docs badge 2020-09-18 17:48:59 -04:00
James Morris
1b2b52adfd More documentation fixups 2020-09-18 17:48:00 -04:00
James Morris
cf2c002e63 Added missing SignatureType.Casual_Cert to docs 2020-09-18 17:15:15 -04:00
James Morris
facff02d66 Updated README 2020-09-16 15:51:03 -04:00
James Morris
47fd021405 Merge branch 'documentation_cleanup' into master 2020-09-16 15:49:10 -04:00
James Morris
ecd28311aa Documented SignatureType enum 2020-09-16 15:30:43 -04:00
James Morris
9eb678749d Reworded note on Brainpool curves 2020-09-16 14:41:44 -04:00
James Morris
1a4f99bf43 Don't build individual example pages 2020-09-16 11:38:29 -04:00
James Morris
6ea41b6de4 Fixed display of HashAlgorithm api 2020-09-16 10:51:56 -04:00
James Morris
ab88e750cb ascii_header -> ascii_headers 2020-09-16 00:20:03 -04:00
James Morris
e73793a421 Added docstrings to constant enums 2020-09-15 23:54:00 -04:00
James Morris
f2dd02206e Tweaked docstring for PGPKey.encrypt() 2020-09-15 16:44:06 -04:00
James Morris
869554fab4 Clean up index.rst 2020-09-15 15:16:18 -04:00
James Morris
85e96e00ef Take TOC out of examples 2020-09-15 15:13:02 -04:00
James Morris
4e4c3f0f99 Silence autodoc errors 2020-09-15 15:00:22 -04:00
James Morris
4c2c599ccb Restructuring API docs 2020-09-15 13:57:29 -04:00
James Morris
8168f0bea6 Allow markup in progress descriptions to be interpreted 2020-09-15 12:16:20 -04:00
James Morris
41d25b74a0 Fix footnote syntax in progress.rst 2020-09-15 12:09:52 -04:00
James Morris
5e04701c94 Fix subkey example 2020-09-14 13:14:02 -04:00
James Morris
1a665dd6b5 Set Sphinx version in requirements-rtd.txt 2020-09-10 16:52:23 -04:00
James Morris
6e77edee8c Merge pull request #342 from mgorny/dashescape
Fix dash un-escaping to be applied unconditionally
2020-09-08 16:33:01 -04:00
Michał Górny
59c4050088 Fix dash escaping to be applied unconditionally
According to RFC 4880, 'an implementation MAY dash-escape any line,
SHOULD dash-escape lines commencing "From" followed by a space [...]'.
Therefore it is necessary to unescape all lines starting with dash-space
sequences, and not just these that have a dash following this sequence.

Fixes #341

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2020-09-08 19:37:37 +02:00
James Morris
40ac51feb9 Merge pull request #315 from dkg/fix-no-selfsig
fix crashes when a PGPUID object lacks a selfsig
2020-09-01 17:11:55 -04:00
James Morris
5a698522b1 Updated requirements.txt 2020-09-01 11:21:30 -04:00
Daniel Kahn Gillmor
9cd282479a PGPUID objects should be comparable when no selfsig exists.
In some cases, no selfsig will exist for PGPUID.  In the event that a
selfsig-less PGPUIDs is compared with one that has a selfsig, the
missing selfsig should be "less than" the other.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2020-08-31 19:09:12 -04:00
Daniel Kahn Gillmor
35a13a1ea7 PGPUID.is_primary should be False if no selfsig can be found
In some circumstances, no selfsig will be available.  This change
ensures that is_primary doesn't raise an exception in those
circumstances.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2020-08-31 19:09:12 -04:00
James Morris
8e1407de54 Added some more package metadata, bumped version in preparation of new release, tweaked setup.py 2020-07-28 14:26:31 -04:00
James Morris
a6a36b9ff8 Merge pull request #308 from KOLANICH/setup.cfg
Moved the metadata from setup.py to setup.cfg
2020-07-28 11:38:35 -04:00
Jan Girlich
08bdb00471 Reflect in the documentation that PGPy also supports encryption/decryption with ECDH 2020-07-27 19:29:21 +02:00
KOLANICH
eed3884e70 Moved the metadata from setup.py to setup.cfg 2020-07-24 18:12:29 +03:00
James Morris
35b37f7fbc Merge pull request #307 from KOLANICH/editorconfig
Added .editorconfig
2020-07-22 10:35:08 -04:00
KOLANICH
522f973e4e Added .editorconfig 2020-07-21 16:52:57 +03:00
Karthikeyan Singaravelan
aa54624c5a Import ABC from collections.abc 2020-07-19 17:15:22 +00:00
James Morris
04edd06b0c Merge pull request #326 from SecurityInnovation/more_test_fixes
Update and fix tests
2020-07-17 15:38:10 -04:00
James Morris
0b7bf249b6 Pin PyYAML only for Python 3.4 2020-07-17 14:55:32 -04:00
James Morris
f20b46232d Try using gpg==1.10.0 for tests 2020-07-17 14:13:56 -04:00
James Morris
7f2a951b5a Removed obsolete 'sudo' key and renamed 'matrix' to 'jobs' 2020-07-16 16:57:56 -04:00
James Morris
40c5642eb2 Hide OSX tests until travis decides to support Python on OSX 2020-07-16 16:54:11 -04:00
James Morris
0c27e02cea Make sure apt-get is always called with '-y' 2020-07-16 16:53:12 -04:00
James Morris
feabf6c2fd Fixed import try/except in tests so that pypy doesn't immediately choke 2020-07-16 16:37:46 -04:00
James Morris
9440ed0b62 Corrected python version for pep8 test 2020-07-16 12:29:28 -04:00
James Morris
7d6119ceed Pin PyYAML so Python 3.4 tests will pass 2020-07-13 14:06:22 -04:00
James Morris
4ea9d0f654 Merge pull request #324 from MatthewWesley/patch-1
Fix comment to align with example
2020-07-13 13:03:34 -04:00
Matthew Wesley
d39ff814ab Fix comment to align with example
The example code sets the key to expire in one year using timedelta(days=365), although the leading comment implies it will be set to ten years.
2020-06-26 14:57:40 -06:00
Mac Malone
26f5b358ee Added one-pass signature order regression test 2019-12-02 16:45:17 -05:00
Mac Malone
c885f7c4f7 Fixed the ordering of OnePassSignatures 2019-11-03 20:22:37 -05:00