Skip to content

Commit

Permalink
Commented out PCR0 check until #5 is done
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykorwat committed Dec 15, 2020
1 parent eb46d8c commit 9199617
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,13 @@ public void addPolicy(String keyId, EnclaveMeasurements enclaveMeasurements, Str
" \"Action\": [" +
" \"kms:Decrypt\"" +
" ]," +
" \"Resource\": \"*\"," +
" \"Condition\": {" +
" \"StringEqualsIgnoreCase\": {" +
" \"kms:RecipientAttestation:ImageSha384\": \"" + enclaveMeasurements.getPcr0() + "\"" +
" }" +
" }" +
" \"Resource\": \"*\"" +
// " \"Resource\": \"*\"," +
// " \"Condition\": {" +
// " \"StringEqualsIgnoreCase\": {" +
// " \"kms:RecipientAttestation:ImageSha384\": \"" + enclaveMeasurements.getPcr0() + "\"" +
// " }" +
// " }" +
"}]" +
"}";

Expand Down

0 comments on commit 9199617

Please sign in to comment.