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
I've got sk-ed25519 public key bytes, sk application string, sk flags byte and would like to construct the PrivateKey and write it out in the OpenSSH format. I didn't find out how to do it. It seems like there are missing any constructors or means for constructing the data structs, especially KeypairData and KeyData. Do I miss something or is it currently not possible?
The text was updated successfully, but these errors were encountered:
tarcieri
changed the title
Missing constructors for objects KeypairData and KeyData
Missing constructors for SkEd25519Mar 5, 2024
Note that KeypairData and KeyData are both enums with 1-tuple variants, so constructing either of them involves constructing one of the variants first, which is the real issue here.
I've got sk-ed25519 public key bytes, sk application string, sk flags byte and would like to construct the PrivateKey and write it out in the OpenSSH format. I didn't find out how to do it. It seems like there are missing any constructors or means for constructing the data structs, especially KeypairData and KeyData. Do I miss something or is it currently not possible?
The text was updated successfully, but these errors were encountered: