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

Extend key -read and -write functions #279

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 19, 2023

  1. Extend key -read and -write functions

    If an existing key or the new key is not intended to be stored
    in a file, the current implementation requires the creation of
    temporary files with all its odds (cleanup, symlink attack, mktemp)
    
    This change allows to provide the key in many different ways:
    
    A filename of "-" translates to <stdin> for reading and
    <stdout> for writing.
    
    If the file named by "filename" does not exist,
    check whether it contains a "-----BEGIN" and try interpreting
    the filename itself as key.
    
    Extend documentation in README.md
    
    Signed-off-by: Christian Hohnstaedt <christian@hohnstaedt.de>
    chris2511 committed Nov 19, 2023
    Configuration menu
    Copy the full SHA
    3d2fe6e View commit details
    Browse the repository at this point in the history