summaryrefslogtreecommitdiff
path: root/README
blob: c613fcf6fbdaa0035d627a338ffbead40512ae7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
p11-log: A PKCS#11 log module

p11-log is a PKCS#11 module which filters requests for any other module and prints out the calls either to stderr or a file. This is only useful to developers working with PKCS#11.

Don't use this unless you understand why you want to.

Here's how to log all calls to firefox's libnssckbi.so module:

# export P11_LOG_MODULE=/usr/lib/firefox/libnssckbi.so
# export P11_LOG_FILE=/tmp/p11.log
# mv /usr/lib/firefox/libnssckbi.so /usr/lib/firefox/libnssckbi.so.real
# ln -s /usr/lib/p11-log.so /usr/lib/firefox/libnssckbi.so
# firefox
# mv /usr/lib/firefox/libnssckbi.so.real /usr/lib/firefox/libnssckbi.so