mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-07 01:41:06 +03:00
update: get output bytes, not str, from keytool
This commit is contained in:
parent
4cb5ff0247
commit
24266d48e1
1 changed files with 7 additions and 7 deletions
|
@ -41,7 +41,7 @@ import logging
|
|||
|
||||
from . import common
|
||||
from . import metadata
|
||||
from .common import FDroidPopen, SdkToolsPopen
|
||||
from .common import FDroidPopen, FDroidPopenBytes, SdkToolsPopen
|
||||
from .metadata import MetaDataException
|
||||
|
||||
screen_densities = ['640', '480', '320', '240', '160', '120']
|
||||
|
@ -720,7 +720,7 @@ def extract_pubkey():
|
|||
if 'repo_pubkey' in config:
|
||||
pubkey = unhexlify(config['repo_pubkey'])
|
||||
else:
|
||||
p = FDroidPopen([config['keytool'], '-exportcert',
|
||||
p = FDroidPopenBytes([config['keytool'], '-exportcert',
|
||||
'-alias', config['repo_keyalias'],
|
||||
'-keystore', config['keystore'],
|
||||
'-storepass:file', config['keystorepassfile']]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue