KIT-ILIAS-downloader/src
Maximilian Bosch 3a83840f15
cli: Support for pass(1) as credential storage
`pass(1)`[1] is a small CLI-based password manager. When passing
`--pass-path edu/kit/uXXXX` to `KIT-ILIAS-Downloader`, it now attempts
to retrieve the password from `pass(1)`.

It is assumed that `pass(1)` is available in the `$PATH` of the process. If
that's not the case, it errors out with an error like this:

    Error: credentials input failed

    Caused by:
        pass not found in $PATH!

It's also taken care of the case where the value `--pass-path` is not
present in the store, the error will look like this:

    Error: credentials input failed

    Caused by:
        `pass` failed with non-zero exit code 1: Error: edu/kit/uXXXX is not in the password store.

Closes #32

[1] https://www.passwordstore.org/
2022-07-10 12:34:03 +02:00
..
ilias Warn the user on duplicate folder names 2022-04-26 21:47:17 +02:00
cli.rs cli: Support for pass(1) as credential storage 2022-07-10 12:34:03 +02:00
ilias.rs Support downloading every course 2022-01-07 12:21:40 +01:00
main.rs Add command-line option to download all courses 2022-03-21 11:44:06 +01:00
queue.rs Add missing await 2021-06-02 11:53:50 +02:00
util.rs Typo fix 2021-06-28 18:43:09 +02:00