summaryrefslogtreecommitdiffstats
path: root/po/pt_BR/man3/crypt.3.po
blob: ce77dc9ea3201454ca21c2751720012439398e5c (plain)
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
# Brazilian Portuguese translation of manpages
# This file is distributed under the same license as the manpages-l10n package.
# Copyright © of this file:
# Paulo César Mendes <drpc@ism.com.br>, 2000.
# André Luiz Fassone <lonely_wolf@ig.com.br>, 2000.
msgid ""
msgstr ""
"Project-Id-Version: manpages-l10n\n"
"POT-Creation-Date: 2023-06-27 19:23+0200\n"
"PO-Revision-Date: 2000-06-02 19:20-0300\n"
"Last-Translator: André Luiz Fassone <lonely_wolf@ig.com.br>\n"
"Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian."
"org>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Virtaal 1.0.0-beta1\n"

#. type: Dd
#: debian-bookworm debian-unstable
#, no-wrap
msgid "October 11, 2017"
msgstr "11 de outubro de 2017"

#. type: Dt
#: debian-bookworm debian-unstable
#, no-wrap
msgid "CRYPT 3"
msgstr "CRYPT 3"

#. type: Os
#: debian-bookworm debian-unstable
#, no-wrap
msgid "Openwall Project"
msgstr ""

#. type: Sh
#: debian-bookworm debian-unstable
#, no-wrap
msgid "NAME"
msgstr "NOME"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid "E<.Nm crypt , crypt_r , crypt_rn , crypt_ra>"
msgstr "E<.Nm crypt , crypt_r , crypt_rn , crypt_ra>"

#. type: Nd
#: debian-bookworm debian-unstable
#, no-wrap
msgid "passphrase hashing"
msgstr ""

#. type: Sh
#: debian-bookworm debian-unstable
#, no-wrap
msgid "LIBRARY"
msgstr "BIBLIOTECA"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid "E<.Lb libcrypt>"
msgstr "E<.Lb libcrypt>"

#. type: Sh
#: debian-bookworm debian-unstable
#, no-wrap
msgid "SYNOPSIS"
msgstr "SINOPSE"

#. type: In
#: debian-bookworm debian-unstable
#, no-wrap
msgid "crypt.h"
msgstr "crypt.h"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"E<.Ft \"char *\"> E<.Fo crypt> E<.Fa \"const char *phrase\"> E<.Fa \"const "
"char *setting\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_r> E<.Fa \"const char "
"*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"struct crypt_data *data\"> "
"E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_rn> E<.Fa \"const char *phrase\"> E<.Fa "
"\"const char *setting\"> E<.Fa \"struct crypt_data *data\"> E<.Fa \"int "
"size\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_ra> E<.Fa \"const char "
"*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"void **data\"> E<.Fa \"int "
"*size\"> E<.Fc>"
msgstr ""

