Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"jarutil v" expects the "key alias" prepended with extension ".SF" #30

Open
KonstantinShemyak opened this issue Mar 13, 2018 · 0 comments

Comments

@KonstantinShemyak
Copy link
Owner

cert-check@$ jarutil s data.jar no-dig-sig-cert.pem no-dig-sig-key.pem TEST
cert-check@$ jarutil v data.jar no-dig-sig-cert.pem TEST
No .SF file in data.jar named META-INF/TEST
cert-check@$ unzip -l data.jar 
Archive:  data.jar
  Length      Date    Time    Name
---------  ---------- -----   ----
      153  2018-03-13 21:25   META-INF/MANIFEST.MF
      271  2018-03-13 21:25   META-INF/TEST.SF
     1288  2018-03-13 21:25   META-INF/TEST.RSA
        0  2018-03-13 21:25   META-INF/
      333  2018-03-13 21:25   progress.txt
---------                     -------
     2045                     5 files
cert-check@$ jarutil v data.jar no-dig-sig-cert.pem TEST.SF
Jar verified.

jarsigner requires just the "key alias", as in the first command. Probably jarutil should do the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant