forked from outscale/osc-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for smart cards / soft cards
This should work with pkcs11 and other ssl engines. You will need to setup those new options in your configuration profile: - ssl_engine_id (pkcs11, ...) - ssl_engine_path (path to pkcs11 lib, ...) - ssl_module_path (path to opensc, softhsm, ...) And setup: - x509_client_cert - x509_client_key Check `config.smartcard.example.json` example file. ref #66 Signed-off-by: Jérôme Jutteau <[email protected]>
- Loading branch information
1 parent
87a9fb8
commit bed4e11
Showing
5 changed files
with
192 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"default": { | ||
"access_key": "DS564D65S4DEXAMPLE", | ||
"secret_key": "8D4G684SD65S4DD5F46D54F6D54F6D5FEXAMPLE", | ||
"x509_client_cert": "pkcs11:token=token0;type=cert;object=osc.cert", | ||
"x509_client_key": "pkcs11:token=token0;type=private;object=osc.key;pin-value=1234", | ||
"ssl_engine_id": "pkcs11", | ||
"ssl_engine_path": "/usr/lib/x86_64-linux-gnu/engines-1.1/pkcs11.so", | ||
"ssl_module_path": "/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so", | ||
"region": "eu-west-2", | ||
"endpoints": { | ||
"api": "api.eu-west-2.outscale.com/api/v1", | ||
"fcu": "fcu.eu-west-2.outscale.com", | ||
"lbu": "lbu.eu-west-2.outscale.com", | ||
"eim": "eim.eu-west-2.outscale.com", | ||
"icu": "icu.eu-west-2.outscale.com", | ||
"directlink": "directlink.eu-west-2.outscale.com", | ||
"oos": "oos.eu-west-2.outscale.com" | ||
} | ||
} | ||
} | ||
|
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 |
---|---|---|
@@ -1,6 +1,26 @@ | ||
fire==0.4.0 | ||
requests==2.25.1 | ||
xmltodict==0.12.0 | ||
pylint==2.6.0 | ||
astroid==2.5.6 | ||
bandit==1.7.0 | ||
certifi==2021.5.30 | ||
chardet==4.0.0 | ||
defusedxml==0.7.1 | ||
fire==0.4.0 | ||
gitdb==4.0.7 | ||
GitPython==3.1.17 | ||
idna==2.10 | ||
isort==5.8.0 | ||
lazy-object-proxy==1.6.0 | ||
M2Crypto==0.37.1 | ||
mccabe==0.6.1 | ||
parameterized==0.8.1 | ||
pbr==5.6.0 | ||
pylint==2.8.3 | ||
PyYAML==5.4.1 | ||
requests==2.25.1 | ||
six==1.16.0 | ||
smmap==4.0.0 | ||
stevedore==3.3.0 | ||
termcolor==1.1.0 | ||
toml==0.10.2 | ||
urllib3==1.26.5 | ||
wheel==0.36.2 | ||
wrapt==1.12.1 |
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