-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add pass support #22
Comments
Using #23 and settings such as those of isync it will be possible.
|
@Fumesover
Mhm, so you suggest to have a parameter Maybe we should take the approach that ansible uses: Having a |
If we use codimd in command line, we can just do something like that: |
Depending on how big and how versatile a change would have to be, I'm against integrating stuff for a single other product ( |
FWIW I run this on a Mac where |
@pirate I might be mistaken, but I think it is supported: https://www.passwordstore.org/#macintosh |
I would prefer a universal solution where you can specify a command that outputs the password. This way other popular password-managers are also supported. |
The UNIX passwordstore called
pass
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.
The text was updated successfully, but these errors were encountered: