aboutsummaryrefslogtreecommitdiff
path: root/delete-keys.sh
blob: f615bd7728e9f86027c95ea6ad86c55d4c321ebe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -

. ./environment.sh

for label in leader boris natasha
do
    for type in privkey pubkey
    do
	pkcs11-tool --module ${PKCS11_MODULE} --login --pin ${PKCS11_PIN} --delete-object --label "$label" --type "$type"
    done
done