[ https://issues.apache.org/jira/browse/CLOUDSTACK-8727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699089#comment-14699089 ]
ASF GitHub Bot commented on CLOUDSTACK-8727: -------------------------------------------- Github user kansal commented on the pull request: https://github.com/apache/cloudstack/pull/685#issuecomment-131699503 @kishankavala @DaanHoogland @sedukull The API level check was already in place but was not working because the check was done on the public key passed from user before converting it to public_key form using the method getPublicKeyFromKeyKeyMaterial(). Have made a change regarding that. Also, I feel the additional DB checks would be good. Please review? > API call listVirtualMachines returns same keypair > ------------------------------------------------- > > Key: CLOUDSTACK-8727 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8727 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the > default.) > Reporter: Kshitij Kansal > > If you register 2 SSH keypairs with the same public key then > listVirtualMachines API call will only return the first keypair. Although its > a very rare case and generally don't make much sense by registering the same > key with different name, still it can be fixed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)