confidential-containers / simple-kbs

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

Fixes #35 issues #39

Closed dunnderr closed 2 years ago

dunnderr commented 2 years ago

I made updates requested by team to tighten up code by fixing errors when policy values are NULL for get_secret_policy and get_keyset_policy when the policy id is NULL. I also removed unnecessary uses of unwrap and expect in db.rs and added a new env var KBS_DB_MAX_CONNS as suggest by James.

This PR fixes issues highlighted in #35.

Signed-off-by: Derren Dunn dunnderr@us.ibm.com