-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: parse ed25519 keys using the old strategy as a fallback
- Loading branch information
1 parent
973245e
commit b5a9167
Showing
4 changed files
with
65 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MC4CAQAwBQYDK2VwBCIEIP/Tyqg9taY+9+pkA8EzBfsUAT6Hi+eOVuHzo1qhH5uB | ||
-----END PRIVATE KEY----- |
7 changes: 7 additions & 0 deletions
7
homestar-runtime/fixtures/settings-import-ed25519-with-params.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[node] | ||
|
||
[node.network.keypair_config] | ||
# path is relative to execution | ||
# generate a new key with openssl `openssl genpkey -algorithm ed25519 > ed25519_key.pem` | ||
# homestar supports ed25519 and secp256k1 keys | ||
existing = { key_type = "ed25519", path = "./fixtures/__testkey_ed25519_6.pem" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters