This repository was archived by the owner on Dec 4, 2019. It is now read-only.
Commit 926a972
Always zero encryption key on Stop
This change moves the zero key on Stop logic into cmdKEK.run. This
guarantees via a defer that it is the last thing executed when run
exits (and thus the key is always zeroed).
Signed-off-by: Monis Khan <mkhan@redhat.com>1 parent 87ffa8a commit 926a972
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments