error: cannot determine module name for ... asn-one-0.5.0.jar

It appears that dashes in module names are invalid, and my compiler is complaining with error: cannot determine module name for ... asn-one-0.5.0.jar

I'm going to repack the jar with the module name updated in the MANIFEST, but wanted to raise here as it'll be affecting other people where this jar is transitively imported.

Simplest way to show the root fault:

jar --describe-module --file asn-one-0.5.0.jar
Unable to derive module descriptor for: asn-one-0.5.0.jar
Automatic-Module-Name: com.hierynomus.asn-one: Invalid module name: 'asn-one' is not a Java identifier