On Sun, Apr 30, 2006 at 10:50:14PM +0200, Marcus Meissner wrote:
In general,
you should allow the user to specify the keyid, since you usually use one all the time.
That can indeed be added at a later stage, just like a test if there is a secret key available or not. Together with instructions on what to do. I now have the following below and I still get the same error: No catalog found at 'cd:///?devices%3d%2dfev%2fhdbd'. ---> LOCAL_KEY=`gpg --list-secret-keys|grep "^sec"|sed -e 's/.*\///;s/ .*//g;'|head -n 1` gpg --export -a > $CD_DIR/gpg-pubkey-${LOCAL_KEY}.asc rm $CD_DIR/content.asc echo "KEY SHA1 $(cd $CD_DIR && sha1sum gpg-pubkey-${LOCAL_KEY}.asc)" >> $CD_DIR/content gpg --detach-sign -u $LOCAL_KEY $CD_DIR/content gpg --export -a -u $LOCAL_KEY > $CD_DIR/content.key rm $CD_DIR/media.1/products.asc gpg --detach-sign -a $CD_DIR/media.1/products gpg --export -a -u $LOCAL_KEY > $CD_DIR/media.1/products.key <--- houghi -- Nutze die Zeit. Sie ist das Kostbarste, was wir haben, denn es ist unwiederbringliche Lebenszeit. Leben ist aber mehr als Werk und Arbeit, und das Sein wichtiger als das Tun - Johannes Müller-Elmau