Signing key to be be loaded from credentials (plugin default value is resolved too early?)
notes
I have tested moving credentials from project scope to global, didn't help with discovery.
It would be nice to be able prefix host gpg for example with organization key. I have 2 keys that I use for signing different projects, those projects that could have multiple maintainers signing, it would be nice to have for work code one public configuration and every member has own private credentials file. For now I can have this option and also fix bug by having this line in public configuration
steps
sbt-pgp version: 2.0.0 sbt version: 1.3.3
problem
Using credentials how it is show README.md will not work.
When documentation part was copied from jodersky/sbt-gpg, also changes should have been done to that.
In this plugin
gpg
has been changed topgp
https://github.com/sbt/sbt-pgp/blob/90465fcde014eb0688f0086fdec56db60ebfbfd6/sbt-pgp/src/main/scala/com/jsuereth/sbtpgp/PgpSettings.scala#L54
But changing this does not help, as this plugin is running that line before credential is added? I can see my key when running:
But can't see key when I run
I can use
usePgpKeyHex
method to add key, or add manually following lineBut that would be same if I would add key directly as
expectation
notes
organization
key. I have 2 keys that I use for signing different projects, those projects that could have multiple maintainers signing, it would be nice to have for work code one public configuration and every member has own private credentials file. For now I can have this option and also fix bug by having this line in public configuration