Automating, passwd command replies, "Need the secret key to do this."

Thomas Gagné tgagne at wideopenwest.com
Tue May 13 22:05:05 CEST 2008


Following the instructions for creating a subkey seem 
straightforward.<http://www.gnupg.org/documentation/faqs.html#q4.14>, 
but I run into a problem after moving secring.auto and the "public 
keyring" to a test directory.  First, I'm unsure which file(s) is the 
"public keyring."

At the end, the instructions say to use the "passwd" command to remove 
the passphrase.  Did I not copy the right file?

    tgagne:/home/tgagne/test ls -ltr
    total 8
    4 -rw-rw-r-- 1 tgagne users 1232 2008-05-13 15:47 secring.auto
    4 -rw------- 1 tgagne users 2409 2008-05-13 15:50 pubring.gpg

    gagne:/home/tgagne/test gpg --homedir . --edit load_affinia
    gpg: WARNING: unsafe permissions on homedir `.'
    gpg (GnuPG) 2.0.4-svn0; Copyright (C) 2007 Free Software Foundation,
    Inc.
    This program comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it
    under certain conditions. See the file COPYING for details.

    gpg: keyring `./secring.gpg' created

    gpg: ./trustdb.gpg: trustdb created
    pub  1024D/FC9B4089  created: 2008-05-13  expires: never       usage: SC
                         trust: unknown       validity: unknown
    sub  1024D/21AF94BC  created: 2008-05-13  expires: never       usage: S
    [ unknown] (1). load_affinia (Affinia File Transfer Key)
    <support at instreamfinancial.com>

    Command> passwd
    Need the secret key to do this.


-- 
Visit <http://tggagne.blogspot.com/> for more great reading.




More information about the Gnupg-users mailing list