Skip to content

[Feature Request]: VFS URI support for Hop Two Way Password Encoder #7182

@jballment

Description

@jballment

What would you like to happen?

Currently when using VFS URI with a password in the URI it must be decrypted prior to being used in the URI i.e. sftp://myuser:mypass@myserver/myfolder/myfile.txt works but sftp://myuser:Encrypted 2be98afc86aa7f2e4cb79a369ce93bcc9@myserver/myfolder/myfile.txt fails.

HopVFS already has cleanseFilename(String vfsFilename) to remove the password based on a regular expression. Could we use the similar regular expression to extract the password from the URI and then use Enc.decryptPasswordOptionallyEncrypted(String password) to decrypt the URI prior to it being passed down to Apache Commons VFS classes?

Issue Priority

Priority: 3

Issue Component

Component: VFS

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions