Package: opensc
Version: 0.11.4-3
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

pkcs15-init(1) states:

       --store-certificate filename, -X filename
          Tells pkcs15-init to store the certificate given in filename on the
          card, creating a certificate object with the ID specified via the
          --id option. The file is assumed to contain the DER encoded
          certificate.

But in practice, it appears to expect the file to contain the PEM
encoded certificate, not DER encoded:

[0 [EMAIL PROTECTED] ~]$ openssl x509 <./cert.pem -inform PEM -outform DER 
>./cert.der
[0 [EMAIL PROTECTED] ~]$ pkcs15-init --store-certificate ./cert.der -v 
--auth-id 2
Connecting to card in reader Schlumberger E-Gate...
Using card driver Schlumberger Multiflex/Cryptoflex.
Found OpenSC Card
About to store certificate.
error:0906D06C:PEM routines:PEM_read_bio:no start line
error: Unable to read certificate from .keys/monkey-cert.der

Aborting.
[1 [EMAIL PROTECTED] ~]$ 

Thanks for maintaining OpenSC in debian,

       --dkg

- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages opensc depends on:
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libltdl3               1.5.26-4          A system independent dlopen wrappe
ii  libopensc2             0.11.4-3          SmartCard library with support for
ii  libssl0.9.8            0.9.8g-10.1       SSL shared libraries
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

opensc recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQIVAwUBSFshkczS7ZTSFznpAQJpOxAAqWQ834PjxGmJAokNXpzEGu612LtRymaZ
5Svb12bXyiz14Bz+hB3HKP/hIcUHfl8fjTu/tlkjMOHWp3b0Uj6SvwzZe1OMoOhn
pVPyO1bR6ewNtx5Oqy3kp+cef5Vb1L9vttCTBPEaffSNVS6xB5QYwhNZcAVTHco3
HU/q7B2cqEMEuFszfwdXRlygC9qHjjJp/TyjRLLMQ7OsM65yL4pLUwWN+PMho/Lv
zbAvh7T5cQr46lkqHXhRNuYnUDxe24hcr/A1pIe84WrqZ/mjKWpDPoNckYMlLAI/
FgDsMZHZQCY2vNg1MuFqGIb96B08c9Ws5B4RhGzR4dAOmIkuuW3NGR5bqV1V4eqk
0ZZRctW0s9pEpWFc7P2sKwUrpxlROakTxsMNU+TflWZ3PEBuzrvbnb5fokqzoIIi
quSNa+Rk5NYKUZgsF066VAh/XcWRHQuEEcsWjN+azWC/NbzugcNYZg54FKF6t3YG
mLs87KcDie01WBht5LoibVW7DucmMJvQ83F2q4V4hOr2Wkk5pz2iQl7Q/z90ug4k
m/CyjkidCMYIt979ERiq1BGRGxKSfIeuQE66irxC/2qjsWmboPFVmtrPJmhd4/ME
GYS8WY7ew4zXb0hQUDKBUYBzqOoMZWaFQp+sY5iDW45Qo/MBMs34JR5T8Es7Ov1J
SFE0W/dtNkY=
=CIun
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to