Ansgar
|
cdac1fae3c
use standard "subprocess" module from Python
|
4 years ago |
Ivo De Decker
|
a5ce838672
replace long() with int()
|
4 years ago |
Ansgar Burchardt
|
b148988f65
daklib.gpg: store fingerprints as `str`
|
5 years ago |
Matthias Klumpp
|
e577c8092d
gpg: Ignore VERIFICATION_COMPLIANCE_MODE
|
5 years ago |
Niels Thykier
|
fd12e79441
SignedFile: Assumes bytes as input and produces bytes output
|
5 years ago |
Niels Thykier
|
d9a42ea818
Fix hang in SignedFile._verify when run under python3
|
5 years ago |
Niels Thykier
|
8b798efae0
daklib/gpg.py: Rewrite few statements to reduce the python3 delta
|
5 years ago |
Bastian Blank
|
3797103cab
Fix E221: Multiple spaces before operator
|
6 years ago |
Bastian Blank
|
d12d198ba7
Fix E202: Whitespace before ')'
|
6 years ago |
Bastian Blank
|
681c3f4b26
Fix E201: Whitespace after '('
|
6 years ago |
Bastian Blank
|
32343595ab
Fix E302: Expected 2 blank lines, found 0
|
6 years ago |
Bastian Blank
|
2dfe976768
Fix E301: Expected 1 blank line, found 0
|
6 years ago |
Chris Lamb
|
9b5f5b99a9
Consistently use four-spaces for indentation.
|
6 years ago |
Chris Lamb
|
74f1635e0e
Drop unused imports.
|
6 years ago |
Ansgar Burchardt
|
3cf3633478
gpg.py: avoid unneeded string formatting operation
|
6 years ago |
Ansgar Burchardt
|
d47b40b18d
factor out code to invoke gpg to sign a file
|
6 years ago |
Ansgar Burchardt
|
7d84e77340
gpg.py: also ignore `NOTATION_FLAGS`
|
7 years ago |
Ansgar Burchardt
|
63ed4d6afd
Mark signatures using SHA-1 or RIPE-MD/160 as "weak"
|
8 years ago |
Ansgar Burchardt
|
893ac6c3d4
Ignore a few more keywords emitted by newer versions of GnuPG
|
8 years ago |
Ansgar Burchardt
|
65695c362e
Do not consider MD5-based signatures valid
|
9 years ago |
Ansgar Burchardt
|
e2d9d72396
Fix typo.
|
9 years ago |
Ansgar Burchardt
|
4c4d817b9e
SignedFile: allow multiple signatures
|
9 years ago |
Ansgar Burchardt
|
da8bb650b6
daklib/gpg.py: Ignore POLICY_URL keyword.
|
10 years ago |
Ansgar Burchardt
|
6f51928b95
daklib/gpg.py: Ignore SIGEXPIRED and KEYEXPIRED
|
10 years ago |
Ansgar Burchardt
|
35324ec4a9
daklib/gpg.py: Ignore NOTATION_{NAME,DATA} keywords.
|
10 years ago |
Ansgar Burchardt
|
543d6b6b93
daklib/gpg.py: Also handle SIGEXPIRED keyword.
|
10 years ago |
Ansgar Burchardt
|
ca33f78389
daklib/gpg.py: Handle a few more keywords for invalid or and expired signatures.
|
10 years ago |
Ansgar Burchardt
|
57470d3ae2
daklib/gpg.py: Use timestamp instead of just date.
|
10 years ago |
Ansgar Burchardt
|
fff9d5d791
daklib/gpg.py: Raise an error if we see unexpected output from gpg.
|
10 years ago |
Ansgar Burchardt
|
cfb8506cad
daklib/gpg.py: Pass a few more options to gpg.
|
10 years ago |