Skip to content

Exception when initializing PrivateKeyFile with type aes256-gcm@openssh.com #1483

Closed
@Tawmy

Description

@Tawmy

Hey there, I am trying to connect to an SFTP server using an OpenSSH key. This OpenSSH key uses the cipher aes256-gcm@openssh.com. When initializing a new instance of PrivateKeyFile with the path to the private key and private key passphrase, the library throws an exception: Cipher 'aes256-gcm@openssh.com' is not supported for an OpenSSH key.

I was under the impression 2024.1 added support for this specific cipher. Does the key need to be initialized differently?

I am using .NET 8 on macOS 14.6.1.

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