]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
cmd/fscrypt: add in status and purge commands
authorJoe Richey joerichey@google.com <joerichey@google.com>
Wed, 21 Jun 2017 17:25:01 +0000 (10:25 -0700)
committerJoe Richey joerichey@google.com <joerichey@google.com>
Wed, 28 Jun 2017 22:15:21 +0000 (15:15 -0700)
commit3604132904fcd3ad49945d0930bbf20f1888a00b
tree8c10d34a953d0d17c52e70c73dfa458ff4a0ba24
parent37c866e1e16a6d2dded11ba93c2e04af3764a139
cmd/fscrypt: add in status and purge commands

This commit adds in the status command, which has 2 functions, allowing
the user to query the state of the entire system or a specific
filesystem.

This commit also adds in the purge command to remove all policy keys
corresponding to a filesystem. This (along with getting the unlock
status for the status commands) uses additional keyctl functionality in
the crypto and actions packages.

Change-Id: Ic8e097b335c044c0b91973eff19753f363f4525d
cmd/fscrypt/commands.go
cmd/fscrypt/fscrypt.go
cmd/fscrypt/status.go [new file with mode: 0644]