#. type: Sh
#: debian-bookworm debian-unstable
#, no-wrap
msgid "DESCRIPTION"
msgstr "DESCRIÇÃO"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"The E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> "
"functions irreversibly E<.Dq hash> E<.Fa phrase> for storage in the system "
"password database E<.Pq Xr shadow 5> using a cryptographic E<.Dq hashing "
"method.> The result of this operation is called a E<.Dq hashed passphrase> "
"or just a E<.Dq hash.> Hashing methods are described in E<.Xr crypt 5>."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"E<.Fa setting> controls which hashing method to use, and also supplies "
"various parameters to the chosen method, most importantly a random E<.Dq "
"salt> which ensures that no two stored hashes are the same, even if the E<."
"Fa phrase> strings are the same."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"The E<.Fa data> argument to E<.Nm crypt_r> is a structure of type E<.Vt "
"\"struct crypt_data\">.  It has at least these fields:"
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
#, no-wrap
msgid ""
"struct crypt_data {\n"
"    char output[CRYPT_OUTPUT_SIZE];\n"
"    char setting[CRYPT_OUTPUT_SIZE];\n"
"    char input[CRYPT_MAX_PASSPHRASE_SIZE];\n"
"    char initialized;\n"
"};\n"
msgstr ""
"struct crypt_data {\n"
"    char output[CRYPT_OUTPUT_SIZE];\n"
"    char setting[CRYPT_OUTPUT_SIZE];\n"
"    char input[CRYPT_MAX_PASSPHRASE_SIZE];\n"
"    char initialized;\n"
"};\n"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"Upon a successful return from E<.Nm crypt_r>, the hashed passphrase will be "
"stored in E<.Fa output>.  Applications are encouraged, but not required, to "
"use the E<.Fa input> and E<.Fa setting> fields to store the strings that "
"they will pass as E<.Fa input phrase> and E<.Fa setting> to E<.Nm crypt_r>.  "
"This will make it easier to erase all sensitive data after it is no longer "
"needed."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"The E<.Fa initialized> field must be set to zero before the first time a E<."
"Vt \"struct crypt_data\"> object is first used in a call to E<.Fn crypt_r>.  "
"We recommend zeroing the entire object, not just E<.Fa initialized> and not "
"just the documented fields, before the first use.  (Of course, do this "
"before storing anything in E<.Fa setting> and E<.Fa input>.)"
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"The E<.Fa data> argument to E<.Nm crypt_rn> should also point to a E<.Vt "
"\"struct crypt_data\"> object, and E<.Fa size> should be the size of that "
"object, cast to E<.Vt int>.  When used with E<.Nm crypt_rn>, the entire E<."
"Fa data> object (except for the E<.Fa input> and E<.Fa setting> fields) must "
"be zeroed before its first use; this is not just a recommendation, as it is "
"for E<.Nm crypt_r>.  Otherwise, the fields of the object have the same uses "
"that they do for E<.Nm crypt_r>."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"On the first call to E<.Nm crypt_ra>, E<.Fa data> should be the address of a "
"E<.Vt \"void *\"> variable set to NULL, and E<.Fa size> should be the "
"address of an E<.Vt int> variable set to zero.  E<.Nm crypt_ra> will "
"allocate and initialize a E<.Vt \"struct crypt_data\"> object, using E<.Xr "
"malloc 3>, and write its address and size into the variables pointed to by "
"E<.Fa data> and E<.Fa size>.  These can be reused in subsequent calls.  "
"After the application is done hashing passphrases, it should deallocate the "
"E<.Vt \"struct crypt_data\"> object using E<.Xr free 3>."
msgstr ""

#. type: Sh
#: debian-bookworm debian-unstable
#, no-wrap
msgid "RETURN VALUES"
msgstr "VALORES DE RETORNO"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"Upon successful completion, E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, "
"and E<.Nm crypt_ra> return a pointer to a string which encodes both the "
"hashed passphrase, and the settings that were used to encode it.  This "
"string is directly usable as E<.Fa setting> in other calls to E<.Nm crypt>, "
"E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra>, and as E<.Fa prefix> "
"in calls to E<.Nm crypt_gensalt>, E<.Nm crypt_gensalt_rn>, and E<.Nm "
"crypt_gensalt_ra>.  It will be entirely printable ASCII, and will not "
"contain whitespace or the characters E<.Sq Li \\&:>, E<.Sq Li \\&;>, E<.Sq "
"Li \\&*>, E<.Sq Li \\&!>, or E<.Sq Li \\&\\e>.  See E<.Xr crypt 5> for more "
"detail on the format of hashed passphrases."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"E<.Nm crypt> places its result in a static storage area, which will be "
"overwritten by subsequent calls to E<.Nm crypt>.  It is not safe to call E<."
"Nm crypt> from multiple threads simultaneously."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> place their result in "
"the E<.Fa output> field of their E<.Fa data> argument.  It is safe to call "
"them from multiple threads simultaneously, as long as a separate E<.Fa data> "
"object is used for each thread."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"Upon error, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> write an E<."
"Em invalid> hashed passphrase to the E<.Fa output> field of their E<.Fa "
"data> argument, and E<.Nm crypt> writes an invalid hash to its static "
"storage area.  This string will be shorter than 13 characters, will begin "
"with a E<.Sq Li \\&*>, and will not compare equal to E<.Fa setting>."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"Upon error, E<.Nm crypt_rn> and E<.Nm crypt_ra> return a null pointer.  E<."
"Nm crypt_r> and E<.Nm crypt> may also return a null pointer, or they may "
"return a pointer to the invalid hash, depending on how libcrypt was "
"configured.  (The option to return the invalid hash is for compatibility "
"with old applications that assume that E<.Nm crypt> cannot return a null "
"pointer.  See E<.Sx PORTABILITY NOTES> below.)"
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid "All four functions set E<.Va errno> when they fail."
msgstr ""

