Debian Codegraph @

man/man5/p11sak_defined_attrs.conf.5.in

raw
1 .TH P11SAK_DEFINED_ATTRS.CONF 5 "September 2021" "@PACKAGE_VERSION@" "openCryptoki"
2 .SH NAME
3 p11sak_defined_attrs.conf \- Configuration file for \fBp11sak list\-key\fP
4 command.
5 .
6 .
7 .
8 .SH DESCRIPTION
9 The
10 .B p11sak
11 tool uses the configuration files \fB~/.p11sak_defined_attrs.conf\fP and
12 \fB/etc/opencryptoki/p11sak_defined_attrs.conf\fP to read information about
13 custom attributes that shall be printed with the \fBp11sak list\-key\fP command.
14 .PP
15 This configuration file path can be overwritten by the user with the environment
16 variable \fBP11SAK_DEFAULT_CONF_FILE\fP.
17 If the environment variable is not set, then
18 \fB.p11sak_defined_attrs.conf\fP is first tried to be read from the current
19 user's home directory. If this is not available, the global
20 \fB/etc/opencryptoki/p11sak_defined_attrs.conf\fP config file is read.
21 If none of these files are available, a warning message is displayed, and
22 printing of custom attributes is not available.
23 .
24 .
25 .
26 .SH SYNTAX
27 .
28 .P
29 Each attribute description is composed of the attribute title, brackets and
30 three key\-value pairs.
31 .PP
32 Example:
33
34 attribute
35 {
36 name = CKA_IBM_RESTRICTABLE
37 id = 0x80010001
38 type = CK_BBOOL
39 }
40
41 All three keywords
42 .B name
43 ,
44 .B id
45 ,
46 .B type
47 are required to define an attribute.
48
49 The
50 .B name
51 must start with a letter followed by an arbitrary number of letters, numbers,
52 underscores, dots, minuses, or slashes.
53 The
54 .B id
55 can be in decimal as well as in hexadecimal, when started with 0x, format.
56 The only valid values for
57 .B type
58 are:
59 .IP "\(bu" 2
60 .B CK_BBOOL
61 .IP "\(bu" 2
62 .B CK_ULONG
63 .IP "\(bu" 2
64 .B CK_BYTE
65 .IP "\(bu" 2
66 .B CK_DATE
67 .PP
68
69 .SH Notes
70 The pound sign ('#') is used to indicate a comment up to and including the end
71 of line.
72
73 .SH "SEE ALSO"
74 .PD 0
75 .TP
76 \fBp11sak\fP(1)
77 .PD