title: How can I sign a file with PKCS11 in Python?
body: <p>How can I sign a file with <code>PKCS11</code> in Python?</p>
  
  <p>I'm looking for a way to sign a <code>.txt</code> file using a "Cryptographic Token Interface", but I haven't found a solution.</p>
  
  <p>My first idea was to use <code>pycrypto</code>, but the documentation has no mention of this.</p>