Skip to content
Snippets Groups Projects
  • Evangelos Foutras's avatar
    faba3a3d
    misc/get_key.py: load vault file without chdir'ing · faba3a3d
    Evangelos Foutras authored
    Now that misc/get_key.py checks if the vault file passed to it exists,
    we cannot pass paths only resolvable from the root directory. Instead,
    use paths that make sense relative to the current directory and avoid
    calling chdir when loading the vault file.
    
    Fixes: 77542146 ("Rewrite get_key.py to use click instead of typer")
    Verified
    faba3a3d
    History
    misc/get_key.py: load vault file without chdir'ing
    Evangelos Foutras authored
    Now that misc/get_key.py checks if the vault file passed to it exists,
    we cannot pass paths only resolvable from the root directory. Instead,
    use paths that make sense relative to the current directory and avoid
    calling chdir when loading the vault file.
    
    Fixes: 77542146 ("Rewrite get_key.py to use click instead of typer")
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
To learn more about this project, read the wiki.