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

Tom White commented on WHIRR-160:
---------------------------------

> Should I define multiple types of exceptions derived from 
> ConfigurationException class, one for each error case?

I wouldn't bother since I'm not sure whether clients can handle different cases 
differently. We can add that specialization later if it's needed.

> Improve SSH key diagnostics
> ---------------------------
>
>                 Key: WHIRR-160
>                 URL: https://issues.apache.org/jira/browse/WHIRR-160
>             Project: Whirr
>          Issue Type: Improvement
>          Components: core
>            Reporter: Tom White
>            Assignee: Andrei Savu
>             Fix For: 0.3.0
>
>         Attachments: WHIRR-160.patch
>
>
> This would reduce the number of support issues that trip up users.
> We already check that the private and public keys both exist (but I don't 
> think we have a unit test for that).
> In addition, we should
> * Check that the private key is passwordless (see how at 
> http://incubator.apache.org/whirr/faq.html#Can_I_specify_my_own_private_key).
> * Check that the private and public keys belong to the same pair (via, e.g. 
> http://s.apache.org/MNY).

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