Skip to content

repo_svn cookbook implies it supports private key authentication, but it doesn't #159

@brian-from-quantrocket

Description

@brian-from-quantrocket

The Rightscale inputs for the repo/repo_svn recipes imply that private key authentication is supported, but it isn't. If you specify a private key for the input, this is the kind of command that gets generated:

Command = svn info svn+ssh://svn.<hidden credential>.com/bfwc/svn/delivery/tags/latest_stable --no-auth-cache --username rightscale --password <hidden private key> -rHEAD

The private key is being used with the --password option, but --password expects a password, not a private key. Private key authentication with subversion is generally done by setting up an IdentityFile in the user’s ~/.ssh/config ( http://stackoverflow.com/questions/192134/how-do-i-get-a-svn-checkout-using-a-public-private-key-pair ).

It would be great if the recipe supported private key authentication. At a minimum, the fact that it doesn't support it should be listed under known limitations so people know what to expect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions