On Mon, 18 Jun 2012 11:16, quanngu...@mbm.vn said: > gpgsm: gpgsm: GPG_TTY has not been set - using maybe bogus default
Fix this! See the manual or the man page. > `/home/hongquan/.gnupg/private-keys-v1.d/89E5CF0B2581EE779B2CF2D849EE991DEE0E1A17.key' > > already exists Well, you already imported the private key. > gpgsm: total number processed: 4 > gpgsm: unchanged: 3 > gpgsm: secret keys read: 1 > gpgsm: secret keys unchanged: 1 Why do you think you will see a new entry in the secret key listing, if nothing changed? > How about importing from PEM file? Is there a command to do that? gpgsm detects armor or binary itself. If you want to tell it explicitly, use one of --assume-{armor,binary,base64}. It is all in the manual. Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users