google-nomulus/java/google/registry/keyring/api
Hans Ridder c4f1be4baa Partially fix errors when using DummyKeyringModule
This fixes a few problems encountered when building and running according to the Install Guide using the DummyKeyring. It's still failing when trying to parse the JSON credential, which I haven't solved, but before proceeding I wanted to get agreement that it needs to be fixed at all since the best we could do is provide a valid format (as with the PGP keyrings), but the metrics logging will still fail for a different reason (i.e. the credential will not work for the GC project).

Things fixed in this PR:

Fix format string causing MissingFormatArgumentException in FrontendServlet
when keyring fails to load.
Include exception cause in VerifyException in PgpHelper.
Replace dummy PGP keyrings with ones without a password, as code expects.
Document how the PGP keyrings are created.
P.S. I see a tab character snuck into PgpHelper. I'll fix that if you're interested in this PR.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=188342973
2018-03-08 14:48:49 -05:00
..
BUILD Apply ComparatorGenerator to Keyring 2017-03-21 15:15:31 -04:00
ComparatorKeyring.java Rationalize logging statements across codebase 2018-01-19 14:56:45 -05:00
DummyKeyringModule.java Partially fix errors when using DummyKeyringModule 2018-03-08 14:48:49 -05:00
InMemoryKeyring.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
KeyModule.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
Keyring.java Javadoc fix 2017-02-02 16:55:51 -05:00
KeyringException.java Add Cloud KMS based secret storage 2017-02-17 12:22:12 -05:00
KeySerializer.java Refactor KmsKeyring and KmsUpdater to use a centralized serializer 2017-04-05 10:09:06 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
pgp-private-keyring.asc Partially fix errors when using DummyKeyringModule 2018-03-08 14:48:49 -05:00
pgp-public-keyring.asc Partially fix errors when using DummyKeyringModule 2018-03-08 14:48:49 -05:00
PgpHelper.java Partially fix errors when using DummyKeyringModule 2018-03-08 14:48:49 -05:00