p15r / distributey

distributey acts as intermediary between a key consumer and a key service. It receives requests from the key consumer, fetches the key material from the key service and sends back JWE-wrapped (RFC7516) responses.

Home Page:https://github.com/p15r/distributey

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rewrite: make dek a parameter in jwe

p15r opened this issue · comments

The logic to fetch a key does not belong to module jwe. Make dek a parameter in get_wrapped_key_as_jwe(). Loses up coupling.