pycose
pycose copied to clipboard
Input of salt not available to EC-HKDF interfaces
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?
@TimothyClaeys Can you confirm this issue?