Re: [opensc-devel] Atomic cert import

2011-02-28 Thread Martin Paljak
Hello, On Feb 28, 2011, at 2:44 PM, NdK wrote: > Could it be possible to check the available space on card files before > importing PKCS12 certs? Or at least "rollback" already done additions. Rollback would be a nice feature. > Now it could easily happen that a cert is only partially stored, sin

[opensc-devel] Atomic cert import

2011-02-28 Thread NdK
Hi all. Could it be possible to check the available space on card files before importing PKCS12 certs? Or at least "rollback" already done additions. Now it could easily happen that a cert is only partially stored, since the private key goes first, then every cert in the chain. So after an import