mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 07:22:29 +03:00
if using crypto smartcard, remind user to plug it in
This commit is contained in:
parent
a7d1d9a54d
commit
1ca7949bb1
1 changed files with 4 additions and 1 deletions
|
@ -645,7 +645,10 @@ def make_index(apps, apks, repodir, archive, categories):
|
|||
'-storepass:file', config['keystorepassfile']]
|
||||
+ config['smartcardoptions'])
|
||||
if p.returncode != 0:
|
||||
logging.critical("Failed to get repo pubkey")
|
||||
msg = "Failed to get repo pubkey!"
|
||||
if config['keystore'] == 'NONE':
|
||||
msg += ' Is your crypto smartcard plugged in?'
|
||||
logging.critical(msg)
|
||||
sys.exit(1)
|
||||
global repo_pubkey_fingerprint
|
||||
repo_pubkey_fingerprint = cert_fingerprint(p.stdout)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue