Re: [pass] I can't make work the zsh autocomplete

2012-12-02 Thread Jason A. Donenfeld
://github.com/robbyrussell/oh-my-zsh/pull/1386 I just had to copypaste the script :o) Please let me know if you have any concerns. Best regards, @sanbor On Thu, Nov 1, 2012 at 1:24 AM, Jason A. Donenfeld ja...@zx2c4.com wrote: On Wed, Oct 31, 2012 at 7:00 PM, Santiago Borrazás san...@gmail.com

Re: [pass] kedpm conversion script

2012-12-02 Thread Jason A. Donenfeld
Hi Antoine, Seems reasonable to me. Added to the repo: http://git.zx2c4.com/password-store/tree/contrib/kedpm2pass.py I'll put a link on the project page to it now. Jason On Sun, Dec 2, 2012 at 9:50 PM, Antoine Beaupré anar...@orangeseeds.orgwrote: On 2012-12-02, Jason A. Donenfeld wrote

Re: [pass] Script to import from the Revelation password manager

2013-01-18 Thread Jason A. Donenfeld
On Fri, Jan 18, 2013 at 11:26 AM, Emanuele Aina e...@nerd.ocracy.org wrote: Any news for the patch? Committed here: http://git.zx2c4.com/password-store/commit/?id=a9f34015d3121cfcdfdae3bba69f25a7460520b5 File here: http://git.zx2c4.com/password-store/tree/contrib/revelation2pass.py

Re: [pass] Make show/ls/list follow links

2013-02-22 Thread Jason A. Donenfeld
Hey Marvin, Just got home and I merged your patch. Tree _should_ follow symlinks, because it could be useful for some circumstances. At the moment, I can't see any drawbacks to enabling this. Anybody on the list see any potential issues? Brian? That said -- yes, if you are sharing your password

Re: [pass] import counterpane?

2013-03-27 Thread Jason A. Donenfeld
On Wed, Mar 27, 2013 at 3:04 PM, David Sklar david.sk...@gmail.com wrote: I am slightly embarrassed at the code quality at this point but perhaps contributing it is the best way to see it improved. I have no problem contributing it under GPLv2+ as you suggest. Great.

[pass] New Mailing List Server

2013-05-02 Thread Jason A. Donenfeld
Hey guys, Changing mailing list servers. The new list info link is http://lists.zx2c4.com/mailman/listinfo/password-store . Excuse the administrivia -- consider this a test message for the new list. Archives should be restored shortly. password-store@lists.zx2c4.com remains the email address for

Re: [pass] Pull-Request: Keepass2 import script

2013-05-18 Thread Jason A. Donenfeld
Hi Stefan, Thanks for the contribution! I've merged it into the tree here: http://git.zx2c4.com/password-store/tree/contrib/keepass2pass.py And there's a link to it on the main pass page. Let me know how pass goes for you and if you have any tweaks or features you'd like. Jason

Re: [pass] [PATCH] Team pass: enable multiple keys and per directory

2014-03-19 Thread Jason A. Donenfeld
On Wed, Mar 19, 2014 at 4:11 AM, Jan-Frode Myklebust janfr...@tanso.netwrote: Next feature request would be to allow each team to have their own git repository, instead of having everything in the same repo.. That would allow me to use pass for managing both work and private passwords. To

Re: [pass] [PATCH] Team pass: enable multiple keys and per directory

2014-03-19 Thread Jason A. Donenfeld
On Wed, Mar 19, 2014 at 4:11 AM, Jan-Frode Myklebust janfr...@tanso.netwrote: Next feature request would be to By the way, any review and second-pair-of-eyeballs on the patch posted above would be much appreciated. I don't want to break anything or go with a subpar design, so I'm open to all

Re: [pass] [PATCH] Team pass: enable multiple keys and per directory

2014-03-19 Thread Jason A. Donenfeld
On Wed, Mar 19, 2014 at 7:01 AM, Josh Cartwright jo...@eso.teric.us wrote: How do you deal with getting all the team's public keys to all the users? Or is that outside the scope of this patch? Perhaps instead of maintaining a .gpg_id key list, a keyring with the teams' public keys should

Re: [pass] [PATCH] Team pass: enable multiple keys and per directory

2014-03-19 Thread Jason A. Donenfeld
On Wed, Mar 19, 2014 at 12:31 PM, Brian Shore br...@networkredux.comwrote: I don't understand the intended use of PASSWORD_STORE_KEY. What is the use case for over-riding the .gpg-id contents? This was used inside bash aliases for team pass before I wrote the code of this patch. Also, I

