| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-06-28 | cmd/fscrypt: add metadata command | Joe Richey joerichey@google.com | |
| This command adds in the "fscrypt metadata" command. This command allows advanced users to manipulate the metadata directly instead of just creating a policy or protector as an option when encrypting a directory. As some of these methods will require certain flags, error handling for this case is also added. As the change passphrase method must indicate when a old vs new password is necessary, additional KeyFuncs are added which add this indicator. Change-Id: Ibc92872088fae078df3c0eebd4f0cfcb7252d781 | |||
| 2017-06-28 | cmd/fscrypt: setup, encrypt, unlock commands | Joe Richey joerichey@google.com | |
| This commit adds in the framework for adding commands and subcommands to the fscrypt tool. This commit adds in the "setup", "encrypt", and "unlock" commands. Additional information can be found by running: fscrypt <command> --help. This commit defines how flags are parsed and errors are handled. It also creates an extensible framework for prompting the user for information. Change-Id: I159d7f44ee2b2bbc5e072f0802850e082d9a13ce | |||