web-token/jwt-framework

Add ECDH-SS

Closed this issue · 4 comments

Description
Add the ECDH-SS variant

Example
JWEBuilder.txt
ECDHSS.txt
ECDHSSA256KW.txt
ECDHSSAESKW.txt

The 1st iteration of the implementation was attached and are 4 files: the modified JWEBuilder and the ECDHSS, ECDHSSAESKW and ECDHSSA256KW, all modifed version of the ES variant.
They are all PHP but safed as TXT so that they could be included and you can find notes/comments in the files.

Many thanks. ECDH-SS is definitely something I wanted to integrate.
You are right, contrary to the ECDH-ES variant where an ephemeral key is created, it requires extra modifications to retrieve the sender key.

Many thanks. ECDH-SS is definitely something I wanted to integrate. You are right, contrary to the ECDH-ES variant where an ephemeral key is created, it requires extra modifications to retrieve the sender key.

You are wellcome.
Apart from JWEBuilder, NestedTokenBuilder and NestedTokenLoader the adaptation from ES to SS seems quite straightforward but php is not my strongest language.

Hi @HDNAdministrator,

Changes are going to be addressed through #366.
You can start testing it with the branch https://github.com/web-token/jwt-framework/tree/features/ecdh-ss

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.