fix keytool not working with default smartcardoptions

This broke in 74af61f255.
Keytool has still a different opinion from both apksigner and jarsigner
about the providerName argument. apksigner doesn't support it at all,
jarsigner ignores it but keytool fails without it. :-/

So we add it back to the default argument list but filter it out before
calling apksigner.
This commit is contained in:
Marcus Hoffmann 2020-10-07 16:02:08 +02:00
parent 9c852d4e8d
commit 0d5fde334d
2 changed files with 11 additions and 4 deletions

View file

@ -131,7 +131,7 @@ The repository of older versions of applications from the main demo repository.
# You should not need to change these at all, unless you have a very
# customized setup for using smartcards in Java with keytool/jarsigner
# smartcardoptions = "-storetype PKCS11 \
# smartcardoptions = "-storetype PKCS11 -providerName SunPKCS11-OpenSC \
# -providerClass sun.security.pkcs11.SunPKCS11 \
# -providerArg opensc-fdroid.cfg"