This should allow retrieving the secret (and public) keys from SecretKey and SigningSecretKey; and closes #62.
Initially I wanted to return RawBoxKeys, but the SigningSecretKey.sec is a [64]byte and I didn't want one of the functions to return a completely different type.
@oconnor663 if you have any ideas for a better interface please do share them and I can fix this.
Coverage increased (+0.07%) to 84.57% when pulling 6063bba33c207e5ec57c094823daf73950f2479b on geoah:master into 86c16c4c9f8282a8b5fea358e684c1c2fa89865d on keybase:master.
This should allow retrieving the secret (and public) keys from
SecretKey
andSigningSecretKey
; and closes #62.Initially I wanted to return
RawBoxKey
s, but theSigningSecretKey.sec
is a[64]byte
and I didn't want one of the functions to return a completely different type.@oconnor663 if you have any ideas for a better interface please do share them and I can fix this.
Thank you.