#. type: Sh
#: debian-bookworm debian-unstable
#, no-wrap
msgid "ERRORS"
msgstr "ERROS"

#. type: It
#: debian-bookworm debian-unstable
#, no-wrap
msgid "Er EINVAL"
msgstr "Er EINVAL"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"E<.Fa setting> is invalid, or requests a hashing method that is not "
"supported."
msgstr ""

#. type: It
#: debian-bookworm debian-unstable
#, no-wrap
msgid "Er ERANGE"
msgstr "Er ERANGE"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"E<.Fa phrase> is too long (more than E<.Dv CRYPT_MAX_PASSPHRASE_SIZE> "
"characters; some hashing methods may have lower limits)."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"E<.Nm crypt_rn> only: E<.Fa size> is too small for the hashing method "
"requested by E<.Fa setting>."
msgstr ""

#. type: It
#: debian-bookworm debian-unstable
#, no-wrap
msgid "Er ENOMEM"
msgstr "Er ENOMEM"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid "Failed to allocate internal scratch memory."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid "E<.Nm crypt_ra> only: failed to allocate memory for E<.Fa data>."
msgstr ""

#. type: It
#: debian-bookworm debian-unstable
#, no-wrap
msgid "Er ENOSYS No or Er EOPNOTSUPP"
msgstr "Er ENOSYS No ou Er EOPNOTSUPP"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"Hashing passphrases is not supported at all on this installation, or the "
"hashing method requested by E<.Fa setting> is not supported.  These error "
"codes are not used by this version of libcrypt, but may be encountered on "
"other systems."
msgstr ""

#. type: Sh
#: debian-bookworm debian-unstable
#, no-wrap
msgid "PORTABILITY NOTES"
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"E<.Nm crypt> is included in POSIX, but E<.Nm crypt_r>, E<.Nm crypt_rn>, and "
"E<.Nm crypt_ra> are not part of any standard."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"POSIX does not specify any hashing methods, and does not require hashed "
"passphrases to be portable between systems.  In practice, hashed passphrases "
"are portable as long as both systems support the hashing method that was "
"used.  However, the set of supported hashing methods varies considerably "
"from system to system."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"The behavior of E<.Nm crypt> on errors isn't well standardized.  Some "
"implementations simply can't fail (except by crashing the program), others "
"return a null pointer or a fixed string.  Most implementations don't set E<."
"Va errno>, but some do.  POSIX specifies returning a null pointer and "
"setting E<.Va errno>, but it defines only one possible error, E<.Er ENOSYS>, "
"in the case where E<.Nm crypt> is not supported at all.  Some older "
"applications are not prepared to handle null pointers returned by E<.Nm "
"crypt>.  The behavior described above for this implementation, setting E<.Va "
"errno> and returning an invalid hashed passphrase different from E<.Fa "
"setting>, is chosen to make these applications fail closed when an error "
"occurs."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"Due to historical restrictions on the export of cryptographic software from "
"the USA, E<.Nm crypt> is an optional POSIX component.  Applications should "
"therefore be prepared for E<.Nm crypt> not to be available, or to always "
"fail (setting E<.Va errno> to E<.Er ENOSYS>)  at runtime."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid "POSIX specifies that E<.Nm crypt> is declared in"
msgstr ""

#. type: In
#: debian-bookworm debian-unstable
#, no-wrap
msgid "unistd.h ,"
msgstr "unistd.h ,"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"but only if the macro E<.Dv _XOPEN_CRYPT> is defined and has a value greater "
"than or equal to zero.  Since libcrypt does not provide"
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"it declares E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm "
"crypt_ra> in"
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid "instead."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"On a minority of systems (notably recent versions of Solaris), E<.Nm crypt> "
"uses a thread-specific static storage buffer, which makes it safe to call "
"from multiple threads simultaneously, but does not prevent each call within "
"a thread from overwriting the results of the previous one."
msgstr ""

