Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mattia Rizzolo
nm.debian.org
Commits
c6516688
Verified
Commit
c6516688
authored
Aug 25, 2018
by
Mattia Rizzolo
Browse files
Log the whole gpg output when parsing --check-sigs fails
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
parent
f1c9a06f
Pipeline
#17426
passed with stage
in 4 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
keyring/models.py
View file @
c6516688
...
...
@@ -262,7 +262,11 @@ class Key(models.Model):
self
.
update_check_sigs
()
# Check the key data and signatures
keys
=
KeyData
.
read_from_gpg
(
self
.
check_sigs
.
splitlines
())
try
:
keys
=
KeyData
.
read_from_gpg
(
self
.
check_sigs
.
splitlines
())
except
Exception
as
e
:
log
.
critical
(
"Couldn't parse gpg output: [%s]"
,
self
.
check_sigs
)
raise
e
# There should only be keycheck data for the fingerprint we gave gpg
keydata
=
keys
.
get
(
self
.
fpr
,
None
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment