-
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.
feat: Add support for ES* password protected private keys (#119)
* Added support for ES* password protected private keys * Update handling of the password protected keys * chore: removed unnecessary code and fixed code coverage * chore: fixed linter issues * chore: updated Readme * Update README.md Co-authored-by: Simone Busoli <simone.busoli@nearform.com> Co-authored-by: Simone Busoli <simone.busoli@nearform.com>
- Loading branch information
Showing
12 changed files
with
185 additions
and
25 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
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 @@ | ||
-----BEGIN ENCRYPTED PRIVATE KEY----- | ||
MIHsMFcGCSqGSIb3DQEFDTBKMCkGCSqGSIb3DQEFDDAcBAgXq9CvoCacNgICCAAw | ||
DAYIKoZIhvcNAgkFADAdBglghkgBZQMEASoEEIbhlSoyacanfdzTMJbYPTkEgZCj | ||
GmxIs9JP00N6HQjP3FvG9ZiwW3/5UDEzAu8EnKRXmA+8oQ6R6XPDJ1G20GVWqHUh | ||
jI60VPJmktQ8m7ask5HZWTl384uQmVPBk9T3xol0iVxeKCUEz3l7e/l/ZTnLul9f | ||
hDZj/HU/QfQuIACgXVxCh+YXntT/GiFwhnd4DMeMj/LIJoopRREbK+1QfcefRbQ= | ||
-----END ENCRYPTED 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,4 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEalqaJjdigr3W/NfdvKADLIakgpIT | ||
KulN0sG7lx8ReYSxRs9fMo2Y4ykJealAiV1wG6hAWRWp+pIomM1sPEEJ6A== | ||
-----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,8 @@ | ||
-----BEGIN ENCRYPTED PRIVATE KEY----- | ||
MIIBHDBXBgkqhkiG9w0BBQ0wSjApBgkqhkiG9w0BBQwwHAQIcxlDBJJy0x0CAggA | ||
MAwGCCqGSIb3DQIJBQAwHQYJYIZIAWUDBAEqBBBXEQsFiMLXBEhLGdBSsDQVBIHA | ||
j7SRL9TGv8XY0xyR2foNGcZxed5PqTw3iuXcWj5gA+jpa9t1gnqrIblAL7encKw1 | ||
7ktQLM9iHb3gdPr8S10ovuTGa8zYE51dItM8Zoo2ChW/Iy1tU6qlxY893gdI2Gxg | ||
x/Lbru4Gh9K8uQL+d6NcX/73yx7gN4t3DYMHNX4mToB+nwdvDQ3ma0ISF4k9U0h2 | ||
bg34Sl9On+T6lHJoUfEwv+nz39Nt5dEd9+aVR2MpM4FrmkSLM3aUuLcGVQWgqrls | ||
-----END ENCRYPTED 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,5 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEaniWlb1Eznw6TytkNItMvYJ/ZnMkVWu3 | ||
I7NMSA6J2v7xT9jo5KX2dwY4k+KauLn4SAZjIVKtuO0Sn2oRkuBsvu9dnLayKB9J | ||
AJs/dIpkw4gPwOXNmltRMHoeCrvEKBh1 | ||
-----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,10 @@ | ||
-----BEGIN ENCRYPTED PRIVATE KEY----- | ||
MIIBXTBXBgkqhkiG9w0BBQ0wSjApBgkqhkiG9w0BBQwwHAQIk6bDwPUm3VQCAggA | ||
MAwGCCqGSIb3DQIJBQAwHQYJYIZIAWUDBAEqBBCfjMGBc8mX/KZfNN/FrhtkBIIB | ||
ACCGQE5YEm5P5yuZ2P4jWTsVoYNXCTFbg946K4ACpTP5mrhOPIDiRUnXAd3eWLmR | ||
aZPbcXiKXO8g/xp0jdfCleDvvqJn9X9OsRx6fnZeB8H3UXBPv19QVU4la9HxReSi | ||
oiJf92345alvf6CofA/9ZgJ50ZpDwjG+1gzH1020ypOlmc6B3FDn52COaktTFKVw | ||
9Oy4Akilnh2PCQ3Dgg8HHy1uouWiKeFygI6mB/rGhYUPCoW4X6RehrfN1YN/5pNM | ||
PS9g/aMCr5i2fuC1cAml1p6vD1uuLu41eCSgUm+IS3UpjsL74L8atIj0/cCcghXu | ||
fUnIG1TXK9LVRxcMAMlCvY8= | ||
-----END ENCRYPTED 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,6 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBDxNf8qJhavM8HkvjCpsW1EZw1wzR | ||
TThYw3TfVPT4uU+710hBsI6g2wXx/EMYogqX9hf+BIVLREaEk7HUuy48S8IAc10X | ||
6A7kOw3vcy0zkda28LkYC1YG3T1VySQrFSR/rBgqCTi9/kNGXME4InHOI5Lbfgj8 | ||
pcdHCw5a7uHyClEDnZw= | ||
-----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
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