Outils pour utilisateurs

Outils du site


informatique:pkcs

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
informatique:pkcs [17/08/2023 17:10] – [PKCS#11 - Cryptographic Token Interface Standard] link to token's pages cyrilleinformatique:pkcs [27/08/2023 11:31] (Version actuelle) – [Chiffrement et déchiffrement avec Javascript dans navigateur] cyrille
Ligne 16: Ligne 16:
   * PKCS#15: Cryptographic Token Information Format Standard   * PKCS#15: Cryptographic Token Information Format Standard
  
-Voir aussi : +Voir [[/glossaire/pkcs|/glossaire/pkcs]] pour des liens de références.
-  * [[http://en.wikipedia.org/wiki/PKCS|Wikipedia]] +
-  * [[/glossaire/IGC|Infrastructure de Gestion de Clefs (IGC)]] +
-  * [[/informatique/igc|/informatique/igc (Infrastructure de Gestion de Clefs)]]+
  
 ===== PKCS#7 - Cryptographic Message Syntax Standard ===== ===== PKCS#7 - Cryptographic Message Syntax Standard =====
Ligne 51: Ligne 48:
  
   * API Mozilla, approvisionnement PKCS [[https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/pkcs11|]]   * API Mozilla, approvisionnement PKCS [[https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/pkcs11|]]
 +    * exemple avec la webextension [[https://github.com/open-eid/firefox-pkcs11-loader/blob/master/webextension/background.js|firefox-pkcs11-loader]] par la "Estonian Information System Authority"
   * Chromium [[https://www.chromium.org/developers/design-documents/chaps-technical-design/#pkcs-11-software-mechanisms|PKCS #11 Software Mechanisms]] and [[https://www.chromium.org/developers/design-documents/chaps-technical-design/#resources|Resources]]   * Chromium [[https://www.chromium.org/developers/design-documents/chaps-technical-design/#pkcs-11-software-mechanisms|PKCS #11 Software Mechanisms]] and [[https://www.chromium.org/developers/design-documents/chaps-technical-design/#resources|Resources]]
   * Chrome does not provide a mechanism to specify a PKCS#11 provider, only Firefox does.   * Chrome does not provide a mechanism to specify a PKCS#11 provider, only Firefox does.
     * Use any of the available chrome extension like     * Use any of the available chrome extension like
       * [[https://chrome.google.com/webstore/detail/signerdigital-digital-sig/glghokcicpikglmflbbelbgeafpijkkf|Signer.Digital Chrome Extension]] (Digital Signature of eReturns, PDF & Web User Auth, RSA Encryption/Decryption, Certificate Enrollment/Download on Smartcard)       * [[https://chrome.google.com/webstore/detail/signerdigital-digital-sig/glghokcicpikglmflbbelbgeafpijkkf|Signer.Digital Chrome Extension]] (Digital Signature of eReturns, PDF & Web User Auth, RSA Encryption/Decryption, Certificate Enrollment/Download on Smartcard)
 +  * ''wget'' et ''curl'' permettent l'authentification depuis un token pkcs11 [[https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/security_hardening/configuring-applications-to-use-cryptographic-hardware-through-pkcs-11_security-hardening#configuring-applications-to-authenticate-using-certificates-from-smart-cards_configuring-applications-to-use-cryptographic-hardware-through-pkcs-11|6.3. Configuring applications to authenticate using certificates from smart cards (RedHat)]]
   * [[https://github.com/OpenSC/OpenSC/wiki|OpenSC]] provides a set of libraries and utilities to work with smart cards. Its main focus is on cards that support cryptographic operations, and facilitate their use in security applications such as authentication, mail encryption and digital signatures. OpenSC implements the standard APIs to smart cards   * [[https://github.com/OpenSC/OpenSC/wiki|OpenSC]] provides a set of libraries and utilities to work with smart cards. Its main focus is on cards that support cryptographic operations, and facilitate their use in security applications such as authentication, mail encryption and digital signatures. OpenSC implements the standard APIs to smart cards
     * OpenSC [[https://htmlpreview.github.io/?https://github.com/OpenSC/OpenSC/blob/master/doc/tools/tools.html|tools]] comme gérer les tokens PKCS#11 et PKCS#15     * OpenSC [[https://htmlpreview.github.io/?https://github.com/OpenSC/OpenSC/blob/master/doc/tools/tools.html|tools]] comme gérer les tokens PKCS#11 et PKCS#15
Ligne 90: Ligne 89:
   * [[signature_electronique#token_officiel_en_france|]]   * [[signature_electronique#token_officiel_en_france|]]
     * https://www.chambersign.fr/p-offre-cci-store/     * https://www.chambersign.fr/p-offre-cci-store/
 +
 +Pour des **essais de manips avec pkcs#11**, OpenSC (pkcs-tool) et OpenSSL voir la page du token [[/informatique/SafeNet eToken 5110|SafeNet eToken 5110]].
 +
 +==== Chiffrement et déchiffrement avec Javascript dans navigateur ====
 +
 +Questions/discussions
 +  * https://github.com/OpenSC/OpenSC/discussions/2839
 +  * https://www.developpez.net/forums/d2154735/javascript/general-javascript/cryptographie-navigateur-web-token-pkcs11/
 +  * [What about a WASM API](https://github.com/ThalesGroup/pycryptoki/issues/42) at ThalesGroup/pycryptoki
 +
 +Thales propose une [[https://github.com/ThalesGroup/pycryptoki|API en Python]]
 +  * https://github.com/ThalesGroup/pycryptoki/blob/master/docs/getting_started.rst
 +  * https://pycryptoki.readthedocs.io/en/latest/
 +
 +[[https://web-eid.eu/|Web eID]]: electronic ID smart cards on the Web
 +  * Utilise la Browser Native Messaging API
 +  * Exemple avec [[https://github.com/web-eid/web-eid-authtoken-validation-php/blob/main/examples/public/js/web-eid.js|Javascript et Php]]
 +
 +Les technos pour permettre l'usage d'un eToken:
 +  * Ne pourrait-on pas faire la même chose avec WASM ?
 +    * [[https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/export_native_api.md|Export native API to WASM application]]
 +  * Browser Native Messaging
 +    * https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging
 +    * C'est la techno utilisée par [[https://libersign.libriciel.fr/updates.json|libersign]] de [[https://www.libriciel.fr|Libriciel]]
  
  
informatique/pkcs.1692285005.txt.gz · Dernière modification : 17/08/2023 17:10 de cyrille

Sauf mention contraire, le contenu de ce wiki est placé sous les termes de la licence suivante : CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki