Closed leohhhn closed 1 week ago
@leohhhn , Thank you for opening the issue.
gnokey
uses OpenPGP Armor for encryption when exporting private key.
Adena does not currently handle decryption for Armor, which is likely the reason for the issue.
I think it's worth considering support for Armor encryption/decryption, but I have a couple questions.
cc @dongwon8247
I remember either @jinoosss or @r3v4s opening up the discussion for Adena armor handling last year, but it somehow got lost in the shuffle 🙁
I'm not entirely convinced Adena (or any tool) should be able to work with encrypted armor. Why would it?
These tools already support adding raw private keys (at least tm2-js-client does, I'm 99% sure Adena does as well). I think neither supports armor input (encrypted, or decrypted).
I think, ultimately, the functionality that should be present:
opening up the discussion for Adena armor handling last year, but it somehow got lost in the shuffle 🙁
FYI, related pr is https://github.com/gnolang/gno/pull/537
Closing for now. Please reopen if needed.
Description
Hey, I have tried importing the
test1
private key to Adena, but I was unsuccessful. It seems that no matter what I try, I end up with an "invalid format" error. This is how I went about it:--unsafe
flag, to get the unencrypted version:ChQvdG0uUHJpdktleVNlY3AyNTZrMRIiCiDql7n9235r9oZwkKeoGWVwR5Sfu5Rm 1hf5QFOO/YiGBQ== =wH/4 -----END TENDERMINT PRIVATE KEY-----