mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
update: make --create-key work with a HSM
This commit is contained in:
parent
004d13a48a
commit
a8e9653b96
3 changed files with 24 additions and 14 deletions
|
|
@ -2323,7 +2323,7 @@ def main():
|
|||
if 'keystorepass' not in config:
|
||||
config['keystorepass'] = password
|
||||
common.write_to_config(config, 'keystorepass', config['keystorepass'])
|
||||
if 'keypass' not in config:
|
||||
if 'keypass' not in config and not config['keystore'] == "NONE":
|
||||
config['keypass'] = password
|
||||
common.write_to_config(config, 'keypass', config['keypass'])
|
||||
common.genkeystore(config)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue