mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-09 02:41:06 +03:00
fix genkey key listing in fdroid init
FDroidPopen() does not have a way to send to stdin, so we will use the password file for now. In the long run, at least the keypass should always be sent via stdin rather than via a file. Ideally, storepass would be too, but if they are different, then storepass is less important.
This commit is contained in:
parent
ed3bd25bb5
commit
e53092cffa
3 changed files with 6 additions and 2 deletions
|
@ -800,6 +800,7 @@ def make_index(apps, apks, repodir, archive, categories):
|
|||
'-keypass:file', config['keypassfile'],
|
||||
'-digestalg', 'SHA1', '-sigalg', 'MD5withRSA',
|
||||
os.path.join(repodir, 'index.jar') , config['repo_keyalias']])
|
||||
# TODO keypass should be sent via stdin
|
||||
if p.returncode != 0:
|
||||
logging.info("Failed to sign index")
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue