Ansgar
|
26ec8d7fe4
add more type annotations
|
1 rok temu |
Ansgar
|
0b2d4b9420
also convert `SignedFile.contents_sha1` into a property
|
1 rok temu |
Ansgar
|
907e731621
covert most docstrings to Sphinx syntax
|
1 rok temu |
Ansgar
|
0f8f1fbd3e
add more type annotations
|
1 rok temu |
Ansgar
|
076aedaf31
sign: allow to specify digest algorithm
|
2 lat temu |
Ansgar
|
58c9ec6cb8
sign: handle str/bytes as input as well; return signature if no output file is given
|
2 lat temu |
Ansgar
|
b818ce3305
gpg.py: exit with status code `3` when failing to exec gpg
|
2 lat temu |
Ansgar
|
d438328783
gpg.py: allow exit code 2
|
2 lat temu |
Ansgar
|
a97ee22edc
gpg.py: assert that wait4() waited for the expected pid
|
2 lat temu |
Ansgar
|
4b99013911
gpg.py: convert waitstatus to exitcode before use
|
2 lat temu |
Ansgar
|
d517ab9964
gpg.py: fail early if gpg indicated a fatal error
|
2 lat temu |
Ansgar
|
22f60fb520
gpg.py: write error message when failing to exec gpg
|
2 lat temu |
Ansgar
|
f74dfe7d13
gpg.py: exit with status code `2` when failing to exec gpg
|
2 lat temu |
Ansgar
|
5103a9659e
do not explicitly inherit from `object` in class definitions
|
3 lat temu |
Ansgar
|
cdac1fae3c
use standard "subprocess" module from Python
|
4 lat temu |
Ivo De Decker
|
a5ce838672
replace long() with int()
|
4 lat temu |
Ansgar Burchardt
|
b148988f65
daklib.gpg: store fingerprints as `str`
|
5 lat temu |
Matthias Klumpp
|
e577c8092d
gpg: Ignore VERIFICATION_COMPLIANCE_MODE
|
5 lat temu |
Niels Thykier
|
fd12e79441
SignedFile: Assumes bytes as input and produces bytes output
|
5 lat temu |
Niels Thykier
|
d9a42ea818
Fix hang in SignedFile._verify when run under python3
|
5 lat temu |
Niels Thykier
|
8b798efae0
daklib/gpg.py: Rewrite few statements to reduce the python3 delta
|
5 lat temu |
Bastian Blank
|
3797103cab
Fix E221: Multiple spaces before operator
|
6 lat temu |
Bastian Blank
|
d12d198ba7
Fix E202: Whitespace before ')'
|
6 lat temu |
Bastian Blank
|
681c3f4b26
Fix E201: Whitespace after '('
|
6 lat temu |
Bastian Blank
|
32343595ab
Fix E302: Expected 2 blank lines, found 0
|
6 lat temu |
Bastian Blank
|
2dfe976768
Fix E301: Expected 1 blank line, found 0
|
6 lat temu |
Chris Lamb
|
9b5f5b99a9
Consistently use four-spaces for indentation.
|
6 lat temu |
Chris Lamb
|
74f1635e0e
Drop unused imports.
|
6 lat temu |
Ansgar Burchardt
|
3cf3633478
gpg.py: avoid unneeded string formatting operation
|
6 lat temu |
Ansgar Burchardt
|
d47b40b18d
factor out code to invoke gpg to sign a file
|
6 lat temu |