[
https://issues.apache.org/jira/browse/WHIRR-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972042#action_12972042
]
Andrei Savu commented on WHIRR-161:
-----------------------------------
I've attached a patch that checks that both keys belong to the same key pair.
I have edited {{core/pom.xml}} and added {{not-yet-commons-ssl.jar}} as a
dependency.
It should be safe to use from a license point of view:
[1] http://juliusdavies.ca/commons-ssl/index.html
[2] http://wiki.apache.org/incubator/CommonsSSLProposal
I have also used a class placed in the public domain for Base64 encoding:
[3] http://iharder.sourceforge.net/current/java/base64/
> Check that both SSH keys belong to the same pair
> ------------------------------------------------
>
> Key: WHIRR-161
> URL: https://issues.apache.org/jira/browse/WHIRR-161
> Project: Whirr
> Issue Type: Improvement
> Components: core
> Reporter: Andrei Savu
> Assignee: Andrei Savu
> Fix For: 0.3.0
>
> Attachments: WHIRR-161.patch
>
>
> Check that the private and public keys belong to the same pair (via, e.g.
> http://s.apache.org/MNY or by en/decrypting a dummy message).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.