#. type: Sh
#: debian-bookworm debian-unstable
#, no-wrap
msgid "BUGS"
msgstr "BUGS"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"Some implementations of E<.Nm crypt>, upon error, return an invalid hash "
"that is stored in a read-only location or only initialized once, which means "
"that it is only safe to erase the buffer pointed to by the E<.Nm crypt> "
"return value if an error did not occur."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"E<.Vt \"struct crypt_data\"> may be quite large (32kB in this implementation "
"of libcrypt; over 128kB in some other implementations).  This is large "
"enough that it may be unwise to allocate it on the stack."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"Some recently designed hashing methods need even more scratch memory, but "
"the E<.Nm crypt_r> interface makes it impossible to change the size of E<.Vt "
"\"struct crypt_data\"> without breaking binary compatibility.  The E<.Nm "
"crypt_rn> interface could accommodate larger allocations for specific "
"hashing methods, but the caller of E<.Nm crypt_rn> has no way of knowing how "
"much memory to allocate.  E<.Nm crypt_ra> does the allocation itself, but "
"can only make a single call to E<.Xr malloc 3>."
msgstr ""

#. type: Sh
#: debian-bookworm debian-unstable
#, no-wrap
msgid "ATTRIBUTES"
msgstr "ATRIBUTOS"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"For an explanation of the terms used in this section, see E<.Xr attributes "
"7>."
msgstr ""
"Para uma explicação dos termos usados nesta seção, consulte E<.Xr attributes "
"7>."

#. type: tbl table
#: debian-bookworm debian-unstable
#, no-wrap
msgid "Interface"
msgstr "Interface"

#. type: tbl table
#: debian-bookworm debian-unstable
#, no-wrap
msgid "Attribute"
msgstr "Atributo"

#. type: tbl table
#: debian-bookworm debian-unstable
#, no-wrap
msgid "Value"
msgstr "Valor"

#. type: tbl table
#: debian-bookworm debian-unstable
#, no-wrap
msgid ".Nm crypt\n"
msgstr ".Nm crypt\n"

#. type: tbl table
#: debian-bookworm debian-unstable
#, no-wrap
msgid "Thread safety"
msgstr "Thread safety"

#. type: tbl table
#: debian-bookworm debian-unstable
#, no-wrap
msgid "MT-Unsafe race:crypt"
msgstr ""

#. type: tbl table
#: debian-bookworm debian-unstable
#, no-wrap
msgid ".Nm crypt_r ,\n"
msgstr ".Nm crypt_r ,\n"

#. type: tbl table
#: debian-bookworm debian-unstable
#, no-wrap
msgid ".Nm crypt_rn ,\n"
msgstr ".Nm crypt_rn ,\n"

#. type: tbl table
#: debian-bookworm debian-unstable
#, no-wrap
msgid ".Nm crypt_ra\n"
msgstr ".Nm crypt_ra\n"

#. type: tbl table
#: debian-bookworm debian-unstable
#, no-wrap
msgid "MT-Safe"
msgstr "MT-Safe"

#. type: Sh
#: debian-bookworm debian-unstable
#, no-wrap
msgid "HISTORY"
msgstr "HISTÓRICO"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"A rotor-based E<.Nm crypt> function appeared in E<.At v6>.  The E<.Dq "
"traditional> DES-based E<.Nm crypt> first appeared in E<.At v7>."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"E<.Nm crypt_r> originates with the GNU C Library.  There's also a E<.Nm "
"crypt_r> function on HP-UX and MKS Toolkit, but the prototypes and semantics "
"differ."
msgstr ""

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"E<.Nm crypt_rn> and E<.Nm crypt_ra> originate with the Openwall project."
msgstr ""

#. type: Sh
#: debian-bookworm debian-unstable
#, no-wrap
msgid "SEE ALSO"
msgstr "VEJA TAMBÉM"

#. type: Plain text
#: debian-bookworm debian-unstable
msgid ""
"E<.Xr crypt_gensalt 3>, E<.Xr getpass 3>, E<.Xr getpwent 3>, E<.Xr shadow "
"3>, E<.Xr login 1>, E<.Xr passwd 1>, E<.Xr crypt 5>, E<.Xr passwd 5>, E<.Xr "
"shadow 5>, E<.Xr pam 8>"
msgstr ""
"E<.Xr crypt_gensalt 3>, E<.Xr getpass 3>, E<.Xr getpwent 3>, E<.Xr shadow "
"3>, E<.Xr login 1>, E<.Xr passwd 1>, E<.Xr crypt 5>, E<.Xr passwd 5>, E<.Xr "
"shadow 5>, E<.Xr pam 8>"