[Gpg4win-users-en] BER Error

Thomas Arendsen Hein thomas at intevation.de
Fri Feb 14 16:08:35 CET 2020


* Andre Heinecke <aheinecke at gnupg.org> [20200214 15:23]:
> Am 14. Februar 2020 15:05:28 MEZ schrieb Thomas Arendsen Hein <thomas at intevation.de>:
> >* Bernhard Reiter <bernhard at intevation.de> [20200214 13:34]:
> >> Am Freitag 14 Februar 2020 13:14:17 schrieb
> >spamkill-2020 at t-online.de:
> >> > - Search on https://openkeys.de for eric.weis at brandmauer.de
> >> > - Download the X509 certificate
> >> > - In Cleaopatra File->import->eric.weis at brandmauer.de.cer
> >> 
> >> Command line has
> >>  gpgsm -v --import eric.weis at brandmauer.de.cer 
> >> gpgsm: invalid radix64 character 2d skipped
> >> gpgsm: invalid radix64 character 2d skipped
> >> gpgsm: invalid radix64 character 2d skipped
> >> gpgsm: invalid radix64 character 2d skipped
> >> gpgsm: invalid radix64 character 2d skipped
> >> gpgsm: total number processed: 0
> >> 
> >> So the crypto backend believes that there is something wrong with the
> >format.
> >
> >I was curious and looked: The file has DOS line endings (CR+LF)
> >
> >When converting it to just LF or first letting certtool parse it,
> >gpgsm accepts it, e.g.:
> >
> >curl https://api.openkeys.de/api/certificate/brandmauer.de/eric.weis/ |
> >certtool -i | gpgsm --import -
>
> Please open a ticket on https://dev.gnupg.org for this. Otherwise I'll do it Monday. I'm already in my weekend and only writing this on my phone. Gpgsm should accept that

Done: https://dev.gnupg.org/T4847 ("gpgsm: invalid radix64 character
2d skipped" when trying to import a PEM file with DOS line endings
(CR+LF))

Regards,

Thomas

-- 
Thomas Arendsen Hein <thomas at intevation.de>
OpenPGP key: https://intevation.de/~thomas/thomas_pgp.asc (0xD45DE28FF3A2250C)
Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Gpg4win-users-en mailing list