Sign plugin does not accept long key IDs


(Ben Ripkens) #1

The sign plugin will fail for long key IDs (16 character IDs). You have to fall back to the less accurate 8 character IDs to be on the save side.

Error:

‘’’ 16:09:45.666 [ERROR] [org.gradle.BuildExceptionReporter] java.lang.IllegalStateException: The key ID must be in a valid form (eg 00B5050F or 0x00B5050F), given value: 0x94D00369BB8CBAF4 16:09:45.667 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.plugins.signing.signatory.pgp.PgpKeyId.toLong(PgpKeyId.groovy:71) 16:09:45.669 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.plugins.signing.signatory.pgp.PgpKeyId.(PgpKeyId.groovy:43) ‘’’


(robert schaefer) #2

I was able to duplicate this error only to later discover a space character at the end of the keyid. I removed the space and the error went away.