Debian Codegraph @

po/es/man3/crypt.3.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Sebastian Desimone <[email protected]>, 1998.
5 # Gerardo Aburruzaga García <[email protected]>, 1998.
6 # Miguel Pérez Ibars <[email protected]>, 2005.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2025-12-07 15:32+0100\n"
11 "PO-Revision-Date: 2005-10-02 19:53+0200\n"
12 "Last-Translator: Miguel Pérez Ibars <[email protected]>\n"
13 "Language-Team: Spanish <[email protected]>\n"
14 "Language: es\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19 "X-Generator: Lokalize 20.04.1\n"
20
21 #. type: Dd
22 #: debian-trixie debian-unstable
23 #, no-wrap
24 msgid "October 11, 2017"
25 msgstr ""
26
27 #. type: Dt
28 #: debian-trixie debian-unstable
29 #, fuzzy, no-wrap
30 #| msgid "CRYPT"
31 msgid "CRYPT 3"
32 msgstr "CRYPT"
33
34 #. type: Os
35 #: debian-trixie debian-unstable
36 #, no-wrap
37 msgid "Openwall Project"
38 msgstr ""
39
40 #. type: Sh
41 #: debian-trixie debian-unstable
42 #, no-wrap
43 msgid "NAME"
44 msgstr "NOMBRE"
45
46 #. type: Plain text
47 #: debian-trixie debian-unstable
48 msgid "E<.Nm crypt , crypt_r , crypt_rn , crypt_ra>"
49 msgstr ""
50
51 #. type: Nd
52 #: debian-trixie debian-unstable
53 #, no-wrap
54 msgid "passphrase hashing"
55 msgstr ""
56
57 #. type: Sh
58 #: debian-trixie debian-unstable
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "BIBLIOTECA"
62
63 #. type: Plain text
64 #: debian-trixie debian-unstable
65 msgid "E<.Lb libcrypt>"
66 msgstr ""
67
68 #. type: Sh
69 #: debian-trixie debian-unstable
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "SINOPSIS"
73
74 #. type: In
75 #: debian-trixie debian-unstable
76 #, no-wrap
77 msgid "crypt.h"
78 msgstr ""
79
80 #. type: Plain text
81 #: debian-trixie debian-unstable
82 msgid ""
83 "E<.Ft \"char *\"> E<.Fo crypt> E<.Fa \"const char *phrase\"> E<.Fa \"const "
84 "char *setting\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_r> E<.Fa \"const char "
85 "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"struct crypt_data *data\"> "
86 "E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_rn> E<.Fa \"const char *phrase\"> E<.Fa "
87 "\"const char *setting\"> E<.Fa \"struct crypt_data *data\"> E<.Fa \"int "
88 "size\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_ra> E<.Fa \"const char "
89 "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"void **data\"> E<.Fa \"int "
90 "*size\"> E<.Fc>"
91 msgstr ""
92
93 #. type: Sh
94 #: debian-trixie debian-unstable
95 #, no-wrap
96 msgid "DESCRIPTION"
97 msgstr "DESCRIPCIÓN"
98
99 #. type: Plain text
100 #: debian-trixie debian-unstable
101 msgid ""
102 "The E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> "
103 "functions irreversibly E<.Dq hash> E<.Fa phrase> for storage in the system "
104 "password database E<.Pq Xr shadow 5> using a cryptographic E<.Dq hashing "
105 "method.> The result of this operation is called a E<.Dq hashed passphrase> "
106 "or just a E<.Dq hash.> Hashing methods are described in E<.Xr crypt 5>."
107 msgstr ""
108
109 #. type: Plain text
110 #: debian-trixie debian-unstable
111 msgid ""
112 "E<.Fa setting> controls which hashing method to use, and also supplies "
113 "various parameters to the chosen method, most importantly a random E<.Dq "
114 "salt> which ensures that no two stored hashes are the same, even if the "
115 "E<.Fa phrase> strings are the same."
116 msgstr ""
117
118 #. type: Plain text
119 #: debian-trixie debian-unstable
120 msgid ""
121 "The E<.Fa data> argument to E<.Nm crypt_r> is a structure of type E<.Vt "
122 "\"struct crypt_data\">. It has at least these fields:"
123 msgstr ""
124
125 #. type: Plain text
126 #: debian-trixie debian-unstable
127 #, no-wrap
128 msgid ""
129 "struct crypt_data {\n"
130 " char output[CRYPT_OUTPUT_SIZE];\n"
131 " char setting[CRYPT_OUTPUT_SIZE];\n"
132 " char input[CRYPT_MAX_PASSPHRASE_SIZE];\n"
133 " char initialized;\n"
134 "};\n"
135 msgstr ""
136
137 #. type: Plain text
138 #: debian-trixie debian-unstable
139 msgid ""
140 "Upon a successful return from E<.Nm crypt_r>, the hashed passphrase will be "
141 "stored in E<.Fa output>. Applications are encouraged, but not required, to "
142 "use the E<.Fa input> and E<.Fa setting> fields to store the strings that "
143 "they will pass as E<.Fa input phrase> and E<.Fa setting> to E<.Nm crypt_r>. "
144 "This will make it easier to erase all sensitive data after it is no longer "
145 "needed."
146 msgstr ""
147
148 #. type: Plain text
149 #: debian-trixie debian-unstable
150 msgid ""
151 "The E<.Fa initialized> field must be set to zero before the first time a "
152 "E<.Vt \"struct crypt_data\"> object is first used in a call to E<.Fn "
153 "crypt_r>. We recommend zeroing the entire object, not just E<.Fa "
154 "initialized> and not just the documented fields, before the first use. (Of "
155 "course, do this before storing anything in E<.Fa setting> and E<.Fa input>.)"
156 msgstr ""
157
158 #. type: Plain text
159 #: debian-trixie debian-unstable
160 msgid ""
161 "The E<.Fa data> argument to E<.Nm crypt_rn> should also point to a E<.Vt "
162 "\"struct crypt_data\"> object, and E<.Fa size> should be the size of that "
163 "object, cast to E<.Vt int>. When used with E<.Nm crypt_rn>, the entire "
164 "E<.Fa data> object (except for the E<.Fa input> and E<.Fa setting> fields) "
165 "must be zeroed before its first use; this is not just a recommendation, as "
166 "it is for E<.Nm crypt_r>. Otherwise, the fields of the object have the same "
167 "uses that they do for E<.Nm crypt_r>."
168 msgstr ""
169
170 #. type: Plain text
171 #: debian-trixie debian-unstable
172 msgid ""
173 "On the first call to E<.Nm crypt_ra>, E<.Fa data> should be the address of a "
174 "E<.Vt \"void *\"> variable set to NULL, and E<.Fa size> should be the "
175 "address of an E<.Vt int> variable set to zero. E<.Nm crypt_ra> will "
176 "allocate and initialize a E<.Vt \"struct crypt_data\"> object, using E<.Xr "
177 "malloc 3>, and write its address and size into the variables pointed to by "
178 "E<.Fa data> and E<.Fa size>. These can be reused in subsequent calls. "
179 "After the application is done hashing passphrases, it should deallocate the "
180 "E<.Vt \"struct crypt_data\"> object using E<.Xr free 3>."
181 msgstr ""
182
183 #. type: Sh
184 #: debian-trixie debian-unstable
185 #, no-wrap
186 msgid "RETURN VALUES"
187 msgstr "VALORES DEVUELTOS"
188
189 #. type: Plain text
190 #: debian-trixie debian-unstable
191 msgid ""
192 "Upon successful completion, E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, "
193 "and E<.Nm crypt_ra> return a pointer to a string which encodes both the "
194 "hashed passphrase, and the settings that were used to encode it. This "
195 "string is directly usable as E<.Fa setting> in other calls to E<.Nm crypt>, "
196 "E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra>, and as E<.Fa prefix> "
197 "in calls to E<.Nm crypt_gensalt>, E<.Nm crypt_gensalt_rn>, and E<.Nm "
198 "crypt_gensalt_ra>. It will be entirely printable ASCII, and will not "
199 "contain whitespace or the characters E<.Sq Li \\&:>, E<.Sq Li \\&;>, E<.Sq "
200 "Li \\&*>, E<.Sq Li \\&!>, or E<.Sq Li \\&\\e>. See E<.Xr crypt 5> for more "
201 "detail on the format of hashed passphrases."
202 msgstr ""
203
204 #. type: Plain text
205 #: debian-trixie
206 msgid ""
207 "E<.Nm crypt> places its result in a static storage area, which will be "
208 "overwritten by subsequent calls to E<.Nm crypt>. It is not safe to call "
209 "E<.Nm crypt> from multiple threads simultaneously."
210 msgstr ""
211
212 #. type: Plain text
213 #: debian-trixie
214 msgid ""
215 "E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> place their result in "
216 "the E<.Fa output> field of their E<.Fa data> argument. It is safe to call "
217 "them from multiple threads simultaneously, as long as a separate E<.Fa data> "
218 "object is used for each thread."
219 msgstr ""
220
221 #. type: Plain text
222 #: debian-trixie debian-unstable
223 msgid ""
224 "Upon error, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> write an "
225 "E<.Em invalid> hash to the E<.Fa output> field of their E<.Fa data> "
226 "argument, and E<.Nm crypt> writes an invalid hash to its static storage "
227 "area. This string will be shorter than 13 characters, will begin with a "
228 "E<.Sq Li \\&*>, and will not compare equal to E<.Fa setting>."
229 msgstr ""
230
231 #. type: Plain text
232 #: debian-trixie debian-unstable
233 msgid ""
234 "Upon error, E<.Nm crypt_rn> and E<.Nm crypt_ra> return a null pointer. "
235 "E<.Nm crypt_r> and E<.Nm crypt> may also return a null pointer, or they may "
236 "return a pointer to the invalid hash, depending on how libcrypt was "
237 "configured. (The option to return the invalid hash is for compatibility "
238 "with old applications that assume that E<.Nm crypt> cannot return a null "
239 "pointer. See E<.Sx PORTABILITY NOTES> below.)"
240 msgstr ""
241
242 #. type: Plain text
243 #: debian-trixie debian-unstable
244 msgid ""
245 "All four functions set E<.Va errno> when they fail. When the functions "
246 "succeed, the value of E<.Va errno> is unspecified and must not be relied "
247 "upon."
248 msgstr ""
249
250 #. type: Sh
251 #: debian-trixie debian-unstable
252 #, no-wrap
253 msgid "ERRORS"
254 msgstr "ERRORES"
255
256 #. type: It
257 #: debian-trixie debian-unstable
258 #, fuzzy, no-wrap
259 #| msgid "B<EINVAL>"
260 msgid "Er EINVAL"
261 msgstr "B<EINVAL>"
262
263 #. type: Plain text
264 #: debian-trixie debian-unstable
265 msgid ""
266 "E<.Fa setting> is invalid, or requests a hashing method that is not "
267 "supported."
268 msgstr ""
269
270 #. type: It
271 #: debian-trixie debian-unstable
272 #, fuzzy, no-wrap
273 #| msgid "B<ERANGE>"
274 msgid "Er ERANGE"
275 msgstr "B<ERANGE>"
276
277 #. type: Plain text
278 #: debian-trixie debian-unstable
279 msgid ""
280 "E<.Fa phrase> is too long (more than E<.Dv CRYPT_MAX_PASSPHRASE_SIZE> "
281 "characters; some hashing methods may have lower limits)."
282 msgstr ""
283
284 #. type: Plain text
285 #: debian-trixie debian-unstable
286 msgid ""
287 "E<.Nm crypt_rn> only: E<.Fa size> is too small for the hashing method "
288 "requested by E<.Fa setting>."
289 msgstr ""
290
291 #. type: It
292 #: debian-trixie debian-unstable
293 #, fuzzy, no-wrap
294 #| msgid "B<ENOMEM>"
295 msgid "Er ENOMEM"
296 msgstr "B<ENOMEM>"
297
298 #. type: Plain text
299 #: debian-trixie debian-unstable
300 msgid "Failed to allocate internal scratch memory."
301 msgstr ""
302
303 #. type: Plain text
304 #: debian-trixie debian-unstable
305 msgid "E<.Nm crypt_ra> only: failed to allocate memory for E<.Fa data>."
306 msgstr ""
307
308 #. type: It
309 #: debian-trixie debian-unstable
310 #, no-wrap
311 msgid "Er ENOSYS No or Er EOPNOTSUPP"
312 msgstr ""
313
314 #. type: Plain text
315 #: debian-trixie debian-unstable
316 msgid ""
317 "Hashing passphrases is not supported at all on this installation, or the "
318 "hashing method requested by E<.Fa setting> is not supported. These error "
319 "codes are not used by this version of libcrypt, but may be encountered on "
320 "other systems."
321 msgstr ""
322
323 #. type: Sh
324 #: debian-trixie debian-unstable
325 #, no-wrap
326 msgid "PORTABILITY NOTES"
327 msgstr ""
328
329 #. type: Plain text
330 #: debian-trixie debian-unstable
331 msgid ""
332 "E<.Nm crypt> is included in POSIX, but E<.Nm crypt_r>, E<.Nm crypt_rn>, and "
333 "E<.Nm crypt_ra> are not part of any standard."
334 msgstr ""
335
336 #. type: Plain text
337 #: debian-trixie debian-unstable
338 msgid ""
339 "POSIX does not specify any hashing methods, and does not require hashed "
340 "passphrases to be portable between systems. In practice, hashed passphrases "
341 "are portable as long as both systems support the hashing method that was "
342 "used. However, the set of supported hashing methods varies considerably "
343 "from system to system."
344 msgstr ""
345
346 #. type: Plain text
347 #: debian-trixie debian-unstable
348 msgid ""
349 "The behavior of E<.Nm crypt> on errors isn't well standardized. Some "
350 "implementations simply can't fail (except by crashing the program), others "
351 "return a null pointer or a fixed string. Most implementations don't set "
352 "E<.Va errno>, but some do. POSIX specifies returning a null pointer and "
353 "setting E<.Va errno>, but it defines only one possible error, E<.Er ENOSYS>, "
354 "in the case where E<.Nm crypt> is not supported at all. Some older "
355 "applications are not prepared to handle null pointers returned by E<.Nm "
356 "crypt>. The behavior described above for this implementation, setting E<.Va "
357 "errno> and returning an invalid hash different from E<.Fa setting>, is "
358 "chosen to make these applications fail closed when an error occurs."
359 msgstr ""
360
361 #. type: Plain text
362 #: debian-trixie debian-unstable
363 msgid ""
364 "Due to historical restrictions on the export of cryptographic software from "
365 "the USA, E<.Nm crypt> is an optional POSIX component. Applications should "
366 "therefore be prepared for E<.Nm crypt> not to be available, or to always "
367 "fail (setting E<.Va errno> to E<.Er ENOSYS>) at runtime."
368 msgstr ""
369
370 #. type: Plain text
371 #: debian-trixie debian-unstable
372 msgid "POSIX specifies that E<.Nm crypt> is declared in"
373 msgstr ""
374
375 #. type: In
376 #: debian-trixie debian-unstable
377 #, no-wrap
378 msgid "unistd.h ,"
379 msgstr ""
380
381 #. type: Plain text
382 #: debian-trixie debian-unstable
383 msgid ""
384 "but only if the macro E<.Dv _XOPEN_CRYPT> is defined and has a value greater "
385 "than or equal to zero. Since libcrypt does not provide"
386 msgstr ""
387
388 #. type: Plain text
389 #: debian-trixie debian-unstable
390 msgid ""
391 "it declares E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm "
392 "crypt_ra> in"
393 msgstr ""
394
395 #. type: Plain text
396 #: debian-trixie debian-unstable
397 msgid "instead."
398 msgstr ""
399
400 #. type: Plain text
401 #: debian-trixie debian-unstable
402 msgid ""
403 "On a minority of systems (notably recent versions of Solaris), E<.Nm crypt> "
404 "uses a thread-specific static storage buffer, which makes it safe to call "
405 "from multiple threads simultaneously, but does not prevent each call within "
406 "a thread from overwriting the results of the previous one."
407 msgstr ""
408
409 #. type: Sh
410 #: debian-trixie debian-unstable
411 #, no-wrap
412 msgid "BUGS"
413 msgstr "ERRORES"
414
415 #. type: Plain text
416 #: debian-trixie debian-unstable
417 msgid ""
418 "Some implementations of E<.Nm crypt>, upon error, return an invalid hash "
419 "that is stored in a read-only location or only initialized once, which means "
420 "that it is only safe to erase the buffer pointed to by the E<.Nm crypt> "
421 "return value if an error did not occur."
422 msgstr ""
423
424 #. type: Plain text
425 #: debian-trixie debian-unstable
426 msgid ""
427 "E<.Vt \"struct crypt_data\"> may be quite large (32kB in this implementation "
428 "of libcrypt; over 128kB in some other implementations). This is large "
429 "enough that it may be unwise to allocate it on the stack."
430 msgstr ""
431
432 #. type: Plain text
433 #: debian-trixie debian-unstable
434 msgid ""
435 "Some recently designed hashing methods need even more scratch memory, but "
436 "the E<.Nm crypt_r> interface makes it impossible to change the size of E<.Vt "
437 "\"struct crypt_data\"> without breaking binary compatibility. The E<.Nm "
438 "crypt_rn> interface could accommodate larger allocations for specific "
439 "hashing methods, but the caller of E<.Nm crypt_rn> has no way of knowing how "
440 "much memory to allocate. E<.Nm crypt_ra> does the allocation itself, but "
441 "can only make a single call to E<.Xr malloc 3>."
442 msgstr ""
443
444 #. type: Sh
445 #: debian-trixie debian-unstable
446 #, no-wrap
447 msgid "ATTRIBUTES"
448 msgstr "ATRIBUTOS"
449
450 #. type: Plain text
451 #: debian-trixie debian-unstable
452 #, fuzzy
453 #| msgid ""
454 #| "For an explanation of the terms used in this section, see "
455 #| "B<attributes>(7)."
456 msgid ""
457 "For an explanation of the terms used in this section, see E<.Xr attributes "
458 "7>."
459 msgstr ""
460 "Para obtener una explicación de los términos usados en esta sección, véase "
461 "B<attributes>(7)."
462
463 #. type: tbl table
464 #: debian-trixie debian-unstable
465 #, no-wrap
466 msgid "Interface"
467 msgstr "Interfaz"
468
469 #. type: tbl table
470 #: debian-trixie debian-unstable
471 #, no-wrap
472 msgid "Attribute"
473 msgstr "Atributo"
474
475 #. type: tbl table
476 #: debian-trixie debian-unstable
477 #, no-wrap
478 msgid "Value"
479 msgstr "Valor"
480
481 #. type: tbl table
482 #: debian-trixie debian-unstable
483 #, no-wrap
484 msgid ".Nm crypt\n"
485 msgstr ""
486
487 #. type: tbl table
488 #: debian-trixie debian-unstable
489 #, no-wrap
490 msgid "Thread safety"
491 msgstr "Seguridad del hilo"
492
493 #. type: tbl table
494 #: debian-trixie debian-unstable
495 #, no-wrap
496 msgid "MT-Unsafe race:crypt"
497 msgstr ""
498
499 #. type: tbl table
500 #: debian-trixie debian-unstable
501 #, no-wrap
502 msgid ".Nm crypt_r ,\n"
503 msgstr ""
504
505 #. type: tbl table
506 #: debian-trixie debian-unstable
507 #, no-wrap
508 msgid ".Nm crypt_rn ,\n"
509 msgstr ""
510
511 #. type: tbl table
512 #: debian-trixie debian-unstable
513 #, no-wrap
514 msgid ".Nm crypt_ra\n"
515 msgstr ""
516
517 #. type: tbl table
518 #: debian-trixie debian-unstable
519 #, no-wrap
520 msgid "MT-Safe"
521 msgstr "Multi-hilo seguro"
522
523 #. type: Sh
524 #: debian-trixie debian-unstable
525 #, no-wrap
526 msgid "HISTORY"
527 msgstr "HISTORIAL"
528
529 #. type: Plain text
530 #: debian-trixie debian-unstable
531 msgid ""
532 "A rotor-based E<.Nm crypt> function appeared in E<.At v6>. The E<.Dq "
533 "traditional> DES-based E<.Nm crypt> first appeared in E<.At v7>."
534 msgstr ""
535
536 #. type: Plain text
537 #: debian-trixie debian-unstable
538 msgid ""
539 "E<.Nm crypt_r> originates with the GNU C Library. There's also a E<.Nm "
540 "crypt_r> function on HP-UX and MKS Toolkit, but the prototypes and semantics "
541 "differ."
542 msgstr ""
543
544 #. type: Plain text
545 #: debian-trixie debian-unstable
546 msgid ""
547 "E<.Nm crypt_rn> and E<.Nm crypt_ra> originate with the Openwall project."
548 msgstr ""
549
550 #. type: Sh
551 #: debian-trixie debian-unstable
552 #, no-wrap
553 msgid "SEE ALSO"
554 msgstr "VÉASE TAMBIÉN"
555
556 #. type: Plain text
557 #: debian-trixie debian-unstable
558 msgid ""
559 "E<.Xr crypt_gensalt 3>, E<.Xr getpass 3>, E<.Xr getpwent 3>, E<.Xr shadow "
560 "3>, E<.Xr login 1>, E<.Xr passwd 1>, E<.Xr crypt 5>, E<.Xr passwd 5>, E<.Xr "
561 "shadow 5>, E<.Xr pam 8>"
562 msgstr ""
563
564 #. type: Plain text
565 #: debian-unstable
566 msgid ""
567 "E<.Nm crypt> places its result in a static storage area, which will be "
568 "overwritten by subsequent calls to E<.Nm crypt>. It is not safe to call "
569 "E<.Nm crypt> from multiple threads simultaneously. It's also not "
570 "recommended to use the pointer returned as an argument for another call to "
571 "E<.Nm crypt>, as some implementations, including earlier releases of "
572 "libxcrypt, may overwrite the underlying static output buffer before "
573 "computing the hash."
574 msgstr ""
575
576 #. type: Plain text
577 #: debian-unstable
578 msgid ""
579 "E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> place their result in "
580 "the E<.Fa output> field of their E<.Fa data> argument. It is safe to call "
581 "them from multiple threads simultaneously, as long as a separate E<.Fa data> "
582 "object is used for each thread. It's also not recommended to use the "
583 "pointer returned as an argument for another call to E<.Nm crypt_r>, E<.Nm "
584 "crypt_rn>, and E<.Nm crypt_ra> using the same E<.Fa data> object for "
585 "subsequent calls, as some implementations, including earlier releases of "
586 "libxcrypt, may overwrite the E<.Fa output> field of the passed E<.Fa data> "
587 "argument before computing the hash. Calling E<.Nm crypt_ra> with the E<.Fa "
588 "phrase> and/or E<.Fa setting> parameters located within a passed E<.Fa data> "
589 "object which is smaller than the size of E<.Vt \"struct crypt_data\"> is not "
590 "recommended, as some implementations, including earlier releases of "
591 "libxcrypt, may not preserve the passed literals, if the E<.Fa data> object "
592 "needs to be altered."
593 msgstr ""