remove providerName from default smartcardoptions

apksigner doesn't recognize the SunPKCS11-OpenSC set via providerName
Neither jarsigner nor apksigner need this to work.
This commit is contained in:
Marcus Hoffmann 2020-09-09 18:57:34 +02:00
parent 768a91370c
commit 74af61f255
3 changed files with 35 additions and 14 deletions

View file

@ -194,7 +194,7 @@ def main():
common.write_to_config(test_config, 'repo_keyalias', '1') # seems to be the default
disable_in_config('keypass', 'never used with smartcard')
common.write_to_config(test_config, 'smartcardoptions',
('-storetype PKCS11 -providerName SunPKCS11-OpenSC '
('-storetype PKCS11 '
+ '-providerClass sun.security.pkcs11.SunPKCS11 '
+ '-providerArg opensc-fdroid.cfg'))
# find opensc-pkcs11.so