hedgedoc / hedgedoc/cli

Add pass support

Open
#22 7 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Shell
Stars
166
Forks
40
PR merge metrics
No merged PRs in 30d

Description

The [UNIX passwordstore called `pass`](https://passwordstore.org) is a very handy unix tool that allows to have GPG encrypted passwords stored in a git repository and being used as a password safe.

CodiMD CLI could integrate with `pass` by checking for its existence and reading login (i.e. `pass show demo.codimd.org/myuser`) data from there.

In order to make it easy to integrate, we should provide a function that abstracts provided password. Means check if a password is supplied by CLi parameter, check if passwordstore is there and if so, check for a password. When non of the above provides a password, show a prompt.

Just my rough idea, feel free to extend/change/improve.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.