[ 
https://issues.apache.org/jira/browse/WHIRR-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971773#action_12971773
 ] 

Tom White commented on WHIRR-161:
---------------------------------

I had a quick look at this too and realized it was non-trivial! The 
[OpenSAML|http://svn.middleware.georgetown.edu/view/java-xmltooling/branches/REL_1/src/main/java/org/opensaml/xml/security/SecurityHelper.java?revision=701&view=markup]
 code has precisely the right function, but I hesitate to add a big dependency 
like this.

In fact, the problem we saw was that the public key didn't match because a user 
had changed whirr.private-key-file but not whirr.public-key-file. With the 
change in WHIRR-160 which makes the public key default to private key + ".pub" 
(rather than {{${sys:user.home}/.ssh/id_rsa_rackspace.pub}}), perhaps this 
isn't such a problem now?

> 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
>
>
> 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.

Reply via email to