aboutsummaryrefslogtreecommitdiff
path: root/cryptech/__init__.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-08-16 00:02:34 -0400
committerRob Austein <sra@hactrn.net>2016-08-16 00:02:34 -0400
commit1d60161a9eae18e339232bed879f0525925e10cb (patch)
treee04a043c976a5bdabfbaf59a78053e930f23538d /cryptech/__init__.py
parente7ab3272fc7925663ada0169fe65f49773e88881 (diff)
More pkcs11test fixes: nuanced read-only, error code proliferation.
PKCS #11's notion of a "read-only" session is odd: read-only sessions can still create/modify/destroy objects, just not "token" objects. C_SeedRandom() has its own special "nope, didn't implement that" error code, apparently the one everything else uses wasn't good enough. C_Login() has different error codes for "you're already logged in" and "you're already logged in as somebody else".
Diffstat (limited to 'cryptech/__init__.py')
0 files changed, 0 insertions, 0 deletions