Next: Developing Scute, Up: Internals
Scute implements version 2.20 of the PKCS #11 specification.
The OpenPGP smart card application is supported in read-only mode.
The following functions are not supported:
C_InitializeNo support for native thread package. Locking callbacks must be provided if multi-threaded operation is desired.
C_WaitForSlotEventNot implemented. The interface as specified by PKCS #11 is broken anyway, as the function can not safely be canceled. Thus, we require polling.
C_GetOperationStateC_SetOperationStateNot supported.
C_InitTokenC_InitPINC_SetPINNot supported. No write operations are allowed. To configure the token, please use the tools accompanying the GnuPG software suite.
C_LoginC_LogoutNot supported. No login into the token by the software is required. Passphrase queries are implemented by the use of GPG Agent and Pinentry.
C_EncryptInitC_EncryptC_EncryptUpdateC_EncryptFinalC_DigestInitC_DigestC_DigestUpdateC_DigestKeyC_DigestFinalC_VerifyInitC_VerifyC_VerifyUpdateC_VerifyFinalC_VerifyRecoverInitC_VerifyRecNot supported. Only secret key operations are supported.
C_DecryptInitC_DecryptNot yet supported, but will be in the future.
C_SignUpdateC_SignFinalC_DecryptUpdateC_DecryptFinalNo progressive crypto-operations are supported.
C_SignRecoverInitC_SignRecoverNot supported.
C_DigestEncryptUpdateC_DecryptDigestUpdateC_SignEncryptUpdateC_DecryptVerifyUpdateDual-purpose cryptographic functions are not supported.
C_GenerateKeyC_GenerateKeyPairC_WrapKeyC_UnwrapKeyC_DeriveKeyKey management functions are not supported. Please use the tools accompanying the GnuPG software suite to generate and import keys for use with the token.
C_SeedRandomNot supported.
C_CreateObjectC_CopyObjectC_DestroyObjectC_SetAttributeValue:Only read-only operations are supported on objects.
C_GetObjectSizeNot supported.
CKO_CERTIFICATEThe label specifies the key on the card used (e.g. OPENPGP.3).
The ID is the fingerprint.
CKO_PRIVATE_KEY:The CKA_LOCAL attribute can not be supported by the OpenPGP card.
It is always set to false (as the key on the card may be copied to the
card from an external source).
Next: Developing Scute, Up: Internals