From owner-freebsd-questions@FreeBSD.ORG Wed Sep 1 13:04:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1625106564A for ; Wed, 1 Sep 2010 13:04:18 +0000 (UTC) (envelope-from jhall@socket.net) Received: from mf3.socket.net (mf3m.socket.net [216.106.88.100]) by mx1.freebsd.org (Postfix) with ESMTP id 93F6E8FC18 for ; Wed, 1 Sep 2010 13:04:18 +0000 (UTC) Received: from localhost (unknown [216.106.88.17]) by mf3.socket.net (Postfix) with SMTP id B2607ECAA6 for ; Wed, 1 Sep 2010 07:49:48 -0500 (CDT) To: freebsd-questions@freebsd.org From: jhall@socket.net X-Apparently-from: jhall@mail.socket.net X-Remote-Host: 216.106.19.47 User-Agent: Socket WebMail Date: Wed, 01 Sep 2010 07:49:48 -0500 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-Id: <20100901124948.B2607ECAA6@mf3.socket.net> Subject: GnuPG not allowing passphrase entry X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jhall@socket.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 13:04:18 -0000 Ladies and Gentlemen, I an attempting to decrypt a file using the following command line. /usr/local/bin/gpg --output /usr/local/scripts/test. --no-default-keyring --secret-keyring 09-2010.sec --keyring 09-2010.pub --always-trust --decrypt --recipient Wed_Sep_1_00_01_00_CDT_2010@abc.org /usr/local/scripts/test.gpg When doing so, I receive the following output. You need a passphrase to unlock the secret key for user: "Wed_Sep_1_00_01_00_CDT_2010 (Monthly Archive Encryption Key) " 1024-bit ELG key, ID E8E5F849, created 2010-09-01 (main key ID 557E7C04) gpg: cancelled by user gpg: encrypted with 1024-bit ELG key, ID E8E5F849, created 2010-09-01 "Wed_Sep_1_00_01_00_CDT_2010 (Monthly Archive Encryption Key) " gpg: public key decryption failed: General error gpg: decryption failed: No secret key While the prompt to enter a passphrase does appear, it is skipped without allowing me to enter anything. gpg-agent is running. I am running FreeBSD 8.0. My GnuPG version is 2.0.14 I have also tried adding the public and secret keys to the default keyring and receive the same result. Thanks for your help. Jay