mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-08 18:31:07 +03:00
Merge branch 'p1' into 'master'
Fix pubkey extraction on update Replacement of !86. Fix pubkey extraction in case of non-empty _JAVA_OPTIONS. Fixes #133. I didn't actually run the test suite (it looks like there are some preparations to be done for that), but I checked the commands from `test_fdroid_popen_stderr_redirect` in ipython. See merge request !103
This commit is contained in:
commit
bf32477433
3 changed files with 25 additions and 3 deletions
|
@ -726,7 +726,8 @@ def extract_pubkey():
|
|||
'-alias', config['repo_keyalias'],
|
||||
'-keystore', config['keystore'],
|
||||
'-storepass:file', config['keystorepassfile']]
|
||||
+ config['smartcardoptions'], output=False)
|
||||
+ config['smartcardoptions'],
|
||||
output=False, stderr_to_stdout=False)
|
||||
if p.returncode != 0 or len(p.output) < 20:
|
||||
msg = "Failed to get repo pubkey!"
|
||||
if config['keystore'] == 'NONE':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue