-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support private keys on softkms GetPublicKey
This commit adds supports for any crypto.Signer in softkms.GetPublicKey as long as the key is not encrypted. It also adds support for x25519 keys.
- Loading branch information
Showing
6 changed files
with
39 additions
and
2 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-----BEGIN DSA PRIVATE KEY----- | ||
MIH3AgEAAkEAjcm6Okl66tWbbD068ymE17XI0wLNUpcIZgoCqvV24qRMT6cTl/J1 | ||
0DYkR/vTZaJ8EufEidCEf0ZHD06WoORE3QIVAI8EK3wRHdGmIX5AHBuhfj/7p3xT | ||
AkBp8s2KAL/MsA1CINi3sOiVlbYPrA/WC9joLgV257BzOYLlWfZqiyketoSsd6sd | ||
kZUqVJ02FxxLqSv8jouMWtOLAkA+ye7vjsTNnIV2xDkciQtnK1n4Di3DR15Tm0UP | ||
Kf03FPxvYobFvCDxdgdlSAxDvjcDn1Z1ot7wzXFQX5IK4ApUAhRIG+8uWBKim3Rc | ||
iUyGbE4gL/XByA== | ||
-----END DSA PRIVATE KEY----- |
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,8 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MIHwMIGoBgcqhkjOOAQBMIGcAkEAjcm6Okl66tWbbD068ymE17XI0wLNUpcIZgoC | ||
qvV24qRMT6cTl/J10DYkR/vTZaJ8EufEidCEf0ZHD06WoORE3QIVAI8EK3wRHdGm | ||
IX5AHBuhfj/7p3xTAkBp8s2KAL/MsA1CINi3sOiVlbYPrA/WC9joLgV257BzOYLl | ||
WfZqiyketoSsd6sdkZUqVJ02FxxLqSv8jouMWtOLA0MAAkA+ye7vjsTNnIV2xDkc | ||
iQtnK1n4Di3DR15Tm0UPKf03FPxvYobFvCDxdgdlSAxDvjcDn1Z1ot7wzXFQX5IK | ||
4ApU | ||
-----END PUBLIC KEY----- |
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 NEBULA X25519 PRIVATE KEY----- | ||
sc9k10IOJEFg9QDXEAFqkDgVQ3KfuubYHfG+Xl2ODbs= | ||
-----END NEBULA X25519 PRIVATE KEY----- |
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 NEBULA X25519 PUBLIC KEY----- | ||
fH8U8+JEY6azHXHOwRoburcf25WG/ueKxvQ7sQrUVA8= | ||
-----END NEBULA X25519 PUBLIC KEY----- |