You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there's no support for PUTTY Keys in standard packages. I propose adding a encoding under encoding/ppk similar to encoding/pem in order to implement related functions for converting keys (e.g. rsa private key) into ppk format.
similar to encoding/pem package, Encode and Decode functions can be implemented. the implementation can be simple and straight-forward. I've implemented a POC which can give some hints:
Adding PuTTY key support to the standard library would introduce complexity and deviate from its core focus on widely-used functionality. PuTTY keys are essentially a specialized variation of PEM files designed for PuTTY on Windows. Additionally, PuTTYgen offers the means to convert PuTTY's PPK files to PEM format, as explained in the official PuTTY documentation in Chapter 8, Section 8.2.12, under 'Dealing with private keys in other formats': Official PuTTY Documentation.
Currently there's no support for PUTTY Keys in standard packages. I propose adding a encoding under
encoding/ppk
similar toencoding/pem
in order to implement related functions for converting keys (e.g. rsa private key) into ppk format.similar to
encoding/pem
package,Encode
andDecode
functions can be implemented. the implementation can be simple and straight-forward. I've implemented a POC which can give some hints:https://gist.github.com/amiremohamadi/92bc8d749ec6d530ea59f11d701b9da2
The text was updated successfully, but these errors were encountered: