Correct me if I'm wrong, but it's currently not possible to use nacl with that particular encryption procedure.
I'm not sure why (different math inside the box?) but even after working on my side to extract the key from the openssh private key format, when I make a PrivateKey object with those 32 bytes, the associated PublicKey generated does not match the one ssh-keygen generates on my server.
Of course that means I can't encrypt using the server PublicKey and expect to have a successful decoding with the PrivateKey.
Currently really needing to figure out a way to use openssh ed25519 and I have no idea where to look, it's apparently not possible to easily convert this format into older, more mainstream ones either.
Correct me if I'm wrong, but it's currently not possible to use nacl with that particular encryption procedure.
I'm not sure why (different math inside the box?) but even after working on my side to extract the key from the openssh private key format, when I make a PrivateKey object with those 32 bytes, the associated PublicKey generated does not match the one ssh-keygen generates on my server.
Of course that means I can't encrypt using the server PublicKey and expect to have a successful decoding with the PrivateKey.
Currently really needing to figure out a way to use openssh ed25519 and I have no idea where to look, it's apparently not possible to easily convert this format into older, more mainstream ones either.