Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fscrypt man page #10

Open
tyhicks opened this issue Jul 13, 2017 · 3 comments
Open

Add fscrypt man page #10

tyhicks opened this issue Jul 13, 2017 · 3 comments

Comments

@tyhicks
Copy link

tyhicks commented Jul 13, 2017

The fscrypt tool should have a man page so that users can easily and locally find more information on how to use fscrypt. The man page should probably live in section 8 since fscrypt is mostly a system administration tool.

@josephlr josephlr self-assigned this Jul 13, 2017
@josephlr
Copy link
Member

Is this a good place to get started on writing a man page?

Also, the ecryptfs man pages are spread throughout many sections. The root page is in section 7 but some components are in section 1 or section 8. Should I just put everything in section 8 or split things up accordingly?

@tyhicks
Copy link
Author

tyhicks commented Jul 13, 2017 via email

@josephlr
Copy link
Member

Below is the basic plan for man page entries. After they are completed, a good amount of the documentation in README.md will be deleted and replaced with the appropriate man page links. Running fscrypt COMMAND --help will also show the man pages (if they are available). This is similar to how git COMMAND --help works currently.

  • fscryptctl
    • Complete description of all functionality
    • The tool is small so this shouldn't be too bad
    • Include where to report bugs (here)
  • fscrypt
    • Overview of the tool
    • Tool's purpose
    • Structures of files (/etc/fscrypt.conf, MNT/.fscrypt)
    • System requirements
    • Filesystem requirements
    • Limitations (no encrypting root, no encrypting metadata)
    • Where to report bugs (here)
    • Links to more detailed command information
  • pam_fscrypt
    • Description of purpose/functionality
    • PAM services provided
    • Flags (and which services they effect)
    • Installation instructions/tips
  • fscrypt-setup
    • Docs for fscrypt setup (creating /etc/fscrypt.conf)
    • Docs for fscrypt setup MOUNTPOINT (creating filesystem metadata)
  • fscrypt-encrypt
    • Docs for fscrypt encrypt and fscrypt unlock
    • Notes about keyring weirdness w/ provisioning
  • fscrypt-purge
    • Docs for fscrypt purge MOUNTPOINT
    • Explain dropping vs not dropping caches
    • Limitations of running as root
    • Issues w/ Kernel memory and DMA
  • fscrypt-status
    • Docs for fscrypt status: the global, filesystem, and directory versions.
    • Precise format (so it can be reliably grepped)
    • Difference between "supported", "not supported", and "not enabled"
  • fscrypt-metadata
    • Docs for all fscrypt metadata SUBCOMMAND
    • Examples of weird setups requiring the metadata commands.
    • Examples of damaged setups requiring the metadata commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants