From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 601867943936 X-Google-Groups: supmua X-Google-Thread: 3030fda1bf,f9f4b5968d79362e X-Google-Attributes: gid3030fda1bf,domainid0,public,googlegroup X-Google-NewGroupId: yes X-Received: by 10.112.25.7 with SMTP id y7mr9906408lbf.21.1426599217887; Tue, 17 Mar 2015 06:33:37 -0700 (PDT) X-BeenThere: supmua@googlegroups.com Received: by 10.152.42.178 with SMTP id p18ls32062lal.68.gmail; Tue, 17 Mar 2015 06:33:37 -0700 (PDT) X-Received: by 10.112.198.34 with SMTP id iz2mr10039885lbc.22.1426599217402; Tue, 17 Mar 2015 06:33:37 -0700 (PDT) Return-Path: Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com. [2a00:1450:400c:c00::22f]) by gmr-mx.google.com with ESMTPS id ew13si133594wid.0.2015.03.17.06.33.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Mar 2015 06:33:37 -0700 (PDT) Received-SPF: pass (google.com: domain of valentin.reis@gmail.com designates 2a00:1450:400c:c00::22f as permitted sender) client-ip=2a00:1450:400c:c00::22f; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of valentin.reis@gmail.com designates 2a00:1450:400c:c00::22f as permitted sender) smtp.mail=valentin.reis@gmail.com; dkim=pass header.i=@gmail.com; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com Received: by wggv3 with SMTP id v3so8636798wgg.1 for ; Tue, 17 Mar 2015 06:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:from:to:subject:in-reply-to:references:date:message-id :user-agent:content-transfer-encoding; bh=7uVYzeKTbaHdlKfBR9KdNeS9XKqpbE7lful3LSZsx04=; b=gg+bZ0IAZio2mU9nI3lLW9DWlzzlzuJUbEg/0C9MGvP5B7qwI27/xHWca6hOPiPpkh qARo2W9rwNiXv/orN4LPsG2QW66mhEzaMS4XtiPRI7vK4pnXZw/JV8zWBqwezUeWf36D yscNU4ZcTpvAE1WWDkDn8R9+AS+YgTdgf1/W2bdZK39F5DibDuvW8V4u7s+GbUUPkWRL dOp2lpIxvQSmsbqT3sHgIWOebXEFmJttAF1C/aaiomJ+FSPWwhDMpGM6rPul3TH2oZ2A czxwBPg6qHKPAqJdtVkUIbqWuXYea7wdeSq16IMLxJghtq5pwjbLfAMWTzfM9IZ9aNGl dA2Q== X-Received: by 10.195.13.168 with SMTP id ez8mr130617495wjd.30.1426599217301; Tue, 17 Mar 2015 06:33:37 -0700 (PDT) Return-Path: Received: from localhost ([2001:6a0:5001:2:2445:2f49:aa84:41c4]) by mx.google.com with ESMTPSA id dx11sm19991888wjb.23.2015.03.17.06.33.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Mar 2015 06:33:36 -0700 (PDT) Content-Type: text/plain; charset=UTF-8 From: Valentin Reis To: supmua Subject: Re: [sup] gpg-agent issue In-reply-to: <1426598955-sup-8868@repos> References: <1426596032-sup-4861@frex230> <1426598955-sup-8868@repos> Date: Tue, 17 Mar 2015 14:33:34 +0100 Message-Id: <1426599142-sup-8830@frex230> User-Agent: Sup/0.20.0 Content-Transfer-Encoding: 8bit Hi, I just figured the same thing here :) Thanks for the fast answer. Indeed, I started sup-mail using a separate script which does not export the environment variable. Thanks for the help. Valentin Excerpts from Johannes Larsen's message of 2015-03-17 14:31:08 +0100: > gpg-agent caches the passphrase for a limited time (a couple of hours if > remember correctly). to check if this is the problem try signing a file > (thereby providing gpg-agent with a passphrase) then start sup in the > same shell and check if its signs emails. the time gpg-agent caches the > passphrase can be changed with: (~/.gnupg/gpg-agent.conf) > > max-cache-ttl > > if the passphrase caching is not the problem you might have initiated > gpg-agent insufficiently. this is what I source from ~/.bashrc to > initiate the gpg-agent or connect to a running gpg-agent: > > if [ -f "${HOME}/.gpg-agent-info" ]; then > . "${HOME}/.gpg-agent-info" > export GPG_AGENT_INFO > fi > gpg-agent --daemon --write-env-file "${HOME}/.gpg-agent-info" --quiet &> /dev/null > export GPG_TTY=$(tty) > > if you read `man gpg-agent` it mentions that exporting GPG_TTY is > important, so if you do not do this already, it might be a good place to > start. > > -- > johs (Johannes Larsen), (+47) 41435451 > --