summaryrefslogtreecommitdiff
diff options
authorMichael Vogt <mvo@ubuntu.com>2020-12-02 18:15:18 +0100
committerMichael Vogt <mvo@ubuntu.com>2020-12-02 18:15:18 +0100
commit6173e48de8ffee09813d808a2b2cc02a3c81cd09 (patch)
tree8ed25d222a051869cc10bae38d618d2769a8f531
parent72c1fe9c943b8c7eef31a87831ead95112899463 (diff)
fde: remove RevealKeyRequest until it is actually usedfde-reveal-key
-rw-r--r--overlord/devicestate/fde/fde.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/overlord/devicestate/fde/fde.go b/overlord/devicestate/fde/fde.go
index a1e45275d0..c6c61402fb 100644
--- a/overlord/devicestate/fde/fde.go
+++ b/overlord/devicestate/fde/fde.go
@@ -64,16 +64,3 @@ type SetupRequest struct {
// TODO: provide LoadChains, KernelCmdline etc to support full
// tpm sealing
}
-
-// RevealKeyRequest carries the operation and parameters for the
-// fde-reveal-key binary to support unsealing key that were sealed
-// with the "fde-setup" hook.
-type RevealKeyRequest struct {
- Op string `json:"op"`
-
- SealedKey []byte `json:"sealed-key"`
- SealedKeyName string `json:"sealed-key-name"`
-
- VolumeName string `json:"volume-name"`
- SourceDevicePath string `json:"source-device-path"`
-}