Skip to content

KARAF-6350 - Add support for elliptic keys in the PublicKeyLoginModule#896

Merged
jbonofre merged 1 commit intoapache:masterfrom
coheigea:publickey_jaas
Jul 2, 2019
Merged

KARAF-6350 - Add support for elliptic keys in the PublicKeyLoginModule#896
jbonofre merged 1 commit intoapache:masterfrom
coheigea:publickey_jaas

Conversation

@coheigea
Copy link
Contributor

@coheigea coheigea commented Jul 1, 2019

This involves flipping the logic in PublicKeyLoginModule. Instead of converting the client key to a String + comparing it to the String in keys.properties, it takes the String in keys.properties and converts it into a Public Key. It's easier doing this for elliptic curve keys, as the encoding rules are pretty complex. I also added a bunch of tests.

@jbonofre jbonofre self-requested a review July 2, 2019 05:44
Copy link
Member

@jbonofre jbonofre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please change the commit message using "[KARAF-xxx] ..." ? Thanks !

@coheigea
Copy link
Contributor Author

coheigea commented Jul 2, 2019

@jbonofre Done

Copy link
Member

@jbonofre jbonofre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks ! Waiting Jenkins before merging.

@jbonofre
Copy link
Member

jbonofre commented Jul 2, 2019

retest this please

@jbonofre jbonofre merged commit 30ecdf8 into apache:master Jul 2, 2019
@coheigea coheigea deleted the publickey_jaas branch July 3, 2019 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants