Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: newly added EDDSA cause exception #721

Closed
yuriyz opened this issue Jan 27, 2022 · 2 comments
Closed

BUG: newly added EDDSA cause exception #721

yuriyz opened this issue Jan 27, 2022 · 2 comments
Assignees
Labels
comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality

Comments

@yuriyz
Copy link
Contributor

yuriyz commented Jan 27, 2022

Describe the bug

2022-01-27 13:38:04,822 ERROR [main]  [jans.as.server.model.config.ConfigurationFactory] (ConfigurationFactory.java:458) - Failed to convert json value '%d [%thread] %-5level %logger - %msg%n java.lang.IllegalArgumentException: Unknown signature type requested: EDDSA
    at org.bouncycastle.operator.DefaultSignatureAlgorithmIdentifierFinder.generate(Unknown Source) ~[jans-auth-client-jar-with-dependencies.jar:?]
    at org.bouncycastle.operator.DefaultSignatureAlgorithmIdentifierFinder.find(Unknown Source) ~[jans-auth-client-jar-with-dependencies.jar:?]
    at org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.<init>(Unknown Source) ~[jans-auth-client-jar-with-dependencies.jar:?]
    at io.jans.as.model.crypto.AuthCryptoProvider.generateV3Certificate(AuthCryptoProvider.java:393) ~[jans-auth-client-jar-with-dependencies.jar:?]
    at io.jans.as.model.crypto.AuthCryptoProvider.getJson(AuthCryptoProvider.java:517) ~[jans-auth-client-jar-with-dependencies.jar:?]
    at io.jans.as.model.crypto.AuthCryptoProvider.generateKeySignature(AuthCryptoProvider.java:473) ~[jans-auth-client-jar-with-dependencies.jar:?]
    at io.jans.as.model.crypto.AuthCryptoProvider.generateKey(AuthCryptoProvider.java:173) ~[jans-auth-client-jar-with-dependencies.jar:?]
    at io.jans.as.client.util.KeyGenerator$Cli.generateKeys(KeyGenerator.java:207) ~[jans-auth-client-jar-with-dependencies.jar:?]
    at io.jans.as.client.util.KeyGenerator$Cli.parse(KeyGenerator.java:178) [jans-auth-client-jar-with-dependencies.jar:?]
    at io.jans.as.client.util.KeyGenerator.main(KeyGenerator.java:89) [jans-auth-client-jar-with-dependencies.jar:?]
usage: KeyGenerator -sig_keys alg ... -enc_keys alg ... -expiration n_days
@yuriyz yuriyz added kind-bug Issue or PR is a bug in existing functionality comp-jans-auth-server Component affected by issue or PR labels Jan 27, 2022
@yuriyz
Copy link
Contributor Author

yuriyz commented Jan 27, 2022

#670

smansoft added a commit that referenced this issue Jan 28, 2022
yuriyz pushed a commit that referenced this issue Jan 28, 2022
* fix: newly added eddsa cause exception; #721;

* fix: eddsa has been removed; #721;
@yuriyz
Copy link
Contributor Author

yuriyz commented Jan 28, 2022

Fixed in #727

@yuriyz yuriyz closed this as completed Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants