aboutsummaryrefslogtreecommitdiff
path: root/crypto/crypto.go
diff options
context:
space:
mode:
authorJoe Richey <joerichey@google.com>2017-08-30 18:16:16 -0700
committerJoe Richey <joerichey@google.com>2017-08-30 18:16:16 -0700
commit11b31826334bc3faa4d4c7ee05a3b2996a88c969 (patch)
tree8fe4a0d0a9e683b84ff70eed7986eebb857a2fdf /crypto/crypto.go
parent5814155d0c0247d501f7479f760a676185cd4b6d (diff)
cmd/fscrypt: Add --user flag for running as root
The --user flag can now be used to have the targe user (the one whose keyring and password will be used in fscrypt) be different than the calling user. Very usefull for things like sudo fscrypt purge /media/joerichey/usb --user=joerichey which will now have privileges to drop caches, but will properly clear the keys from the user's keyring.
Diffstat (limited to 'crypto/crypto.go')
0 files changed, 0 insertions, 0 deletions