pycose icon indicating copy to clipboard operation
pycose copied to clipboard

Input of salt not available to EC-HKDF interfaces

Open BrianSipos opened this issue 5 years ago • 1 comments

The KDF interface has an optional "salt" parameter but when it is used by EC2 and OKP classes there is no way to provide a salt alongside or as part of the CoseKDFContext parameter. This means that the algorithm parameter "salt" (-20) cannot be passed into the KDF.

Am I misunderstanding the interface, or is this parameter just missing?

BrianSipos avatar Dec 18 '20 21:12 BrianSipos

@TimothyClaeys Can you confirm this issue?

letmaik avatar Nov 05 '22 22:11 letmaik