mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: eradicate spaces from pgp key fingerprint input
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
ac68f74c69
commit
f3360d1249
2 changed files with 5 additions and 2 deletions
|
@ -71,7 +71,6 @@ def valid_password(password):
|
|||
|
||||
|
||||
def valid_pgp_fingerprint(fp):
|
||||
fp = fp.replace(" ", "")
|
||||
try:
|
||||
# Attempt to convert the fingerprint to an int via base16.
|
||||
# If it can't, it's not a hex string.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue