Debian Codegraph @

templates/man7/random.7.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "random"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "random - overview of interfaces for obtaining randomness"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "DESCRIPTION"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 msgid ""
63 "The kernel random-number generator relies on entropy gathered from device "
64 "drivers and other sources of environmental noise to seed a cryptographically "
65 "secure pseudorandom number generator (CSPRNG). It is designed for security, "
66 "rather than speed."
67 msgstr ""
68
69 #. type: Plain text
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 msgid ""
73 "The following interfaces provide access to output from the kernel CSPRNG:"
74 msgstr ""
75
76 #. type: IP
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "\\[bu]"
81 msgstr ""
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 msgid ""
87 "The I</dev/urandom> and I</dev/random> devices, both described in "
88 "B<random>(4). These devices have been present on Linux since early times, "
89 "and are also available on many other systems."
90 msgstr ""
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 msgid ""
96 "The Linux-specific B<getrandom>(2) system call, available since Linux "
97 "3.17. This system call provides access either to the same source as I</dev/"
98 "urandom> (called the I<urandom> source in this page) or to the same source "
99 "as I</dev/random> (called the I<random> source in this page). The default "
100 "is the I<urandom> source; the I<random> source is selected by specifying the "
101 "B<GRND_RANDOM> flag to the system call. (The B<getentropy>(3) function "
102 "provides a slightly more portable interface on top of B<getrandom>(2).)"
103 msgstr ""
104
105 #. type: SS
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, no-wrap
109 msgid "Initialization of the entropy pool"
110 msgstr ""
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid ""
116 "The kernel collects bits of entropy from the environment. When a sufficient "
117 "number of random bits has been collected, the entropy pool is considered to "
118 "be initialized."
119 msgstr ""
120
121 #. type: SS
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 #, no-wrap
125 msgid "Choice of random source"
126 msgstr ""
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "Unless you are doing long-term key generation (and most likely not even "
133 "then), you probably shouldn't be reading from the I</dev/random> device or "
134 "employing B<getrandom>(2) with the B<GRND_RANDOM> flag. Instead, either "
135 "read from the I</dev/urandom> device or employ B<getrandom>(2) without the "
136 "B<GRND_RANDOM> flag. The cryptographic algorithms used for the I<urandom> "
137 "source are quite conservative, and so should be sufficient for all purposes."
138 msgstr ""
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "The disadvantage of B<GRND_RANDOM> and reads from I</dev/random> is that the "
145 "operation can block for an indefinite period of time. Furthermore, dealing "
146 "with the partially fulfilled requests that can occur when using "
147 "B<GRND_RANDOM> or when reading from I</dev/random> increases code complexity."
148 msgstr ""
149
150 #. type: SS
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 #, no-wrap
154 msgid "Monte Carlo and other probabilistic sampling applications"
155 msgstr ""
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 msgid ""
161 "Using these interfaces to provide large quantities of data for Monte Carlo "
162 "simulations or other programs/algorithms which are doing probabilistic "
163 "sampling will be slow. Furthermore, it is unnecessary, because such "
164 "applications do not need cryptographically secure random numbers. Instead, "
165 "use the interfaces described in this page to obtain a small amount of data "
166 "to seed a user-space pseudorandom number generator for use by such "
167 "applications."
168 msgstr ""
169
170 #. type: SS
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 #, no-wrap
174 msgid "Comparison between getrandom, /dev/urandom, and /dev/random"
175 msgstr ""
176
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 msgid ""
181 "The following table summarizes the behavior of the various interfaces that "
182 "can be used to obtain randomness. B<GRND_NONBLOCK> is a flag that can be "
183 "used to control the blocking behavior of B<getrandom>(2). The final column "
184 "of the table considers the case that can occur in early boot time when the "
185 "entropy pool is not yet initialized."
186 msgstr ""
187
188 #. type: tbl table
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 #, no-wrap
192 msgid "Interface"
193 msgstr ""
194
195 #. type: tbl table
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "Pool"
200 msgstr ""
201
202 #. type: tbl table
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid ""
207 "Blocking\n"
208 "\\%behavior"
209 msgstr ""
210
211 #. type: tbl table
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "Behavior when pool is not yet ready"
216 msgstr ""
217
218 #. type: tbl table
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "I</dev/random>"
223 msgstr ""
224
225 #. type: tbl table
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 #, no-wrap
229 msgid "Blocking pool"
230 msgstr ""
231
232 #. type: tbl table
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "If entropy too low, blocks until there is enough entropy again"
237 msgstr ""
238
239 #. type: tbl table
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "Blocks until enough entropy gathered"
244 msgstr ""
245
246 #. type: tbl table
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "I</dev/urandom>"
251 msgstr ""
252
253 #. type: tbl table
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, no-wrap
257 msgid "CSPRNG output"
258 msgstr ""
259
260 #. type: tbl table
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "Never blocks"
265 msgstr ""
266
267 #. type: tbl table
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 #, no-wrap
271 msgid "Returns output from uninitialized CSPRNG (may be low entropy and unsuitable for cryptography)"
272 msgstr ""
273
274 #. type: tbl table
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid "B<getrandom>()"
279 msgstr ""
280
281 #. type: tbl table
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid ""
286 "Same as\n"
287 "I</dev/urandom>"
288 msgstr ""
289
290 #. type: tbl table
291 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
292 #: opensuse-tumbleweed
293 #, no-wrap
294 msgid "Does not block once pool is ready"
295 msgstr ""
296
297 #. type: tbl table
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 #, no-wrap
301 msgid "Blocks until pool ready"
302 msgstr ""
303
304 #. type: tbl table
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid ""
309 "B<getrandom>()\n"
310 "B<GRND_RANDOM>"
311 msgstr ""
312
313 #. type: tbl table
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid ""
318 "Same as\n"
319 "I</dev/random>"
320 msgstr ""
321
322 #. type: tbl table
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid ""
327 "B<getrandom>()\n"
328 "B<GRND_NONBLOCK>"
329 msgstr ""
330
331 #. type: tbl table
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "B<EAGAIN>"
336 msgstr ""
337
338 #. type: tbl table
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid ""
343 "B<getrandom>()\n"
344 "B<GRND_RANDOM>\n"
345 "+\n"
346 "B<GRND_NONBLOCK>"
347 msgstr ""
348
349 #. type: tbl table
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 #, no-wrap
353 msgid ""
354 "B<EAGAIN>\n"
355 "if not enough entropy available"
356 msgstr ""
357
358 #. type: SS
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 #, no-wrap
362 msgid "Generating cryptographic keys"
363 msgstr ""
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid ""
369 "The amount of seed material required to generate a cryptographic key equals "
370 "the effective key size of the key. For example, a 3072-bit RSA or Diffie-"
371 "Hellman private key has an effective key size of 128 bits (it requires about "
372 "2\\[ha]128 operations to break) so a key generator needs only 128 bits (16 "
373 "bytes) of seed material from I</dev/random>."
374 msgstr ""
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid ""
380 "While some safety margin above that minimum is reasonable, as a guard "
381 "against flaws in the CSPRNG algorithm, no cryptographic primitive available "
382 "today can hope to promise more than 256 bits of security, so if any program "
383 "reads more than 256 bits (32 bytes) from the kernel random pool per "
384 "invocation, or per reasonable reseed interval (not less than one minute), "
385 "that should be taken as a sign that its cryptography is I<not> skillfully "
386 "implemented."
387 msgstr ""
388
389 #. type: SH
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 #, no-wrap
393 msgid "SEE ALSO"
394 msgstr ""
395
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 msgid ""
400 "B<getrandom>(2), B<getauxval>(3), B<getentropy>(3), B<random>(4), "
401 "B<urandom>(4), B<signal>(7)"
402 msgstr ""
403
404 #. type: Plain text
405 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
406 #: opensuse-tumbleweed
407 msgid "E<.UR http:\\://www.2uo.de/myths-about-urandom/> E<.UE>"
408 msgstr ""
409
410 #. type: TH
411 #: debian-trixie fedora-44 fedora-rawhide
412 #, no-wrap
413 msgid "2024-05-02"
414 msgstr ""
415
416 #. type: TH
417 #: debian-trixie
418 #, no-wrap
419 msgid "Linux man-pages 6.9.1"
420 msgstr ""
421
422 #. type: tbl table
423 #: debian-trixie fedora-44 fedora-rawhide
424 #, no-wrap
425 msgid "Does not block once is pool ready"
426 msgstr ""
427
428 #. type: TH
429 #: fedora-44 fedora-rawhide
430 #, no-wrap
431 msgid "Linux man-pages 6.13"
432 msgstr ""
433
434 #. type: TH
435 #: mageia-cauldron
436 #, no-wrap
437 msgid "Linux man-pages 6.17"
438 msgstr ""
439
440 #. type: TH
441 #: opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "Linux man-pages (unreleased)"
444 msgstr ""