confidential-containers / simple-kbs

Key Broker Server for SEV(-ES)
Apache License 2.0
13 stars 13 forks source link

Allow secrets and keysets to have a NULL policy #35

Closed dubek closed 2 years ago

dubek commented 2 years ago

After merging #30, get_secret_policy and get_keyset_policy fail if the polid column has NULL in it.

These function should return something like Result<Option<Policy>> (and return Ok(None) if the polid is NULL).

dunnderr commented 2 years ago

I will make these changes after your PR is merged.

dunnderr commented 2 years ago

I have made these changes and would like to review them with you and Tobin before creating another PR.