[pass] "No public key" - help?

Matthias Beyer mail at beyermatthias.de
Sat Mar 14 13:38:56 CET 2015


Hi,

here is mine:

I'm running

    * gpg2.1.2
    * pass 1.6.5
    * bash 4.3.33

on NixOS. The output is not even close the same... surprisingly...

Output of "bash -x pass insert test":

    bash: warning: setlocale: LC_ALL: cannot change locale (en)
    + export
    PATH=/nix/store/ywz91g42p1fir3davm11k5affj64s7ar-coreutils-8.23/bin:/nix/store/wb5aj7k6237p0izlflfj3kvd69a18rcy-gnused-4.2.2/bin:/nix/store/zfr75gwya5cqfk531djpbhs0gnn41n5a-getopt-1.1.4/bin:/nix/store/bmn93al17l6ysbagg5jc6bm44xr83ylg-gnupg1compat-0/bin:/nix/store/4mhm1cl2mx8x30xi7wazzyla7g86crb8-git-2.3.0/bin:/nix/store/g75lq2kmfwx5sdqni6khv04kdklh3kq9-tree-1.7.0/bin:/nix/store/4kaxf8sf2c9k1v87bkwm52869wg25f60-pwgen-2.07/bin:/nix/store/d7b58pgi42n3wi24f93w98y114cgwhhf-xclip-0.12-svn-20140209/bin:/home/m/bin:/var/setuid-wrappers:/home/m/.nix-profile/bin:/home/m/.nix-profile/sbin:/home/m/.nix-profile/lib/kde4/libexec:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/nix/var/nix/profiles/default/lib/kde4/libexec:/run/current-system/sw/bin:/run/current-system/sw/sbin:/run/current-system/sw/lib/kde4/libexec:/home/m/archive/bin:/home/m/archive/bin
    +
    PATH=/nix/store/ywz91g42p1fir3davm11k5affj64s7ar-coreutils-8.23/bin:/nix/store/wb5aj7k6237p0izlflfj3kvd69a18rcy-gnused-4.2.2/bin:/nix/store/zfr75gwya5cqfk531djpbhs0gnn41n5a-getopt-1.1.4/bin:/nix/store/bmn93al17l6ysbagg5jc6bm44xr83ylg-gnupg1compat-0/bin:/nix/store/4mhm1cl2mx8x30xi7wazzyla7g86crb8-git-2.3.0/bin:/nix/store/g75lq2kmfwx5sdqni6khv04kdklh3kq9-tree-1.7.0/bin:/nix/store/4kaxf8sf2c9k1v87bkwm52869wg25f60-pwgen-2.07/bin:/nix/store/d7b58pgi42n3wi24f93w98y114cgwhhf-xclip-0.12-svn-20140209/bin:/home/m/bin:/var/setuid-wrappers:/home/m/.nix-profile/bin:/home/m/.nix-profile/sbin:/home/m/.nix-profile/lib/kde4/libexec:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/nix/var/nix/profiles/default/lib/kde4/libexec:/run/current-system/sw/bin:/run/current-system/sw/sbin:/run/current-system/sw/lib/kde4/libexec:/home/m/archive/bin:/home/m/archive/bin
    + exec
    /nix/store/32mnf5asp3as12p8bblhy015hrf4r965-password-store-1.6.5/bin/.pass-wrapped
    insert test
    /nix/store/4dd49ybmqlaq2xw6cb4wxrgs51zhv19s-bash-4.3-p33/bin/bash: warning:
    setlocale: LC_ALL: cannot change locale (en)
    Enter password for test: 
    Retype password for test: 
    gpg: 20CA0F94: skipped: No public key
    gpg: [stdin]: encryption failed: No public key

On 14-03-2015 13:11:47, Lucas Hoffmann wrote:
> On Sat, Mar 14, 2015 at 12:51:59PM +0100, Matthias Beyer wrote:
> > On 14-03-2015 12:04:56, Lenz Weber wrote:
> > > I just noticed you can do that without editing the pass script:
> > > just call
> > >
> > > bash -x `which pass` insert test
> > >
> >
> > This prints some "export PATH=" things before anything, but does not print
> > anything except the "No public key" thing after I typed in the password.
> 
> Here is the stderr for `bash -x pass insert test` on my machine.  Maybe
> that helps.  I'm using pass v1.6.5, gpg v2.1.2 on Arch Linux.

-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20150314/229bbc20/attachment.asc>


More information about the Password-Store mailing list