Re: Generating/Exporting under another user-account(Log on as a batch job rights)
On 05/17/2013 12:57 PM, Lema KB wrote: hi all I have to generate a key-pair using another user-account (which is given right in local security settings to log on as a batch job) and export its public key. i did generate on windows cmd, but after i taped the passphrase, cmd window just dissappeared. and if i type to list keys, a window appears and closes immediately, so fast that i can't read what it writes. What would you suggest, ho can i see what it did and which keys it has under this another user? Any of your help is appreciated, thanks in advance. kiblema Which version of GnuPG are you using? If you are using 2.0.x just firing up Kleopatra shows all the keys on your key ring. If you are saying you are using a BAT file with GnuPG 1.4.x, the cmd window only stays open while the BAT file is being interpreted. If you put this on the next to last code line (I use setlocal at the start and endlocal): REM I usually put a remark before it but pause prints own message pause That will help you see the output of your various commands. But it will NOT help you if you want to see the keys or work with them from the command line. To do that, first make sure you add the folder where gpg.exe or gpg2.exe is at to your %PATH%. You may need to logout and then log back in to get the GnuPG folder added to the %PATH%. Then go to Start, (All) Programs, Accessories, and select cmd (or what ever it is named for you). In the command window which now stays up (this is now assuming you are using 1.4.x): C:\ gpg --list-keys That will let you know if the keys are there. BTW, you are STRONGLY encouraged to add the GnuPG home to your path. It is usually %ProgramFiles%\GNU\GnuPG (but you MUST fill out where %ProgramFiles% really is in the %PATH%) for GnuPG 2.x. GnuPG 1.4.x may be in a different folder than GnuPG. My machine that has both installed is turned off right now (heat wave). Did that help? HHH ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Generating/Exporting under another user-account(Log on as a batch job rights)
On Fri, 17 May 2013 14:57:53 +0200 Lema KB articulated: hi all I have to generate a key-pair using another user-account (which is given right in local security settings to log on as a batch job) and export its public key. i did generate on windows cmd, but after i taped the passphrase, cmd window just dissappeared. and if i type to list keys, a window appears and closes immediately, so fast that i can't read what it writes. What would you suggest, ho can i see what it did and which keys it has under this another user? Any of your help is appreciated, thanks in advance. kiblema I don't know if this will work, but have you tried: script -k file command -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Public sign-only RSA key not restored when importing armored backup file.
Hi, when I import the armored secret key file to restore the public and private parts of my own OpenPGP key the secret and public parts of my primary key and subkeys are restored *except* for the public part of my sign-only subkey. After the import the pubring.gpg file contains: 1. Certify-only primary RSA key (a) Encrypt-only sub-RSA key (b) Authenticate-only sub-RSA key The secring.ggp file contains: 2. Certify-only primary RSA key (a) Sign-only sub-RSA key (b) Encrypt-only sub-RSA key (c) Authenticate-only sub-RSA key Where is the public part of the sign-only sub-RSA key gone? When I restore the public key from the secret key with the gpgsplit program the previously missing public part of the sign-only sub-RSA key is back again. Any clues, why not the public parts of all secret (sub)keys are restored upon import? Many thanks in advance. Best regards TIm ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Public sign-only RSA key not restored when importing armored backup file.
Am 17.05.2013 19:52, Tim Friske schrieb: After the import the pubring.gpg file contains: How do you know that, from gpg --list-keys or from gpg --list-packets ~/.gnupg/pubring.gpg? Where is the public part of the sign-only sub-RSA key gone? Probably the real question is: Why is it not shown? Please try gpg --list-options show-unusable-subkeys --list-keys When I restore the public key from the secret key with the gpgsplit program the previously missing public part of the sign-only sub-RSA key is back again. I have to admit that this seems incompatible with my theory. Hauke signature.asc Description: OpenPGP digital signature ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users