Re: [pass] [PATCH] Team pass: enable multiple keys and per directory

2014-03-19 Thread Jason A. Donenfeld
On Wed, Mar 19, 2014 at 11:38 AM, Brian Shore br...@networkredux.comwrote: On Wed, Mar 19, 2014 at 10:06 AM, Jan-Frode Myklebust janfr...@tanso.net wrote: I agree it's a pain to distribute, and change keys, but am uncertain about if I'd want to blindly trust a keyring distributed together

Re: [pass] [PATCH v2] Team pass: enable multiple keys and per directory

2014-03-19 Thread Jason A. Donenfeld
this; I really appreciate it. If you'd like to read through the entire pass source http://git.zx2c4.com/password-store/tree/src/password-store.sh and critique the hell out of it, I'd be even more appreciative. On 2014-03-19 17:04, Jason A. Donenfeld wrote: [...] + if [[ -n $PASSWORD_STORE_KEY

[pass] [PATCH] Do not race on clipping.

2014-03-20 Thread Jason A. Donenfeld
We use a simple pid lock file, and if another pass instance is going to restore the clipboard, we simply restore to blank. --- This is untested. Before I spend the time debugging this, what do you think of the approach? I know there were some opinions on the list about just restoring the clipboard

Re: [pass] GPG Compression and Authenticity

2014-03-20 Thread Jason A. Donenfeld
On Wed, Mar 19, 2014 at 8:06 AM, Alfredo Pironti alfredo.piro...@inria.fr wrote: Using git-level signature ensures integrity of the data on the remote repository, but not of the local data. Actually it's possible to ensure before touching the git repository that the filesystem is in sync with

Re: [pass] Concurrency issue with --clip

2014-03-20 Thread Jason A. Donenfeld
On Sun, Mar 9, 2014 at 10:00 PM, Michael Ren micro...@gmail.com wrote: Pass --clip spawns a subshell which sleeps for 45 seconds and then restores the previous contents of the clipboard. If another instance of pass --clip runs before the previous instance finishes sleeping, the second instance

Re: [pass] GPG Compression and Authenticity

2014-03-20 Thread Jason A. Donenfeld
On Wed, Mar 19, 2014 at 8:06 AM, Alfredo Pironti alfredo.piro...@inria.fr wrote: Using git-level signature ensures integrity of the data on the remote repository, but not of the local data. Hence, you get protection from attackers controlling a git repository, but not from attackers being able

Re: [pass] GPG Compression and Authenticity

2014-03-20 Thread Jason A. Donenfeld
On Wed, Mar 19, 2014 at 1:15 AM, Siim Põder s...@p6drad-teel.net wrote: With this in mind (unless there is a more serious threat I'm overlooking or a dead-simple fix in pass) your suggestion sounds appropriate.

Re: [pass] Allow multiple GPG keys

2014-03-20 Thread Jason A. Donenfeld
On Fri, Mar 7, 2014 at 12:28 PM, Michael Howe mich...@michaelhowe.org wrote: Having it managed by git. The obvious use-case here being for shared password storage for a team, where you want to ensure that adding a new key (or removing an old one) means everyone's config is updated

Re: [pass] passmenu, a dmenu frontend for pass

2014-03-20 Thread Jason A. Donenfeld
On Thu, Mar 6, 2014 at 8:28 PM, Chris Down ch...@chrisdown.name wrote: To scratch my own itches, I made a tiny program called passmenu[0] that allows me to copy passwords using dmenu. This means you no longer have to open up a scratchpad to copy a password (which at least for me comprises 99%

Re: [pass] I had to change GPG=gpg to GPG=gpg2

2014-03-20 Thread Jason A. Donenfeld
Pass requires gpg2. I think. If you can demonstrate to me that all code paths use no gpg2-specific features, I'll make it support both. But I *think* long ago I was relying on a gpg2-only argument somewhere. ___ Password-Store mailing list

Re: [pass] Pass hack on Android...

2014-03-20 Thread Jason A. Donenfeld
Any updates on this? I'd love to see an Android app. ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] [PATCH] Add support for signing passwords

2014-03-20 Thread Jason A. Donenfeld
Rather than signing individual passwords, I've opted to using signed git commits. This has the added benefit of preventing file-system level renames and swaps. ___ Password-Store mailing list Password-Store@lists.zx2c4.com

Re: [pass] [PATCH] Fix mkdir for pass.bash-completion installation

2014-03-20 Thread Jason A. Donenfeld
http://git.zx2c4.com/password-store/commit/?id=048f5c1ac3f1dde7e882b5116a0f6af975fbe073 Merged! Thanks. ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] [PATCH] make clipboard clear time configurable

2014-03-20 Thread Jason A. Donenfeld
http://git.zx2c4.com/password-store/commit/?id=1502330deb288cf87a706f71e2afb020dfd51061 Merged! ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] [PATCH] Fix argument order for mktemp

2014-03-20 Thread Jason A. Donenfeld
Merged! Thanks. http://git.zx2c4.com/password-store/commit/?id=884e9337426a6e64aa85252ac854fbbe2f4574cd ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] [PATCH 1/2] Prefer bash parameter expansion over basename(1)

2014-03-20 Thread Jason A. Donenfeld
Merged,thanks. ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] [PATCH] Follow symlinks in Zsh completion

2014-03-20 Thread Jason A. Donenfeld
Merged. Thanks! ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] [PATCH] fix man page bug in generate -c example

2014-03-20 Thread Jason A. Donenfeld
Merged! Thanks. ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] [patch] Adding a cp command.

2014-03-20 Thread Jason A. Donenfeld
Can you resubmit this with all the completions and usage/man page situations? ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] I had to change GPG=gpg to GPG=gpg2

