verify
This commit is contained in:
parent
e0bfb62203
commit
ed180e0e37
1 changed files with 3 additions and 2 deletions
|
@ -85,8 +85,9 @@ def build(directory, sign):
|
||||||
os.path.join(directory, f),
|
os.path.join(directory, f),
|
||||||
)
|
)
|
||||||
# verify the document signature
|
# verify the document signature
|
||||||
lines = errun(['gpg',
|
lines = errun(['gpg', '--verify',
|
||||||
'--verify', signature, pdf,
|
os.path.join(directory, signature),
|
||||||
|
os.path.join(directory, pdf),
|
||||||
]).decode('u8').splitlines()
|
]).decode('u8').splitlines()
|
||||||
id = lines[2].index('"')
|
id = lines[2].index('"')
|
||||||
lines = [
|
lines = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue