1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
eCryptfs PKCS#11 Key Module
ABOUT
eCryptfs PKCS#11 key module enables use of PKCS#11 token private key
with eCryptfs.
ecryptfsd must be running in order to use the key module.
The key module expects a private key and certificate on token, both
should have the same value in CKA_ID attribute.
CONFIGURATION
Configuration is stored at ~/.ecryptfsrc.pkcs11.
Attributes:
pkcs11-log-level (Integer, decimal)
Log level of pkcs11-helper, can be from 0-5.
pkcs11-pin-cache-timeout (Integer, decimal)
Maximum PIN/session cache period in seconds.
-1 is infinite, until provider invalidates session.
pkcs11-provider
name (String)
Provider unique friendly name.
library (String)
Provider library to load.
allow-protected-auth (Boolean)
Enable protected authentication if provider supports the feature.
cert-private (Boolean)
Provider stores the certificates as private objects.
private-mask (Integer, hex)
Provider private key mask:
0 Determine automatically.
1 Use sign.
2 Use sign recover.
4 Use decrypt.
8 Use unwrap.
Example:
pkcs11-log-level=5
pkcs11-provider1,name=myprovider1,library=/usr/lib/pkcs11/myprovider1.so
pkcs11-provider2,name=myprovider2,library=/usr/lib/pkcs11/myprovider2.so
MOUNT OPTIONS
key Attributes:
id (String)
PKCS#11 serialized object id, this object id can be
aquired using ecryptfs-manager, the default value of
this field is a list of "DN (serial) [serialized id]".
x509file (String)
Optional (may be empty) reference to a X.509 PEM file
holding id certificate. It is required if the key is
added when the token is not available.
Example:
key=pkcs11:id=<serialized-id>
AUTHORS
Alon Bar-Lev <alon.barlev@gmail.com>
|