Issue: If creating API keys in-browser through common flow, privileged user is advised to:
Save your API private key(s) now.
Copy the API private key(s) below and save it somewhere safe. API private keys will only be shown once and cannot be recovered by Turnkey. Your key will not be activated until you successfully approve this activity.
If copying keys material to appropriate directory, (~/.config/turnkey/keys/default.*), the following error is produced from the CLI before attempting to hit the Turnkey network:
$ ./turnkey.linux-x86_64 request --path /api/v1/sign --body '{"payload": "test"}'
{
"error": "failed to recover key from private key file \"~/.config/turnkey/keys/default.private\": encoding/hex: invalid byte: U+000A"
}
FAIL: 1
This happens regardless of text editor used to do the copy/paste/insert/saving. Privileged user is effectively blocked.
OS: Arch Linux
Turnkey CLI version: built from source at 364cb63 (./turnkey.linux-x86_64)
Issue: If creating API keys in-browser through common flow, privileged user is advised to:
If copying keys material to appropriate directory, (
~/.config/turnkey/keys/default.*), the following error is produced from the CLI before attempting to hit the Turnkey network:This happens regardless of text editor used to do the copy/paste/insert/saving. Privileged user is effectively blocked.
OS: Arch Linux
Turnkey CLI version: built from source at
364cb63(./turnkey.linux-x86_64)