I am getting this error when trying to use the key export command programatically in Go. I was looking through similar calls using the go-ipfs-api/key.go shell package. And it seems that command is not implemented? What is the current discussion around that or is it already implemented? This is how I’m calling the function to get the error:
// Go v1.14, go-ipfs v0.11.0, Win10 WSL2 Ubuntu 20.04
key, err := sh.KeyGen(context.Background(), KeyName) //generate temp key to local node
if err != nil {
panic(err)
}
rb := sh.Request("key/export", KeyName) //export temp key to ds
err = rb.Exec(context.Background(), err)
if err != nil {
return err
}