2014-03-20 Thread Jason A. Donenfeld
On Thu, Mar 20, 2014 at 2:12 AM, Matthieu Weber mwe...@free.fr wrote: It's the --batch option, but it's needed only if you have a gpg-agent running. I sent a patch on August 12th, 2013 Care to modernize and resubmit? ___ Password-Store mailing list

Re: [pass] [PATCH v2] Team pass: enable multiple keys and per directory

2014-03-20 Thread Jason A. Donenfeld
On Thu, Mar 20, 2014 at 4:46 AM, Brian Shore br...@networkredux.com wrote: What happens if the user copies something else to the clipboard a few seconds before pass blanks it? Copying something non-sensitive and having that data mysteriously disappear from the clipboard is counter-intuitive

Re: [pass] passmenu, a dmenu frontend for pass

2014-03-20 Thread Jason A. Donenfeld
On Thu, Mar 20, 2014 at 9:47 AM, Chris Down ch...@chrisdown.name wrote: Jason A. Donenfeld writes: Would you like to maintain this nice script inside the contrib/ directory in the pass repo? Sure, do you want to submodule it or move it directly? I was thinking direct, and then I could give

Re: [pass] [PATCH] Fixed 'missing working tree' for 'pass git pull'

2014-03-21 Thread Jason A. Donenfeld
I can't seem to reproduce this: zx2c4@thinkpad ~ $ pass generate test/test 12 mkdir: created directory '/home/zx2c4/test' [master 7901917] Added generated password for test/test to store. 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 test/test.gpg The generated password to

Re: [pass] [PATCH] GPG improvements

2014-03-21 Thread Jason A. Donenfeld
This seems to have some X_SELECTION business in it. Perhaps you had your own private patch for this, and didn't bother rebasing against the current master, that has this http://git.zx2c4.com/password-store/commit/?id=2e1520beddcea65cb1857a50e9ec5c91621a96d1 applied to it since about 44 hours ago.

