Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362436 - signer doesn't work but shows Usage message
Summary: signer doesn't work but shows Usage message
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Servers (show other bugs)
Version: unspecified   Edit
Hardware: Other Linux
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-30 14:25 EDT by Stephan Herrmann CLA
Modified: 2011-10-30 22:28 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2011-10-30 14:25:05 EDT
The signer currently performs a zero-operation, i.e., files in the queue
are being processed but no signing happens.

The log file says:
Extracting plugins/org.eclipse.objectteams.runtime_2.1.0.201109201811.jar
Running Repack Sign on /opt/public/download-staging.priv/tools/objectteams/out/temp_otdt.zip/plugins
/org.eclipse.objectteams.runtime_2.1.0.201109201811.jar
2011-10-30 14:13:01: build SIGNER(27483): asked to sign /opt/public/download-staging.priv/tools/objectteams/out/temp_otdt.zip/org.eclipse.objectteams.runtime_2.1.0.201109201811.jar
2011-10-30 14:13:01 build SIGNER(27483): Signing JAR file /opt/public/download-staging.priv/tools/objectteams/out/temp_otdt.zip/org.eclipse.objectteams.runtime_2.1.0.201109201811.jar
Usage: jarsigner [options] jar-file alias
       jarsigner -verify [options] jar-file

[-keystore <url>]           keystore location

[-storepass <password>]     password for keystore integrity

[-storetype <type>]         keystore type

[-keypass <password>]       password for private key (if different)

[-sigfile <file>]           name of .SF/.DSA file

[-signedjar <file>]         name of signed JAR file

[-digestalg <algorithm>]    name of digest algorithm

[-sigalg <algorithm>]       name of signature algorithm

[-verify]                   verify a signed JAR file

[-verbose]                  verbose output when signing/verifying

[-certs]                    display certificates when verbose and verifying

[-tsa <url>]                location of the Timestamping Authority

[-tsacert <alias>]          public key certificate for Timestamping Authority

[-altsigner <class>]        class name of an alternative signing mechanism

[-altsignerpath <pathlist>] location of an alternative signing mechanism

[-internalsf]               include the .SF file inside the signature block

[-sectionsonly]             don't compute hash of entire manifest

[-protected]                keystore has protected authentication path

[-providerName <name>]      provider name

[-providerClass <class>     name of cryptographic service provider's

[-providerArg <arg>]] ... master class file and constructor argument

2011-10-30 14:13:01: build SIGNER(27483): Finished signing /opt/public/download-staging.priv/tools/objectteams/out/temp_otdt.zip/org.eclipse.objectteams.runtime_2.1.0.201109201811.jar
Adding plugins/org.eclipse.objectteams.runtime_2.1.0.201109201811.jar to /opt/public/download-staging.priv/tools/objectteams/out/otdt.zip.temp
Comment 1 David Williams CLA 2011-10-30 21:04:42 EDT
I've reproduced this, tried with just a single jar. I think this is better categorized as "blocking". One danger is that projects may think their jars are signed, published them unsigned, and then be "messed up" in future, even after signing works, since there might be jars with same version/qualifier some signed, some unsigned (so, the project would have to retag everything to make sure there is a new, distinct version of the jar.
Comment 2 Denis Roy CLA 2011-10-30 21:09:41 EDT
genie was no longer part of callisto-dev (from bug 357905 comment 4).  She needs to be there, so I've re-added her.  Signing should now work -- please confirm.

Genie is mad, though.  Really mad.
Comment 3 Denis Roy CLA 2011-10-30 21:16:34 EDT
nscd was caching the fact that she is not in the group, so I just flushed with nscd -i group.  She's there now.
Comment 4 David Williams CLA 2011-10-30 22:28:44 EDT
works now. 

Who would have though genie had to be in callisto-dev :)