We have an urgent customer requirement for saving CSRs in PEM format instead of binary (p10), which is used currently.
Needs no fancy configuration, setting the output format via a registry key would be enough.
We have an urgent customer requirement for saving CSRs in PEM format instead of binary (p10), which is used currently.
Needs no fancy configuration, setting the output format via a registry key would be enough.
| rKLEOPATRA Kleopatra | |||
| rKLEOPATRAa8cc0911ba97 Save CSRs that were generated in PEM format with suffix .pem | |||
| rKLEOPATRA2325a4ceea06 Add setting for format of CSRs | |||
| rKLEOPATRAb1fbdb31ff44 Add setting for format of CSRs | |||
| rKLEOPATRA98c152b1b823 Save CSRs that were generated in PEM format with suffix .pem | |||
| rW Gpg4win | |||
| rWa1e7e60fb81f kleopatra: Add patches to optionally save CSRs as PEM | |||
What about always using PEM for all generated CSRs? As far as I can see, gpgsm command line always uses PEM when generating CSRs.
Also backported for VSD 3.4.
The corresponding config option (which defaults to false) is
[CMS] SaveCSRAsPEM=true
Works with VS-Desktop-4.0.90.1203-Beta when putting this in C:\Program Files\GnuPG VS-Desktop\share\kleopatrarc
CSR is then saved as .pem file with ascii-armored content.
What does not work is putting it in C:\Users\USERNAME\AppData\Roaming\Gpg4win\kleopatrarc
Is this intended?
And I also did not manage to configure this via the Windows Registry. Setting Computer\HKEY_LOCAL_MACHINE\SOFTWARE\GNU\Kleopatra\CMS\SaveCSRAsPEM=true does not work. Setting it to "1" dito.
config file: Sorry, I got confused, it has to be %APPDATA%\GnuPG VS-Desktop\kleopatrarc in this case (VS-Desktop-4.0.90.1203-Beta), of course. And this one works.
Registry entry SOFTWARE\GnuPG VS-Desktop\Kleopatra\CMS\SaveCSRAsPEM does not work, though. But this is a separate issue, seems all Registry entries do not work in that build.
For Gpg4win 5.0.2 (Beta) %APPDATA%/Gpg4win/kleopatrarc works and the Registry setting Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Gpg4win\Kleopatra\CMS\kleopatrarc=true as well.
So everything ok regarding this ticket.