decentralized-identity / decentralized-identity/papers

Concat KDF in IETF draft supported in libsodium?

Open
#41 10 comments 0 reactions 0 assignees View on GitHub
did-authn-siop
Dominant language
No language data
Stars
40
Forks
5
PR merge metrics
No merged PRs in 30d

Description

In the IETF draft "[Chacha derived AEAD algorithms in
JOSE](https://tools.ietf.org/html/draft-amringer-jose-chacha-01#section-3)" there is mention of a "Concat KDF" used by the "ECDH-ES" algorithm.

In the libsodium library there is high-level [key exchange](https://download.libsodium.org/doc/key_exchange) functionality which produces a shared secret that is recommended to use in the libsodium function `crypto_aead_chacha20poly1305_ietf_encrypt`.

The question is, does the above libsodium key exchange function use the referenced "Concat KDF", so that libsodium can used out of the box for the IETF standard "ECDH-ES" Diffie-Hellman functionality?

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository files, tests, or entry points are named. Read section 3 of the linked IETF draft and the linked libsodium key-exchange documentation, then document a clear compatibility conclusion with the relevant evidence and any limitations.

Written by the indexing model from the issue text.

Assessment

Tech stack
cryptography
Domain
cryptography
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.