{"action":"created","issue":{"url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1657","repository_url":"https://api.github.com/repos/cosmos/cosmos-sdk","labels_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1657/labels{/name}","comments_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1657/comments","events_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1657/events","html_url":"https://github.com/cosmos/cosmos-sdk/issues/1657","id":340808872,"node_id":"MDU6SXNzdWUzNDA4MDg4NzI=","number":1657,"title":"crypto/keys: Rewrite API for exporting data","user":{"login":"ValarDragon","id":6440154,"node_id":"MDQ6VXNlcjY0NDAxNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6440154?v=4","gravatar_id":"","url":"https://api.github.com/users/ValarDragon","html_url":"https://github.com/ValarDragon","followers_url":"https://api.github.com/users/ValarDragon/followers","following_url":"https://api.github.com/users/ValarDragon/following{/other_user}","gists_url":"https://api.github.com/users/ValarDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/ValarDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValarDragon/subscriptions","organizations_url":"https://api.github.com/users/ValarDragon/orgs","repos_url":"https://api.github.com/users/ValarDragon/repos","events_url":"https://api.github.com/users/ValarDragon/events{/privacy}","received_events_url":"https://api.github.com/users/ValarDragon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-12T21:42:37Z","updated_at":"2018-07-13T16:19:52Z","closed_at":null,"author_association":"MEMBER","body":"Currently the API is incredibly confusing. Once understood, it is entirely unhelpful to anyone trying to get the raw value for their private key. (E.g. automated things, like our faucet)\r\n\r\nExport is exporting the info, but armoring it. The armor method, and the actual info types are not exported, so they have no way of decoding the armor, or parsing the info values. It doesn't help that the Export methods don't have associated godocs. We should probably just recreate the import/export interface. I ran into these issues when trying to make a script to extract the privkey for usage in some automation stuff."},"comment":{"url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/comments/404881952","html_url":"https://github.com/cosmos/cosmos-sdk/issues/1657#issuecomment-404881952","issue_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1657","id":404881952,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDg4MTk1Mg==","user":{"login":"rigelrozanski","id":20132176,"node_id":"MDQ6VXNlcjIwMTMyMTc2","avatar_url":"https://avatars1.githubusercontent.com/u/20132176?v=4","gravatar_id":"","url":"https://api.github.com/users/rigelrozanski","html_url":"https://github.com/rigelrozanski","followers_url":"https://api.github.com/users/rigelrozanski/followers","following_url":"https://api.github.com/users/rigelrozanski/following{/other_user}","gists_url":"https://api.github.com/users/rigelrozanski/gists{/gist_id}","starred_url":"https://api.github.com/users/rigelrozanski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rigelrozanski/subscriptions","organizations_url":"https://api.github.com/users/rigelrozanski/orgs","repos_url":"https://api.github.com/users/rigelrozanski/repos","events_url":"https://api.github.com/users/rigelrozanski/events{/privacy}","received_events_url":"https://api.github.com/users/rigelrozanski/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T16:19:52Z","updated_at":"2018-07-13T16:19:52Z","author_association":"MEMBER","body":"Yeah viper removal is key"}}
{"actor":{"display_login":"rigelrozanski"}}