SshKeyGenerator icon indicating copy to clipboard operation
SshKeyGenerator copied to clipboard

passphrase for private key

Open daLocu opened this issue 1 year ago • 5 comments

Hi guys,

great work! Is it possible to set a passphrase for the private key? (In the Putty KeyGen, for example, this is possible.)

kind regards daLocu

daLocu avatar Oct 21 '22 13:10 daLocu

Thanks for raising this. I've had a quick look into it. It's quite trivial to do with .net 5 and .net 6 without adding any further dependencies, however it looks like it might be tricky to implement with backwards compatibility for NetFx 4.

What runtime are you targeting?

I'm wondering whether I should eventually drop support for older runtimes.

ShawInnes avatar Oct 23 '22 00:10 ShawInnes

(for future me...) This issue covers how to implement it https://github.com/dotnet/runtime/issues/51597

ShawInnes avatar Oct 23 '22 00:10 ShawInnes

I use .net 6. thank you very much

daLocu avatar Oct 23 '22 08:10 daLocu

Hi, please do you plan to add this feature in the near future?

kebisekjan avatar Feb 01 '24 08:02 kebisekjan

I'd also like to see this feature. (.NET 7.0/8.0)

mcattle avatar Apr 11 '24 00:04 mcattle

Just started implementing key generation into an application. Would also love to see passphrase support (.NET 8)

monsen avatar Apr 19 '24 17:04 monsen