confidential-containers / simple-kbs

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

Allow secrets and keysets to have a NULL policy #35

Closed dubek closed 1 year ago

dubek commented 1 year 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 1 year ago

I will make these changes after your PR is merged.

dunnderr commented 1 year ago

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