fix: eradicate spaces from pgp key fingerprint input

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-02-05 02:06:02 -08:00
parent ac68f74c69
commit f3360d1249
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
2 changed files with 5 additions and 2 deletions

View file

@ -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.