File: credentials.html

package info (click to toggle)
cvm 0.97-0.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,036 kB
  • sloc: ansic: 4,065; sh: 2,758; makefile: 235; sql: 15
file content (97 lines) | stat: -rw-r--r-- 2,189 bytes parent folder | download | duplicates (5)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<html>
<body>

<h2><a href="cvm.html">CVM</a></h2>

<h1>CVM Credential Definitions</h1>

<h2>Types</h2>

<p>Credentials may have one of two types:</p>

<ul>

<li><tt>string</tt>: An arbitrary length series of ASCII characters not
containing <tt>NUL</tt>.</li>

<li><tt>integer</tt>: A series of ASCII digits interpreted as an
unsigned decimal value.</tt></li>

</ul>

<h2>Numbering</h2>

<p>All predefined credential numbers will have values betweehn 1 and
127 inclusive.  All other credential numbers (from 128 to 255) are
reserved for local or experimental use.  Credentials may be given to
the module in any order that is convenient to the client, and that
order carries no significance.  Unless otherwise specified, each fact
must be present at most once in the input.</p>

<p><table border=1>

<tr>
 <th>#</th>
 <th>Name</th>
 <th>Type</th>
 <th>Description</th>
</tr>

<tr>
 <td><tt>1</tt></td>
 <td><tt>CVM_CRED_ACCOUNT</tt></td>
 <td>string</td>
 <td>The account name.  This fact is required by all modules.</td>
</tr>

<tr>
 <td><tt>2</tt></td>
 <td><tt>CVM_CRED_DOMAIN</tt></td>
 <td>string</td>
 <td>The (DNS) domain name that may be associated with the account.</td>
</tr>

<tr>
 <td><tt>3</tt></td>
 <td><tt>CVM_CRED_PASSWORD</tt></td>
 <td>string</td>
 <td>Plain text password.</td>
</tr>

<tr>
 <td><tt>4</tt></td>
 <td><tt>CVM_CRED_SECRET</tt></td>
 <td>string</td>
 <td>This fact contains a secret that is shared between the client and
 the module, required for authentication to succeed.</td>
</tr>

<tr>
 <td><tt>5</tt></td>
 <td><tt>CVM_CRED_CHALLENGE</tt></td>
 <td>string</td>
 <td>For challenge-response mechanisms (such as APOP or CRAM-MD5), the
 one-time challenge that was issued to the client.</td>
</tr>

<tr>
 <td><tt>6</tt></td>
 <td><tt>CVM_CRED_RESPONSE</tt></td>
 <td>string</td>
 <td>For challenge-response mechanisms, the response from the
 client.</td>
</tr>

<tr>
 <td><tt>7</tt></td>
 <td><tt>CVM_CRED_RESPONSE_TYPE</tt></td>
 <td>string</td>
 <td>For challenge-response mechanisms, the name of the type of
 mechanism that was used to generate the response.  Examples:
 "<tt>APOP</tt>" or "<tt>CRAM-MD5</tt>"</td>
</tr>

</table></p>

</body>
</html>