opensc-sys 0.1.1

FFI bindings to OpenSC
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
#
# Test pkcs15-init
#
# Run this from the regression test directory.

. functions

# skip_if_card Cryptoflex Cyberflex Multiflex

p15_init --so-pin 999999 --so-puk 88888888
p15_set_pin -a 27 --so-pin 999999 
p15_gen_key rsa/1024 -a 27 --so-pin 999999 --key-usage sign,decrypt
p15_validate
p15_erase --secret @27=0000