Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support hardware security tokens for preshared key (PSK) rotation #54

Open
stv0g opened this issue Aug 27, 2022 · 1 comment
Open

Support hardware security tokens for preshared key (PSK) rotation #54

stv0g opened this issue Aug 27, 2022 · 1 comment
Labels
enhancement New feature or request feat:pske

Comments

@stv0g
Copy link
Collaborator

stv0g commented Aug 27, 2022

The general idea would be to use ECDH with a secret key backend on a hardware security token/HSM/TPM to generate a PSK which we either use directly or as an input to Rosenpass (see #53).

This PSK would be rotated every handshake using some sort of sequence no (handshake to be designed).

Existing work

Protocol/curve support for ECDH

OpenPGP Card (v3.4)12 via PC/SC3 OpenPGP via OpenSC4 Apple Secure Enclave5 PIV via PKCS/11 (YCKS6) TPM (v1.2) TPM (v2.0)
Curve255197 ?
Curve P-256
Curve P-384

Footnotes

  1. Via OpenPGP application on ISO Smart Card Operating Systems

  2. https://en.wikipedia.org/wiki/OpenPGP_card

  3. https://pcsclite.apdu.fr/

  4. https://github.com/OpenSC/OpenSC

  5. Apple's Secure Enclave developer docs

  6. Yubico's PKCS/11 module for Yubikeys: https://developers.yubico.com/yubico-piv-tool/YKCS11/

  7. https://en.wikipedia.org/wiki/Curve25519

@stv0g stv0g added the enhancement New feature or request label Aug 27, 2022
@stv0g stv0g changed the title Support hardware security tokens for preshared key rotation Support hardware security tokens for WireGuard preshared key rotation Aug 27, 2022
@stv0g stv0g changed the title Support hardware security tokens for WireGuard preshared key rotation Support hardware security tokens for WireGuard preshared key (PSK) rotation Mar 5, 2023
@stv0g stv0g changed the title Support hardware security tokens for WireGuard preshared key (PSK) rotation Support hardware security tokens for preshared key (PSK) rotation Mar 5, 2023
@stv0g stv0g added this to the First Stable (v1.0) milestone Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feat:pske
Projects
None yet
Development

No branches or pull requests

1 participant