![]() |
[Announce] password manager / pass - password-store.sh via gnugp on x-terminal (manual setup)
1 Attachment(s)
password-store.sh pass
see http://passwordstore.org - I am not the programer (it's a bash script), only the N900 user who did want to use it. These instructions possibly allow you to use this software on your maemo fremantle N900 gadget. DO NOT TRUST, THAT IT IS SECURE. CHECK THE BASH SCRIPT YOURSELF. The tool is convient, though. USAGE COMMANDS: This is a password manager to be used in the terminal, for example:
Additionally, the password is copied to the clipboard for 45 seconds only. Then the previous clipboard entry gets restored. Enough time to use it for the WLAN setup or copy it over to the login page at the browser. The multiline requests opens vim. There you can store URLS, secret questions or other information on additional lines. In regards to above, only the first line gets copied to the clipboard. Additional information for usage: (1) first you have to init pass: that is "pass init scy@wherever" # this "scy@wherever" refers to your gpg secret key you would like to use (2) pass talk.maemo.org # on the first request pinentry opens, key in the password scy@wherever of your gpg secrect key (3) subsequent calls to pass do not require to enter the password anymore # gpg-agent handles this INSTALLATION PRE-REQUESITES: (1) have gpg2 installed (2) have gpg-agent and pinentry-ncurses installed (3) have git, getopt installed (4) install tree (V1.7), xclip, and pwgen (# my first N900 compilation, see attachment to this post) setup password-store http://www.passwordstore.org Downloaded Version 1.6.3 from http://git.zx2c4.com/password-store/...e-1.6.3.tar.xz (1) copied to <my-bin-dir>/password.store.sh # ensure that it is in your PATH (2) generated a link to the file called "pass" Code:
ln -s <my-bin-dir>/password.store.sh <my-bin-dir>/pass (4) added this to ~/.bashrc Code:
source <SOMEWHERE>/pass.bash-completion (1) add to ~/.gnupg/gpg.conf Code:
use-agent ## tells gpg to use the gpg-agent Code:
pinentry-program /usr/bin/pinentry-curses # for me the password entry in the qt version did not work. as you work in the terminal anyhow, ncurses is more convenient Code:
if test -f $HOME/.gpg-agent-info && \ additional setup tweaks add alias to .bashrc or /etc/bashrc Code:
alias p="pass" # NOTE: if you know how to import keepassx 0.4.3 database code please add your comments to this thread. the provided scripts in password-store did not workout for me. # # NOTE: If you would like to let me know how to improve N900 compiliations, please let me know. I did the compilations directly within the N900. This is what gets shown for the programs. tree: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped pwgen: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped xclip: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped |
All times are GMT. The time now is 20:22. |
vBulletin® Version 3.8.8