Hello!
I created some identities using dfx 0.13.1
; these “new” identities have the following shape:
-----BEGIN EC PRIVATE KEY-----
line 1
line 2
line 3
-----END EC PRIVATE KEY-----
now when I start a process (written in rust, using the ic-agent
crate) that uses the private key to instantiate an identity I get the following error:
A key was rejected by Ring: InvalidEncoding
This does not happen with identities created with dfx 0.11.2
. These have the following format:
-----BEGIN PRIVATE KEY-----
line 1
line 2
-----END PRIVATE KEY-----
I tried
ic-agent = "0.23.0"
ic-agent = "0.23.2"
Anyone else experiencing this? How can this be resolved?