Package: gnupg
Version: 1.4.6-2
Severity: important

Hi,

When I invoke gnupg from a script, it always wants to interact with the
user if the uid has an experiation date (while signing). This is tricky
for a non-interactive script.

I do this:

$cmd = "--cert-notation '$NOTATION' --default-cert-level $CERT_LEVEL 
--sig-policy-url '$POLICY' --no-ask-cert-level --no-force-v3-sigs
--no-ask-sig-expire --expert --edit-key $long_key 'uid $found_uid_num'
sign save quit";

As you see I added the --expert switch which should prevent questions
like that.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnupg depends on:
ii  gpgv                         1.4.6-2     GNU privacy guard - signature veri
ii  libbz2-1.0                   1.0.3-6     high-quality block-sorting file co
ii  libc6                        2.5-5       GNU C Library: Shared libraries
ii  libldap2                     2.1.30-13.4 OpenLDAP libraries
ii  libreadline5                 5.2-2       GNU readline and history libraries
ii  libusb-0.1-4                 2:0.1.12-6  userspace USB programming library
ii  makedev                      2.3.1-83    creates device files in /dev
ii  zlib1g                       1:1.2.3-13  compression library - runtime

gnupg recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to