Re: [pass] Problem detecting `getopt' on Mac OS X with MacPorts installed

2014-03-21 Thread Jason A. Donenfeld
On Thu, Mar 20, 2014 at 7:24 AM, Matthew Cengia matt...@gmail.com wrote: I usually work around this by using getopts (shell builtin) rather than getopt, and forfeit shiny management of long options. It's a trade-off I'm usually happy to make, but this is tricker when you've had long options

[pass] Request: Completion Files

2014-03-21 Thread Jason A. Donenfeld
Hey guys, The init command now takes -p PATH or --path=PATH. Would somebody well versed volunteer to send a patch which updates the completion files for this? (I didn't write them.) Thanks, Jason ___ Password-Store mailing list

[pass] The Road to 1.5

2014-03-21 Thread Jason A. Donenfeld
Hey folks, Right now we're at 640 insertions(+), 95 deletions(-) since 1.4.2. A 1.5 is due soon. I'm going to be away for the next two weeks. When I return I'll be spending a week merging and regression testing. From now until, say, April 7, feel free to git-send-email any patches you'd like

Re: [pass] [PATCH v2] clip: don't race between pass instances in restore

2014-03-22 Thread Jason A. Donenfeld
On Thu, Mar 20, 2014 at 7:57 AM, Matthew Cengia matt...@gmail.com wrote: On 2014-03-21 00:54, Matthew Cengia wrote: [...] while read -r pid cmd; do [[ $cmd = $sleep_argv0* ]] kill -9 $pid; done (ps -opid=,args= -u$(id -u)) sleep 0.1 What do you make of this one? - kill -9 $(grep -l -r

Re: [pass] [PATCH v2] clip: don't race between pass instances in restore

2014-03-22 Thread Jason A. Donenfeld
On Mar 22, 2014 12:42 AM, Matthew Cengia matt...@gmail.com wrote: If you're happy relying on that, I won't object. I didn't suggest pkill because it's not POSIX, and aside from Bash, I usually try to stick to external binaries that are POSIX-compliant. As you say though, both OSX and FreeBSD

Re: [pass] [PATCH v2] clip: don't race between pass instances in restore

2014-03-22 Thread Jason A. Donenfeld
On Mar 22, 2014 1:15 AM, Matthew Cengia matt...@gmail.com wrote: On 2014-03-22 01:01, Jason A. Donenfeld wrote: [...] By the way, can you think of any way to wait for the ppid to exit, that's less racy than sleep or polling? We can't wait() because we aren't the parent, and inotify

Re: [pass] [PATCH v2] clip: don't race between pass instances in restore

2014-03-22 Thread Jason A. Donenfeld
On Mar 22, 2014 1:31 AM, Matthew Cengia Apparently not. The manpage as at OSX 10.9.2 is attached; it's pretty primative. Perhaps osascript... will look in the airport. ___ Password-Store mailing list Password-Store@lists.zx2c4.com

Re: [pass] [PATCH] GPG improvements

2014-03-22 Thread Jason A. Donenfeld
On Sat, Mar 22, 2014 at 1:32 PM, Matthieu Weber mwe...@free.fr wrote: The patch will follow soon. Beatcha to it. We're overlapping by minutes! http://git.zx2c4.com/password-store/commit/?id=a41ce86e2315202311765cba144be71b36f90e82 ___

Re: [pass] passmenu, a dmenu frontend for pass

2014-03-22 Thread Jason A. Donenfeld
Linked on www.zx2c4.com/projects/password-store now. ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] [PATCH 2/2] User heredoc in gpg-id unset

2014-03-24 Thread Jason A. Donenfeld
Implemented in 8500984. -- Jason A. Donenfeld Deep Space Explorer fr: +33 6 51 90 82 66 us: +1 513 476 1200 www.jasondonenfeld.com www.zx2c4.com zx2c4.com/keys/AB9942E6D4A4CFC3412620A749FC7012A5DE03AE.asc ___ Password-Store mailing list Password-Store

Re: [pass] The Road to 1.5

2014-03-24 Thread Jason A. Donenfeld
have been proposed on this list before and there are a few patches hanging around. -- Jason A. Donenfeld Deep Space Explorer fr: +33 6 51 90 82 66 us: +1 513 476 1200 www.jasondonenfeld.com www.zx2c4.com zx2c4.com/keys/AB9942E6D4A4CFC3412620A749FC7012A5DE03AE.asc

Re: [pass] pass (not clearing my clipboard)

2014-03-24 Thread Jason A. Donenfeld
Hey John, I'm on vacation in Argentina right now and don't have access to a computer to debug this. We've done quite a bit of work recently making clipboard support more bombproof for 1.5, but I suspect these won't fix your problems. I'll have a look at parcellite when I'm home in a few weeks. In

Re: [pass] [PATCH] Added 'rename' command

2014-03-25 Thread Jason A. Donenfeld
On Mar 25, 2014 2:22 PM, Matthieu Weber mwe...@free.fr wrote: +\fInew-pass-name\fP cannot be just a directory name (such as \fIMail\fP) but +it must end with a file name (e.g., \fIMail/gmail\fP). Any way to work around this restriction? Perhaps by using the ask option of mv, and checking the

Re: [pass] [PATCH] Add find/search command

2014-04-05 Thread Jason A. Donenfeld
Any update on this? On Fri, Apr 5, 2013 at 12:40 PM, Brian Mattern reph...@rephorm.com wrote: Sorry, I've been busy at a friend's wedding with only spotty internet. Haven't had a chance to pass it along. Probably won't until early next week. Brian On Fri, 05 Apr 2013, Jason A. Donenfeld

Re: [pass] Handling errors in pipes

2014-04-12 Thread Jason A. Donenfeld
Thanks Matthew. Incorporated your suggestion here: http://git.zx2c4.com/password-store/commit/?id=2eaca82585204ffd37f7f5d3e397b2ac56638b40 ___ Password-Store mailing list Password-Store@lists.zx2c4.com

Re: [pass] [PATCH] Add find/search command

2014-04-12 Thread Jason A. Donenfeld
On Sun, Apr 6, 2014 at 4:32 AM, Brian Mattern brian.matt...@gmail.comwrote: It looks like I sent the patch to ice+t...@mama.indstate.edu on 4/18/2013, but never heard back. I got that email address from the website: http://mama.indstate.edu/users/ice/tree/ (Email me link). I tend to not use

[pass] Preparing Release

2014-04-12 Thread Jason A. Donenfeld
Any last minute changes for 1.5 should come in ASAP! ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

[pass] [ANNOUNCE] pass v1.5 released, with support for 'team pass'

2014-04-12 Thread Jason A. Donenfeld
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, Pass is the standard unix password manager. We have just finished version 1.5. This is a massive release, coming around 18 months since our last. We've incorporated tons of fixes and added some nice new features, including the much

[pass] plain-text in edit mode [Was: Re: pass freebsd hack?]

2014-04-13 Thread Jason A. Donenfeld
On Sun, Apr 13, 2014 at 1:50 PM, Job Snijders j...@instituut.net wrote: I've also noticed that passwords are available in plain-text while in 'edit'-mode on a temporary mounted filesystem. Do you have plans to change this design and keep it strictly in memory, only accessible by the 'pass'

Re: [pass] [ANNOUNCE] pass v1.5 released, with support for 'team pass'

2014-04-13 Thread Jason A. Donenfeld
Thanks for the bump Alexis! How about the other distros? Arch? Debian? Fedora? (I'll do Gentoo later today.) ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] [PATCH] Importer for 1Password

2014-04-13 Thread Jason A. Donenfeld
Excellent, thanks! I've merged your commit and linked to your script on the homepage. Thanks a bunch Tobias, really appreciate it. Jason ___ Password-Store mailing list Password-Store@lists.zx2c4.com

Re: [pass] [PATCH] tree: add matchdir flag for pass

2014-04-14 Thread Jason A. Donenfeld
Hi again, The latest version of our --matchdirs patch can be found here: http://git.zx2c4.com/password-store/plain/contrib/tree-1.6.0-matchdirs.patch Please apply this. Thanks, Jason ___ Password-Store mailing list Password-Store@lists.zx2c4.com

Re: [pass] bash completion name

2014-04-14 Thread Jason A. Donenfeld
Thanks for pointing this out! Fixed in the master branch. ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] [PATCH] Added multiline comment support for KeepassX importer

2014-04-15 Thread Jason A. Donenfeld
Merged thanks ! On Apr 15, 2014 1:31 PM, Lukas Zapletal l...@redhat.com wrote: SSIA -- Later, Lukas lzap Zapletal irc: lzap #theforeman ___ Password-Store mailing list Password-Store@lists.zx2c4.com

Re: [pass] There is no assurance this key belongs to the named user

2014-04-15 Thread Jason A. Donenfeld
You need to trust that key by signing it, probably. But before you do that, would you test if adding --trust-model always to the relevant $GPG invocation suppresses that message? And if it does, mailing list: do we want to add this? ___ Password-Store

Re: [pass] pass v1.5 (almost clears my clipboard)

2014-04-16 Thread Jason A. Donenfeld
Okay I've just spent some time with the Parcellite source code. While there is some FIFO IPC, it doesn't support clearing the clipboard history. With klipper, pass has the line qdbus org.kde.klipper /klipper org.kde.klipper.klipper.clearClipboardHistory /dev/null. Parcellite has no such

Re: [pass] There is no assurance this key belongs to the named user

2014-04-16 Thread Jason A. Donenfeld
On Wed, Apr 16, 2014 at 4:31 AM, Nathan Typanski ntypan...@gmail.com wrote: On 04/16, Jason A. Donenfeld wrote: [...] adding --trust-model always to the relevant $GPG invocation suppresses that message? [...] mailing list: do we want to add this? I will argue a resounding NO. Please note

Re: [pass] FreeBSD Port: sysutils/password-store

2014-04-16 Thread Jason A. Donenfeld
On Wed, Apr 16, 2014 at 5:23 PM, milki mi...@rescomp.berkeley.edu wrote: On 13:10 Wed 16 Apr , Jason A. Donenfeld wrote: Setuiding mdconfig will probably result in some kind of local priv escalation bug. I don't want to do that. Right, so I recommend removing the freebsd.sh from platform

Re: [pass] pass in cygwin

2014-04-17 Thread Jason A. Donenfeld
Hi Brandon, On Thu, Apr 17, 2014 at 4:31 AM, Brandon Jones jones.brandon@gmail.com wrote: Hi Jason, I've made a few changes to get pass working (mostly) in Cygwin. I'm going to attach the code. It was just a few basic changes. You can also find some details on my blog:

Re: [pass] [PATCH] Added 'rename' command

2014-04-17 Thread Jason A. Donenfeld
Okay I did it: http://git.zx2c4.com/password-store/commit/?id=a408bb5bd663694578579c170e5064861f1b72ca PLEASE TEST THIS FROM ALL EDGE CASES AND OBSCURE ANGLES. TRY TO BREAK IT. IT IS MOST LIKELY BROKEN. Really. Please test. Let me know what works and what doesn't. Submit patches to make it more

Re: [pass] pass in cygwin

2014-04-17 Thread Jason A. Donenfeld
On Apr 17, 2014 4:31 PM, Brandon Jones jones.brandon@gmail.com wrote: Hi Jason, Please remember to keep the list CCd. Manually changing the function worked, so that's all good. Do NOT manually change the function. Do not modify /usr/bin/pass or src/password-store.sh. Instead ONLY modify

[pass] Wanted: Test Suite

2014-04-17 Thread Jason A. Donenfeld
Hey guys, Pass is getting complex. There are lots of edge cases now. I think I'd like an automated testing suite, like what we have with cgit (copying Lukas on this mail). Would somebody step up and make a really nice automated test suite? I'd be happy to give you commit access to that subfolder

Re: [pass] Pass on Maemo

2014-04-17 Thread Jason A. Donenfeld
On Apr 18, 2014 12:05 AM, Adam Wellings ska...@kapin.co.uk wrote: 1) Pass calls gpg2, whereas gpg on Maemo is gpg. Initially I edited the script to change the calls to gpg - but when I resolve the other issues, I'll reinstall pass and instead set-up a link to from gpg2 to gpg. As of pass

Re: [pass] reencryption: only happens when required now

2014-04-17 Thread Jason A. Donenfeld
On Fri, Apr 18, 2014 at 1:44 AM, Jason A. Donenfeld ja...@zx2c4.com wrote: Question: Now that reencryption only happens when needed, perhaps we should remove the --reencrypt option from init, cp, and mv, and have it just happen automatically as needed? This would look like this: http

Re: [pass] Wanted: Test Suite

2014-04-18 Thread Jason A. Donenfeld
Hey Von, Excellent! Glad to hear it. Regarding test harnesses, we probably want to be using this: http://mlafeldt.github.io/sharness/. It's been extracted from the git test harness and follows this protocol: http://en.wikipedia.org/wiki/Test_Anything_Protocol. A non exhaustive list of things I

Re: [pass] [PATCH] Added -t/--tail option for show

2014-04-18 Thread Jason A. Donenfeld
Should we then also have a -h/--head too? Perhaps instead -c should take an optional integer argument. Positive numbers indicate the first X lines. Negative numbers indicate the last X lines. What would you think of this? ___ Password-Store mailing list

Re: [pass] Wanted: Test Suite

2014-04-18 Thread Jason A. Donenfeld
- Are empty folders pruned for rm, cp, mv, init (when is the argument) [with git, and without git] - Are git commits happening as planned? Are they being signed when signing is enabled? ___ Password-Store mailing list

[pass] AFK til Tuesday

2014-04-18 Thread Jason A. Donenfeld
Hey folks, I realize pass devel has been crazy lately, and we've got a domain coming through the pipeline, but I'm going to be away from the keyboard until Tuesday for Easter. In the meantime: - Keep debating possible domain names! - Test harness? - Test all the new code -- there's

Re: [pass] [PATCH] Reorganize build process

2014-04-19 Thread Jason A. Donenfeld
On Sat, Apr 19, 2014 at 11:40 PM, Lukas Fleischer i...@cryptocrack.dewrote: Ok. Just in case it wasn't clear: m4 is only needed during the build process, not during execution. The whole platform code is inlined. m4 is also available on every platform I know of and it is the standard tool for

Re: [pass] password-store Emacs package

2014-04-22 Thread Jason A. Donenfeld
Totally awesome! Thanks for sending this along, Svend. I've added a link to it here: http://git.zx2c4.com/password-store/tree/contrib/related-projects.txt Of course, if you'd like for this project to live directly in contrib/emacs, I'd be happy to give you commit access to that directory. Just

[pass] New Domain Status

2014-04-22 Thread Jason A. Donenfeld
Suggestions are running slim for our new domain. Here's what we've got on the table right now: - password-store.org - passwordstore.org - passunix.org - passutil.org - passutility.org - passwordutility.org - password.land - passmanager.org - pass-manager.org -

Re: [pass] Importing tests

2014-04-22 Thread Jason A. Donenfeld
On Wed, Apr 23, 2014 at 4:01 AM, Von Welch v...@vwelch.com wrote: It'd be nice if you could develop consistent style for $variable vs ${variable}, but for the most part, things look okay now. I tend to use the brackets if I think it makes for easier-to-read code, but it's fairly subjective

Re: [pass] Importing tests

2014-04-22 Thread Jason A. Donenfeld
At some point you're going to want to resolve the keys of a .gpg file or of a key-id-name. Be sure to study the tricks used in reencrypt_path: http://git.zx2c4.com/password-store/tree/src/password-store.sh#n87 Resolve ids from .gpg files: gpg -v --list-only --keyid-format long $passfile 21 | cut

[pass] tests: reencryption

2014-04-23 Thread Jason A. Donenfeld
Hey Von, Lukas, Here's a biggie I've started on: http://git.zx2c4.com/password-store/tree/tests/t0300-reencryption.sh And that's only the top of the variations. Plus all this needs to be checked when git is enabled, and git enabled with signing... Wowza. Complex test suite we have in progress.

Re: [pass] commit message tense

2014-04-23 Thread Jason A. Donenfeld
Good point. I guess I just have a different hat on when writing code (to make commits) versus actually making commits. I agree present tense makes more sense. Send a patch cleaning that up, and I'll merge it? ___ Password-Store mailing list

Re: [pass] commit message tense

2014-04-23 Thread Jason A. Donenfeld
On Wed, Apr 23, 2014 at 6:43 PM, Paul Schwendenman schwendenman.p...@gmail.com wrote: I thought because the tool was making the commits it made more sense to have them be past tense. Or that. I could go either way. Debate amongst yourselves and I'm happy to merge or not merge whatever.

Re: [pass] password-store Emacs package

2014-04-23 Thread Jason A. Donenfeld
You can now do this: git clone ssh://g...@git.zx2c4.com/password-store I'm using your keys from github. You should be able to commit to the contrib/emacs directory. I've imported your old repo into there. Please keep this up to date. ___

[pass] Imported passmenu

2014-04-23 Thread Jason A. Donenfeld
Hi Chris, I've imported passmenu into the contrib folder: http://git.zx2c4.com/password-store/tree/contrib/dmenu You should now have commit access to that directory. Please keep it up to date: $ git clone ssh://g...@git.zx2c4.com/password-store I'm using your SSH keys from github. Let me know

[pass] tree 1.7.0 released

2014-04-23 Thread Jason A. Donenfeld
Hey guys, The next version of pass will rely on tree =1.7.0. The 1.7.0 version was released about an hour ago. Would you guys bug your distro maintainers to bump the tree version so it's ready to go by the time we bump pass? I've already bumped it in gentoo. Jason

[pass] pass 1.6 coming soon

2014-04-23 Thread Jason A. Donenfeld
Hi folks, Since tree 1.7.0 was just released, we can now release the next version of pass. BUG TEST THE CURRENT GIT MASTER LIKE CRAZY! There has been ridiculous amounts of churn this release. I want to launch hitch free. Von: how's it coming with that test suite? Everyone else: if you have

Re: [pass] [PATCH] Add find/search command

2014-04-23 Thread Jason A. Donenfeld
On Sun, Apr 13, 2014 at 3:39 PM, Alexis surryh...@gmail.com wrote: Hi, I'd be interested in the patch too, so I can add it to the Mac Homebrew formula for tree, provided that tree won't be updated with the patch any time soon. The find/search functionality is one I use a lot, and would

Re: [pass] Imported passmenu

2014-04-24 Thread Jason A. Donenfeld
On Thu, Apr 24, 2014 at 4:50 AM, Chris Down ch...@chrisdown.name wrote: Sure thing, thanks. One thing is that package maintainers need to make sure they install this alongside pass for 1.6, or there will be little point in merging. Also, some folks check contrib directories manually looking

[pass] request for ebuild help: emacs addition

2014-04-24 Thread Jason A. Donenfeld
Hi Fellow Gentoo Devs, I maintain app-admin/pass. At the moment in the upstream tree, there's emacs support in the contrib folder: elisp file: http://git.zx2c4.com/password-store/tree/contrib/emacs/password-store.el cask file: http://git.zx2c4.com/password-store/tree/contrib/emacs/Cask I'd like

Re: [pass] 'pass insert' bugs

2014-04-24 Thread Jason A. Donenfeld
On Wed, Apr 23, 2014 at 3:43 PM, Von Welch v...@vwelch.com wrote: Jason, I think there is a fundamental decision here which you seem to have made, and that is pass will not auto-detect whether or not it is working with an interactive user (e.g. is stdin a terminal or pipe?) and adjust it's

Re: [pass] Help Wanted: Unit Tests

2014-04-24 Thread Jason A. Donenfeld
The test suite now runs unmodified in FreeBSD (and I imagine, by extension, in OSX), so come forth helpful helpers! ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] [feature] tree, detect overflow, use pager

2014-04-24 Thread Jason A. Donenfeld
http://git.zx2c4.com/password-store/commit/?h=pagerid=366f3d4c7cd7125a89b1a049b91a7dd9ab52ec6b In the pager branch. What would you think of something like that? ___ Password-Store mailing list Password-Store@lists.zx2c4.com

Re: [pass] Replace base64 in cygwin?

2014-04-27 Thread Jason A. Donenfeld
On Sun, Apr 27, 2014 at 9:46 PM, Stephen Schoun step...@schoun.net wrote: Still, I noticed that a month ago on the mailing list some people expressed interest in simplifying the clip() function by just emptying the clipboard after 45 seconds. Doing this would remove the base64 dependency in

Re: [pass] Makefile not compatible with dash

2014-04-28 Thread Jason A. Donenfeld
http://git.zx2c4.com/password-store/commit/?id=6292694dc1e5c9b62960ceaef9f99e1edf42d1d9 Thanks for the report. ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] copying usernames and urls

2014-04-29 Thread Jason A. Donenfeld
I'll follow this discussion and think hard about it for our next release. On my phone now, but more later. ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] copying usernames and urls

2014-04-29 Thread Jason A. Donenfeld
If you want named fields, why not just use the filesystem? $ pass -c airfrance.fr/username Password Store ├── airfrance.fr │ ├── frequentflyer │ ├── password │ └── username ├── reddit │ ├── email │ ├── password │ └── username └── zx2c4.com ├── password └── username

Re: [pass] [PATCH] generate only first line (correction)

2014-05-06 Thread Jason A. Donenfeld
newtext=$(pwgen -s -y 80) sed $'1c \\\n'$(sed 's/[\/]/\\/g' $newtext)$'\n' Here we go. ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] [PATCH] generate only first line (correction)

2014-05-06 Thread Jason A. Donenfeld
zx2c4@thinkpad ~ $ cat replacement-test.sh #!/bin/sh password=$(pwgen -s -y 900 1) oldfile=$'this is\nthe old file\nwith various\nnew lines\nand whatnot\n' [[ $password == $(sed $'1c \\\n'$(sed 's/[\/]/\\/g' $password)$'\n' $oldfile | head -n 1) ]] echo It works! zx2c4@thinkpad ~ $

Re: [pass] Fwd: Re: zsh-completion regression for BSD Sed

2014-05-06 Thread Jason A. Donenfeld
Send a patch? ___ Password-Store mailing list Password-Store@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/password-store

Re: [pass] [PATCH] generate: add --in-place option

2014-05-06 Thread Jason A. Donenfeld
Do the people of the Password Store Mailing List's Republic of Passwords support this commit? Facundo -- is this what you wanted? On Tue, May 6, 2014 at 5:24 PM, Jason A. Donenfeld ja...@zx2c4.com wrote: --- man/pass.1| 6 -- src/password-store.sh | 28

Re: [pass] contribute to password-store emacs-package

2014-05-08 Thread Jason A. Donenfeld
Svend -- Check this page out: http://devmanual.gentoo.org/eclass-reference/elisp-common.eclass/index.html. Scroll down to FUNCTIONS. There are a few functions here: elisp-install, elisp-site-file-install, I don't know anything about emacs. Any clue which of these I'd want to use for

  1   2   3   4   >