Skip to content

idea support password specified via operating system environment variables #7

Description

@clach04

Similar to ccrypt - https://ccrypt.sourceforge.net/ccrypt.html

-E var, --envvar var
Read the keyword from the environment variable var. Note that this might be unsafe on certain systems, namely where users can use the ps command to see the environment of a process owner by another user. On most modern systems, however, such behavior of ps is disabled and the -E option should be safe there. Also, as an added security measure, ccrypt erases the keyword from its environment immediately after reading it.

This is useful when calling kr from another program: the environment variable can be set in the subprocess (and is only visible to the current/subprocesses and to root/admin users with memory access on the machine).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions