Debian Codegraph @

po/pl/man3/crypt.3.po

raw
1 # Polish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Adam Byrtek <[email protected]>, 1998.
5 # Andrzej Krzysztofowicz <[email protected]>, 2001.
6 # Michał Kułach <[email protected]>, 2014, 2016, 2024, 2025, 2026.
7 # Robert Luberda <[email protected]>, 2013, 2017, 2019.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-pl\n"
11 "POT-Creation-Date: 2025-12-07 15:32+0100\n"
12 "PO-Revision-Date: 2026-03-25 06:00+0100\n"
13 "Last-Translator: Michał Kułach <[email protected]>\n"
14 "Language-Team: Polish <[email protected]>\n"
15 "Language: pl\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
20 "|| n%100>=20) ? 1 : 2);\n"
21 "X-Generator: Lokalize 25.04.0\n"
22
23 #. type: Dd
24 #: debian-trixie debian-unstable
25 #, no-wrap
26 msgid "October 11, 2017"
27 msgstr "11 października 2017 r."
28
29 #. type: Dt
30 #: debian-trixie debian-unstable
31 #, no-wrap
32 msgid "CRYPT 3"
33 msgstr "CRYPT 3"
34
35 #. type: Os
36 #: debian-trixie debian-unstable
37 #, no-wrap
38 msgid "Openwall Project"
39 msgstr "Projekt Openwall"
40
41 #. type: Sh
42 #: debian-trixie debian-unstable
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NAZWA"
46
47 #. type: Plain text
48 #: debian-trixie debian-unstable
49 msgid "E<.Nm crypt , crypt_r , crypt_rn , crypt_ra>"
50 msgstr "E<.Nm crypt , crypt_r , crypt_rn , crypt_ra>"
51
52 #. type: Nd
53 #: debian-trixie debian-unstable
54 #, no-wrap
55 msgid "passphrase hashing"
56 msgstr "miesza (haszuje) hasła"
57
58 #. type: Sh
59 #: debian-trixie debian-unstable
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "BIBLIOTEKA"
63
64 #. type: Plain text
65 #: debian-trixie debian-unstable
66 msgid "E<.Lb libcrypt>"
67 msgstr "E<.Lb libcrypt>"
68
69 #. type: Sh
70 #: debian-trixie debian-unstable
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "SKŁADNIA"
74
75 #. type: In
76 #: debian-trixie debian-unstable
77 #, no-wrap
78 msgid "crypt.h"
79 msgstr "crypt.h"
80
81 #. type: Plain text
82 #: debian-trixie debian-unstable
83 msgid ""
84 "E<.Ft \"char *\"> E<.Fo crypt> E<.Fa \"const char *phrase\"> E<.Fa \"const "
85 "char *setting\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_r> E<.Fa \"const char "
86 "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"struct crypt_data *data\"> "
87 "E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_rn> E<.Fa \"const char *phrase\"> E<.Fa "
88 "\"const char *setting\"> E<.Fa \"struct crypt_data *data\"> E<.Fa \"int "
89 "size\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_ra> E<.Fa \"const char "
90 "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"void **data\"> E<.Fa \"int "
91 "*size\"> E<.Fc>"
92 msgstr ""
93 "E<.Ft \"char *\"> E<.Fo crypt> E<.Fa \"const char *phrase\"> E<.Fa \"const "
94 "char *setting\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_r> E<.Fa \"const char "
95 "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"struct crypt_data *data\"> "
96 "E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_rn> E<.Fa \"const char *phrase\"> E<.Fa "
97 "\"const char *setting\"> E<.Fa \"struct crypt_data *data\"> E<.Fa \"int "
98 "size\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_ra> E<.Fa \"const char "
99 "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"void **data\"> E<.Fa \"int "
100 "*size\"> E<.Fc>"
101
102 #. type: Sh
103 #: debian-trixie debian-unstable
104 #, no-wrap
105 msgid "DESCRIPTION"
106 msgstr "OPIS"
107
108 #. type: Plain text
109 #: debian-trixie debian-unstable
110 msgid ""
111 "The E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> "
112 "functions irreversibly E<.Dq hash> E<.Fa phrase> for storage in the system "
113 "password database E<.Pq Xr shadow 5> using a cryptographic E<.Dq hashing "
114 "method.> The result of this operation is called a E<.Dq hashed passphrase> "
115 "or just a E<.Dq hash.> Hashing methods are described in E<.Xr crypt 5>."
116 msgstr ""
117 "Funkcje E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn> i E<.Nm crypt_ra> "
118 "nieodwracalnie \\[Bq]mieszają\\[rq] (haszują) hasła w celu ich "
119 "przechowywania w systemowej bazie danych haseł E<.Pq Xr shadow 5>, za pomocą "
120 "kryptograficznej \\[Bq]metody mieszającej\\[rq]. Wynik operacji zwany jest \\"
121 "[Bq]skrótem hasła\\[rq] lub po prostu \\[Bq]skrótem\\[rq] (\\[Bq]haszem\\"
122 "[rq]). Metody mieszania opisano w E<.Xr crypt 5>."
123
124 #. type: Plain text
125 #: debian-trixie debian-unstable
126 msgid ""
127 "E<.Fa setting> controls which hashing method to use, and also supplies "
128 "various parameters to the chosen method, most importantly a random E<.Dq "
129 "salt> which ensures that no two stored hashes are the same, even if the "
130 "E<.Fa phrase> strings are the same."
131 msgstr ""
132 "E<.Fa setting> kontrolują metodę mieszania, która ma zostać zastosowana i "
133 "przekazują jej różne parametry, w szczególności losową \\[Bq]sól\\[rq], "
134 "która zapewnia, że żadne dwa przechowywane skróty nie są takie same, nawet "
135 "przy takich samych E<.Fa phrase>."
136
137 #. type: Plain text
138 #: debian-trixie debian-unstable
139 msgid ""
140 "The E<.Fa data> argument to E<.Nm crypt_r> is a structure of type E<.Vt "
141 "\"struct crypt_data\">. It has at least these fields:"
142 msgstr ""
143 "Argument E<.Fa data> do E<.Nm crypt_r> jest strukturą typu E<.Vt \"struct "
144 "crypt_data\">. Ma co najmniej następujące pola:"
145
146 #. type: Plain text
147 #: debian-trixie debian-unstable
148 #, no-wrap
149 msgid ""
150 "struct crypt_data {\n"
151 " char output[CRYPT_OUTPUT_SIZE];\n"
152 " char setting[CRYPT_OUTPUT_SIZE];\n"
153 " char input[CRYPT_MAX_PASSPHRASE_SIZE];\n"
154 " char initialized;\n"
155 "};\n"
156 msgstr ""
157 "struct crypt_data {\n"
158 " char output[CRYPT_OUTPUT_SIZE];\n"
159 " char setting[CRYPT_OUTPUT_SIZE];\n"
160 " char input[CRYPT_MAX_PASSPHRASE_SIZE];\n"
161 " char initialized;\n"
162 "};\n"
163
164 #. type: Plain text
165 #: debian-trixie debian-unstable
166 msgid ""
167 "Upon a successful return from E<.Nm crypt_r>, the hashed passphrase will be "
168 "stored in E<.Fa output>. Applications are encouraged, but not required, to "
169 "use the E<.Fa input> and E<.Fa setting> fields to store the strings that "
170 "they will pass as E<.Fa input phrase> and E<.Fa setting> to E<.Nm crypt_r>. "
171 "This will make it easier to erase all sensitive data after it is no longer "
172 "needed."
173 msgstr ""
174 "Po pomyślnym powrocie z E<.Nm crypt_r>, skróty haseł trafią do E<.Fa "
175 "output>. Aplikacje są zachęcane (lecz nie jest to wymagane) do używania pól "
176 "E<.Fa input> i E<.Fa setting>, w celu ich przekazania jako E<.Fa input "
177 "phrase> i E<.Fa setting> do E<.Nm crypt_r>. W ten sposób łatwiejsze będzie "
178 "usunięcie wszystkich wrażliwych danych, które nie są już potrzebne."
179
180 #. type: Plain text
181 #: debian-trixie debian-unstable
182 msgid ""
183 "The E<.Fa initialized> field must be set to zero before the first time a "
184 "E<.Vt \"struct crypt_data\"> object is first used in a call to E<.Fn "
185 "crypt_r>. We recommend zeroing the entire object, not just E<.Fa "
186 "initialized> and not just the documented fields, before the first use. (Of "
187 "course, do this before storing anything in E<.Fa setting> and E<.Fa input>.)"
188 msgstr ""
189 "Pole E<.Fa initialized> musi wynosić zero przed pierwszym użyciu obiektu "
190 "E<.Vt \"struct crypt_data\"> w wywołaniu do E<.Fn crypt_r>. Przed pierwszym "
191 "użyciem, zaleca się wyzerowanie całego obiektu, a nie tylko E<.Fa "
192 "initialized> i nie jedynie pól udokumentowanych (oczywiście należy to zrobić "
193 "przed przechowaniem czegokolwiek w E<.Fa setting> i E<.Fa input>)."
194
195 #. type: Plain text
196 #: debian-trixie debian-unstable
197 msgid ""
198 "The E<.Fa data> argument to E<.Nm crypt_rn> should also point to a E<.Vt "
199 "\"struct crypt_data\"> object, and E<.Fa size> should be the size of that "
200 "object, cast to E<.Vt int>. When used with E<.Nm crypt_rn>, the entire "
201 "E<.Fa data> object (except for the E<.Fa input> and E<.Fa setting> fields) "
202 "must be zeroed before its first use; this is not just a recommendation, as "
203 "it is for E<.Nm crypt_r>. Otherwise, the fields of the object have the same "
204 "uses that they do for E<.Nm crypt_r>."
205 msgstr ""
206 "Argument E<.Fa data> do E<.Nm crypt_rn> powinien również wskazywać na obiekt "
207 "E<.Vt \"struct crypt_data\">, przy czym E<.Fa size> powinno być rozmiarem "
208 "tego obiektu, rzutowanym na E<.Vt int>. Przy użyciu z E<.Nm crypt_rn>, cały "
209 "obiekt E<.Fa data> (poza polami E<.Fa input> i E<.Fa setting>) musi być "
210 "wyzerowany przed pierwszym użyciem; nie jest to jedynie zalecenie, jak ma to "
211 "miejsce w przypadku E<.Nm crypt_r>. Poza tym, pola tego obiektu mają te same "
212 "zastosowania, co dla E<.Nm crypt_r>."
213
214 #. type: Plain text
215 #: debian-trixie debian-unstable
216 msgid ""
217 "On the first call to E<.Nm crypt_ra>, E<.Fa data> should be the address of a "
218 "E<.Vt \"void *\"> variable set to NULL, and E<.Fa size> should be the "
219 "address of an E<.Vt int> variable set to zero. E<.Nm crypt_ra> will "
220 "allocate and initialize a E<.Vt \"struct crypt_data\"> object, using E<.Xr "
221 "malloc 3>, and write its address and size into the variables pointed to by "
222 "E<.Fa data> and E<.Fa size>. These can be reused in subsequent calls. "
223 "After the application is done hashing passphrases, it should deallocate the "
224 "E<.Vt \"struct crypt_data\"> object using E<.Xr free 3>."
225 msgstr ""
226 "Przy pierwszym wywołaniu do E<.Nm crypt_ra>, E<.Fa data> powinno być adresem "
227 "zmiennej E<.Vt \"void *\"> ustawionej na NULL, a E<.Fa size> powinno być "
228 "adresem zmiennej E<.Vt int> ustawionej na zero. E<.Nm crypt_ra> zaalokuje i "
229 "zainicjuje obiekt E<.Vt \"struct crypt_data\">, za pomocą E<.Xr malloc 3> i "
230 "zapisze jego adres i rozmiar do zmiennych, na które wskazują E<.Fa data> i "
231 "E<.Fa size>. Można ich później użyć ponownie w kolejnych wywołaniach. Po "
232 "tym, jak aplikacja ukończy mieszanie haseł, powinna zdealokować obiekt E<.Vt "
233 "\"struct crypt_data\"> za pomocą E<.Xr free 3>."
234
235 #. type: Sh
236 #: debian-trixie debian-unstable
237 #, no-wrap
238 msgid "RETURN VALUES"
239 msgstr "WARTOŚCI ZWRACANE"
240
241 #. type: Plain text
242 #: debian-trixie debian-unstable
243 msgid ""
244 "Upon successful completion, E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, "
245 "and E<.Nm crypt_ra> return a pointer to a string which encodes both the "
246 "hashed passphrase, and the settings that were used to encode it. This "
247 "string is directly usable as E<.Fa setting> in other calls to E<.Nm crypt>, "
248 "E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra>, and as E<.Fa prefix> "
249 "in calls to E<.Nm crypt_gensalt>, E<.Nm crypt_gensalt_rn>, and E<.Nm "
250 "crypt_gensalt_ra>. It will be entirely printable ASCII, and will not "
251 "contain whitespace or the characters E<.Sq Li \\&:>, E<.Sq Li \\&;>, E<.Sq "
252 "Li \\&*>, E<.Sq Li \\&!>, or E<.Sq Li \\&\\e>. See E<.Xr crypt 5> for more "
253 "detail on the format of hashed passphrases."
254 msgstr ""
255 "Po pomyślnym zakończeniu, E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn> i "
256 "E<.Nm crypt_ra> zwracają wskaźnik do łańcucha kodującego zarówno skrót hasła "
257 "jak i ustawienia, których użyto, do jego zakodowania. Łańcuch ten może "
258 "posłużyć jako bezpośrednie E<.Fa setting> w innych wywołaniach do E<.Nm "
259 "crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn> i E<.Nm crypt_ra>, oraz jako E<.Fa "
260 "prefix> w wywołaniach do E<.Nm crypt_gensalt>, E<.Nm crypt_gensalt_rn> i "
261 "E<.Nm crypt_gensalt_ra>. Będzie to łańcuch złożony wyłącznie z drukowalnych "
262 "znaków ASCII i nie będzie zawierał białych znaków, ani znaków \\[Bq]:\\[rq], "
263 "\\[Bq];\\[rq], \\[Bq]*\\[rq], \\[Bq]!\\[rq] i \\[Bq]\\e\\[rq]. Więcej "
264 "informacji o formacie skrótów haseł znajduje się w podręczniku E<.Xr crypt "
265 "5>."
266
267 #. type: Plain text
268 #: debian-trixie
269 msgid ""
270 "E<.Nm crypt> places its result in a static storage area, which will be "
271 "overwritten by subsequent calls to E<.Nm crypt>. It is not safe to call "
272 "E<.Nm crypt> from multiple threads simultaneously."
273 msgstr ""
274 "E<.Nm crypt> umieszcza swój wynik w statycznej przestrzeni przechowywania, "
275 "która będzie nadpisana w kolejnych wywołaniach E<.Nm crypt>. Nie jest "
276 "bezpieczne równoczesne wywoływanie E<.Nm crypt> z wielu wątków."
277
278 #. type: Plain text
279 #: debian-trixie
280 msgid ""
281 "E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> place their result in "
282 "the E<.Fa output> field of their E<.Fa data> argument. It is safe to call "
283 "them from multiple threads simultaneously, as long as a separate E<.Fa data> "
284 "object is used for each thread."
285 msgstr ""
286 "E<.Nm crypt_r>, E<.Nm crypt_rn> i E<.Nm crypt_ra> umieszczają swoje wyniki w "
287 "polu E<.Fa output> ich argumentu E<.Fa data>. Można bezpiecznie wywoływać je "
288 "równocześnie z wielu wątków, o ile tylko używane są różne obiekty E<.Fa "
289 "data> w każdym wątku."
290
291 #. type: Plain text
292 #: debian-trixie debian-unstable
293 msgid ""
294 "Upon error, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> write an "
295 "E<.Em invalid> hash to the E<.Fa output> field of their E<.Fa data> "
296 "argument, and E<.Nm crypt> writes an invalid hash to its static storage "
297 "area. This string will be shorter than 13 characters, will begin with a "
298 "E<.Sq Li \\&*>, and will not compare equal to E<.Fa setting>."
299 msgstr ""
300 "Po wystąpieniu błędu, E<.Nm crypt_r>, E<.Nm crypt_rn> i E<.Nm crypt_ra> "
301 "zapisują E<.Em nieprawidłowy> skrót w polu E<.Fa output> ich argumentu E<.Fa "
302 "data>, a E<.Nm crypt> zapisze nieprawidłowy skrót w swojej statycznej "
303 "przestrzeni przechowywania. Łańcuch ten będzie krótszy niż 13 znaków, będzie "
304 "rozpoczynał się od znaku \\[Bq]*\\[rq], a przy porównaniu nie będzie równy "
305 "E<.Fa setting>."
306
307 #. type: Plain text
308 #: debian-trixie debian-unstable
309 msgid ""
310 "Upon error, E<.Nm crypt_rn> and E<.Nm crypt_ra> return a null pointer. "
311 "E<.Nm crypt_r> and E<.Nm crypt> may also return a null pointer, or they may "
312 "return a pointer to the invalid hash, depending on how libcrypt was "
313 "configured. (The option to return the invalid hash is for compatibility "
314 "with old applications that assume that E<.Nm crypt> cannot return a null "
315 "pointer. See E<.Sx PORTABILITY NOTES> below.)"
316 msgstr ""
317 "Po wystąpieniu błędu, E<.Nm crypt_rn> i E<.Nm crypt_ra> zwrócą pusty "
318 "wskaźnik. E<.Nm crypt_r> i E<.Nm crypt> również mogą zwrócić pusty wskaźnik, "
319 "mogą też zwrócić wskaźnik do nieprawidłowego skrótu, w zależności od "
320 "konfiguracji libcrypt (opcja zwrócenia nieprawidłowego skrótu istnieje ze "
321 "względu na kompatybilność ze starszymi aplikacjami, które zakładają, że "
322 "E<.Nm crypt> nie może zwrócić pustego wskaźnika; zob. E<.Sx UWAGI DOTYCZĄCE "
323 "PRZENOŚNOŚCI> niżej)."
324
325 #. type: Plain text
326 #: debian-trixie debian-unstable
327 msgid ""
328 "All four functions set E<.Va errno> when they fail. When the functions "
329 "succeed, the value of E<.Va errno> is unspecified and must not be relied "
330 "upon."
331 msgstr ""
332 "Wszystkie cztery funkcje ustawiają E<.Va errno> przy niepowodzeniu. Jeśli "
333 "funkcje się powiodą, wartość E<.Va errno> jest nieokreślona i nie powinna "
334 "być brana pod uwagę."
335
336 #. type: Sh
337 #: debian-trixie debian-unstable
338 #, no-wrap
339 msgid "ERRORS"
340 msgstr "BŁĘDY"
341
342 #. type: It
343 #: debian-trixie debian-unstable
344 #, no-wrap
345 msgid "Er EINVAL"
346 msgstr "Er EINVAL"
347
348 #. type: Plain text
349 #: debian-trixie debian-unstable
350 msgid ""
351 "E<.Fa setting> is invalid, or requests a hashing method that is not "
352 "supported."
353 msgstr ""
354 "E<.Fa setting> jest nieprawidłowe lub żądano nieobsługiwanej metody "
355 "mieszania."
356
357 #. type: It
358 #: debian-trixie debian-unstable
359 #, no-wrap
360 msgid "Er ERANGE"
361 msgstr "Er ERANGE"
362
363 #. type: Plain text
364 #: debian-trixie debian-unstable
365 msgid ""
366 "E<.Fa phrase> is too long (more than E<.Dv CRYPT_MAX_PASSPHRASE_SIZE> "
367 "characters; some hashing methods may have lower limits)."
368 msgstr ""
369 "E<.Fa phrase> jest zbyt długie (dłuższe niż E<.Dv CRYPT_MAX_PASSPHRASE_SIZE> "
370 "znaków; niektóre metody mieszania mogą mieć mniejsze limity)."
371
372 #. type: Plain text
373 #: debian-trixie debian-unstable
374 msgid ""
375 "E<.Nm crypt_rn> only: E<.Fa size> is too small for the hashing method "
376 "requested by E<.Fa setting>."
377 msgstr ""
378 "Tylko E<.Nm crypt_rn>: E<.Fa size> jest zbyt małe dla metody mieszania "
379 "zażądanej w E<.Fa setting>."
380
381 #. type: It
382 #: debian-trixie debian-unstable
383 #, no-wrap
384 msgid "Er ENOMEM"
385 msgstr "Er ENOMEM"
386
387 #. type: Plain text
388 #: debian-trixie debian-unstable
389 msgid "Failed to allocate internal scratch memory."
390 msgstr "Nie udało się zaalokować wewnętrznej pamięci \\[Bq]scratch\\[rq]."
391
392 #. type: Plain text
393 #: debian-trixie debian-unstable
394 msgid "E<.Nm crypt_ra> only: failed to allocate memory for E<.Fa data>."
395 msgstr ""
396 "Tylko E<.Nm crypt_ra>: nie udało się zaalokować pamięci dla E<.Fa data>."
397
398 #. type: It
399 #: debian-trixie debian-unstable
400 #, no-wrap
401 msgid "Er ENOSYS No or Er EOPNOTSUPP"
402 msgstr "Er ENOSYS No lub Er EOPNOTSUPP"
403
404 #. type: Plain text
405 #: debian-trixie debian-unstable
406 msgid ""
407 "Hashing passphrases is not supported at all on this installation, or the "
408 "hashing method requested by E<.Fa setting> is not supported. These error "
409 "codes are not used by this version of libcrypt, but may be encountered on "
410 "other systems."
411 msgstr ""
412 "Mieszanie haseł nie jest obsługiwane w tej instalacji lub metoda mieszania "
413 "zażądana w E<.Fa setting> nie jest obsługiwana. Te statusy błędów nie są "
414 "używane w tej wersji libcrypt, ale mogą wystąpić na innych systemach."
415
416 #. type: Sh
417 #: debian-trixie debian-unstable
418 #, no-wrap
419 msgid "PORTABILITY NOTES"
420 msgstr "UWAGI DOTYCZĄCE PRZENOŚNOŚCI"
421
422 #. type: Plain text
423 #: debian-trixie debian-unstable
424 msgid ""
425 "E<.Nm crypt> is included in POSIX, but E<.Nm crypt_r>, E<.Nm crypt_rn>, and "
426 "E<.Nm crypt_ra> are not part of any standard."
427 msgstr ""
428 "E<.Nm crypt> jest wymienione w POSIX, lecz E<.Nm crypt_r>, E<.Nm crypt_rn> i "
429 "E<.Nm crypt_ra> nie są częścią żadnego standardu."
430
431 #. type: Plain text
432 #: debian-trixie debian-unstable
433 msgid ""
434 "POSIX does not specify any hashing methods, and does not require hashed "
435 "passphrases to be portable between systems. In practice, hashed passphrases "
436 "are portable as long as both systems support the hashing method that was "
437 "used. However, the set of supported hashing methods varies considerably "
438 "from system to system."
439 msgstr ""
440 "POSIX nie określa żadnych metod mieszania, ani nie wymaga, aby skróty haseł "
441 "były przenośne między systemami. W praktyce, skróty haseł są przenośne, o "
442 "ile oba systemy obsługują daną metodę mieszania. Jednak zestaw obsługiwanych "
443 "metod mieszania znacznie różni się między systemami."
444
445 #. type: Plain text
446 #: debian-trixie debian-unstable
447 msgid ""
448 "The behavior of E<.Nm crypt> on errors isn't well standardized. Some "
449 "implementations simply can't fail (except by crashing the program), others "
450 "return a null pointer or a fixed string. Most implementations don't set "
451 "E<.Va errno>, but some do. POSIX specifies returning a null pointer and "
452 "setting E<.Va errno>, but it defines only one possible error, E<.Er ENOSYS>, "
453 "in the case where E<.Nm crypt> is not supported at all. Some older "
454 "applications are not prepared to handle null pointers returned by E<.Nm "
455 "crypt>. The behavior described above for this implementation, setting E<.Va "
456 "errno> and returning an invalid hash different from E<.Fa setting>, is "
457 "chosen to make these applications fail closed when an error occurs."
458 msgstr ""
459 "Zachowanie E<.Nm crypt> w przypadku błędów nie jest dobrze zestandaryzowane. "
460 "Niektóre implementacje nie mogą zawieść (poza załamaniem programu), inne "
461 "zwracają pusty wskaźnik lub określony łańcuch. Większość implementacji nie "
462 "ustawia E<.Va errno>, lecz niektóre to robią. POSIX określa zwracanie "
463 "pustego wskaźnika i ustawianie E<.Va errno>, lecz definiuje tylko jeden "
464 "możliwy błąd, E<.Er ENOSYS> w przypadku, w którym E<.Nm crypt> w ogóle nie "
465 "jest obsługiwane. Niektóre starsze aplikacje nie są przygotowane do obsługi "
466 "pustych wskaźników zwracanych przez E<.Nm crypt>. Zachowanie opisane powyżej "
467 "w tej implementacji, czyli ustawianie E<.Va errno> i zwracanie "
468 "nieprawidłowego skrótu, różnego od E<.Fa setting> wybrano, aby takie "
469 "aplikacje zamknęły się i zawiodły, gdy taki błąd wystąpi."
470
471 #. type: Plain text
472 #: debian-trixie debian-unstable
473 msgid ""
474 "Due to historical restrictions on the export of cryptographic software from "
475 "the USA, E<.Nm crypt> is an optional POSIX component. Applications should "
476 "therefore be prepared for E<.Nm crypt> not to be available, or to always "
477 "fail (setting E<.Va errno> to E<.Er ENOSYS>) at runtime."
478 msgstr ""
479 "Z powodów historycznych ograniczeń, dotyczących eksportu oprogramowania "
480 "kryptograficznego ze Stanów Zjednoczonych, E<.Nm crypt> jest opcjonalną "
481 "częścią POSIX. Aplikacje powinny być dlatego przygotowane do sytuacji, gdy "
482 "E<.Nm crypt> nie jest dostępne, bądź zawsze zawodzić (ustawiając E<.Va "
483 "errno> na E<.Er ENOSYS>) przy rozruchu."
484
485 #. type: Plain text
486 #: debian-trixie debian-unstable
487 msgid "POSIX specifies that E<.Nm crypt> is declared in"
488 msgstr "POSIX określa, że E<.Nm crypt> jest zadeklarowane w"
489
490 #. type: In
491 #: debian-trixie debian-unstable
492 #, no-wrap
493 msgid "unistd.h ,"
494 msgstr "unistd.h ,"
495
496 #. type: Plain text
497 #: debian-trixie debian-unstable
498 msgid ""
499 "but only if the macro E<.Dv _XOPEN_CRYPT> is defined and has a value greater "
500 "than or equal to zero. Since libcrypt does not provide"
501 msgstr ""
502 "lecz tylko gdy makro E<.Dv _XOPEN_CRYPT> jest zdefiniowane i ma wartość "
503 "większą lub równą zero. Ze względu na to, że libcrypt nie zapewnia"
504
505 #. type: Plain text
506 #: debian-trixie debian-unstable
507 msgid ""
508 "it declares E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm "
509 "crypt_ra> in"
510 msgstr ""
511 "deklaruje w zamian E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn> i E<.Nm "
512 "crypt_ra> w"
513
514 #. type: Plain text
515 #: debian-trixie debian-unstable
516 msgid "instead."
517 msgstr "."
518
519 #. type: Plain text
520 #: debian-trixie debian-unstable
521 msgid ""
522 "On a minority of systems (notably recent versions of Solaris), E<.Nm crypt> "
523 "uses a thread-specific static storage buffer, which makes it safe to call "
524 "from multiple threads simultaneously, but does not prevent each call within "
525 "a thread from overwriting the results of the previous one."
526 msgstr ""
527 "Na mniejszości systemów (głównie ostatnich wersjach Solarisa), E<.Nm crypt> "
528 "używa statycznego bufora przechowywania przypisanego wątkowi, który czyni "
529 "bezpiecznym równoczesne wywoływanie z wielu wątków, lecz nie zapobiega "
530 "każdemu wywołaniu z wątku, przed nadpisaniem wyników poprzedniego wywołania."
531
532 #. type: Sh
533 #: debian-trixie debian-unstable
534 #, no-wrap
535 msgid "BUGS"
536 msgstr "USTERKI"
537
538 #. type: Plain text
539 #: debian-trixie debian-unstable
540 msgid ""
541 "Some implementations of E<.Nm crypt>, upon error, return an invalid hash "
542 "that is stored in a read-only location or only initialized once, which means "
543 "that it is only safe to erase the buffer pointed to by the E<.Nm crypt> "
544 "return value if an error did not occur."
545 msgstr ""
546 "Niektóre implementacje E<.Nm crypt>, przy błędzie zwracają nieprawidłowy "
547 "skrót, który jest przechowywany w położeniu tylko do odczytu, lub "
548 "zainicjowanym jedynie jednokrotnie, co oznacza, że wyczyszczenie bufora, na "
549 "który wskazuje wartość zwracana przez E<.Nm crypt> jest bezpieczne tylko "
550 "wtedy, gdy nie wystąpił błąd."
551
552 #. type: Plain text
553 #: debian-trixie debian-unstable
554 msgid ""
555 "E<.Vt \"struct crypt_data\"> may be quite large (32kB in this implementation "
556 "of libcrypt; over 128kB in some other implementations). This is large "
557 "enough that it may be unwise to allocate it on the stack."
558 msgstr ""
559 "E<.Vt \"struct crypt_data\"> może być dość duże (32kB w tej implementacji "
560 "libcrypt; ponad 128kB w niektórych innych implementacjach). Jest to na tyle "
561 "duża wielkość, że może być nierozsądne alokowanie jej na stosie."
562
563 #. type: Plain text
564 #: debian-trixie debian-unstable
565 msgid ""
566 "Some recently designed hashing methods need even more scratch memory, but "
567 "the E<.Nm crypt_r> interface makes it impossible to change the size of E<.Vt "
568 "\"struct crypt_data\"> without breaking binary compatibility. The E<.Nm "
569 "crypt_rn> interface could accommodate larger allocations for specific "
570 "hashing methods, but the caller of E<.Nm crypt_rn> has no way of knowing how "
571 "much memory to allocate. E<.Nm crypt_ra> does the allocation itself, but "
572 "can only make a single call to E<.Xr malloc 3>."
573 msgstr ""
574 "Niektóre ostatnio zaprojektowane metody mieszania potrzebują jeszcze więcej "
575 "pamięci \\[Bq]scratch\\[rq], lecz interfejs E<.Nm crypt_r> nie umożliwia "
576 "zmiany rozmiaru E<.Vt \"struct crypt_data\"> bez złamania kompatybilności "
577 "binarnej. Interfejs E<.Nm crypt_rn> mógłby dokonywać większych alokacji dla "
578 "określonych metod mieszania, lecz wywołujący E<.Nm crypt_rn> nie ma sposobu "
579 "określenia, jak dużo pamięci zaalokować. E<.Nm crypt_ra> sam alokuje pamięć, "
580 "lecz może wykonać jedynie pojedyncze wywołanie do E<.Xr malloc 3>."
581
582 #. type: Sh
583 #: debian-trixie debian-unstable
584 #, no-wrap
585 msgid "ATTRIBUTES"
586 msgstr "ATRYBUTY"
587
588 #. type: Plain text
589 #: debian-trixie debian-unstable
590 msgid ""
591 "For an explanation of the terms used in this section, see E<.Xr attributes "
592 "7>."
593 msgstr ""
594 "Informacje o pojęciach używanych w tym rozdziale można znaleźć w podręczniku "
595 "E<.Xr attributes 7>."
596
597 #. type: tbl table
598 #: debian-trixie debian-unstable
599 #, no-wrap
600 msgid "Interface"
601 msgstr "Interfejs"
602
603 #. type: tbl table
604 #: debian-trixie debian-unstable
605 #, no-wrap
606 msgid "Attribute"
607 msgstr "Atrybut"
608
609 #. type: tbl table
610 #: debian-trixie debian-unstable
611 #, no-wrap
612 msgid "Value"
613 msgstr "Wartość"
614
615 #. type: tbl table
616 #: debian-trixie debian-unstable
617 #, no-wrap
618 msgid ".Nm crypt\n"
619 msgstr ".Nm crypt\n"
620
621 #. type: tbl table
622 #: debian-trixie debian-unstable
623 #, no-wrap
624 msgid "Thread safety"
625 msgstr "Bezpieczeństwo wątkowe"
626
627 #. type: tbl table
628 #: debian-trixie debian-unstable
629 #, no-wrap
630 msgid "MT-Unsafe race:crypt"
631 msgstr "MT-niebezpieczne race:crypt"
632
633 #. type: tbl table
634 #: debian-trixie debian-unstable
635 #, no-wrap
636 msgid ".Nm crypt_r ,\n"
637 msgstr ".Nm crypt_r ,\n"
638
639 #. type: tbl table
640 #: debian-trixie debian-unstable
641 #, no-wrap
642 msgid ".Nm crypt_rn ,\n"
643 msgstr ".Nm crypt_rn ,\n"
644
645 #. type: tbl table
646 #: debian-trixie debian-unstable
647 #, no-wrap
648 msgid ".Nm crypt_ra\n"
649 msgstr ".Nm crypt_ra\n"
650
651 #. type: tbl table
652 #: debian-trixie debian-unstable
653 #, no-wrap
654 msgid "MT-Safe"
655 msgstr "MT-bezpieczne"
656
657 #. type: Sh
658 #: debian-trixie debian-unstable
659 #, no-wrap
660 msgid "HISTORY"
661 msgstr "HISTORIA"
662
663 #. type: Plain text
664 #: debian-trixie debian-unstable
665 msgid ""
666 "A rotor-based E<.Nm crypt> function appeared in E<.At v6>. The E<.Dq "
667 "traditional> DES-based E<.Nm crypt> first appeared in E<.At v7>."
668 msgstr ""
669 "Funkcja E<.Nm crypt> oparta na wirnikach pojawiła się w E<.At v6>. \\"
670 "[Bq]Tradycyjne\\[rq] E<.Nm crypt>, oparte na DES, pojawiło się w E<.At v7>."
671
672 #. type: Plain text
673 #: debian-trixie debian-unstable
674 msgid ""
675 "E<.Nm crypt_r> originates with the GNU C Library. There's also a E<.Nm "
676 "crypt_r> function on HP-UX and MKS Toolkit, but the prototypes and semantics "
677 "differ."
678 msgstr ""
679 "E<.Nm crypt_r> pochodzi z biblioteki GNU C. Występuje również funkcja E<.Nm "
680 "crypt_r> na HP-UX i MKS Toolkit, lecz prototypy i zachowanie różnią się."
681
682 #. type: Plain text
683 #: debian-trixie debian-unstable
684 msgid ""
685 "E<.Nm crypt_rn> and E<.Nm crypt_ra> originate with the Openwall project."
686 msgstr "E<.Nm crypt_rn> i E<.Nm crypt_ra> pochodzą z projektu Openwall."
687
688 #. type: Sh
689 #: debian-trixie debian-unstable
690 #, no-wrap
691 msgid "SEE ALSO"
692 msgstr "ZOBACZ TAKŻE"
693
694 #. type: Plain text
695 #: debian-trixie debian-unstable
696 msgid ""
697 "E<.Xr crypt_gensalt 3>, E<.Xr getpass 3>, E<.Xr getpwent 3>, E<.Xr shadow "
698 "3>, E<.Xr login 1>, E<.Xr passwd 1>, E<.Xr crypt 5>, E<.Xr passwd 5>, E<.Xr "
699 "shadow 5>, E<.Xr pam 8>"
700 msgstr ""
701 "E<.Xr crypt_gensalt 3>, E<.Xr getpass 3>, E<.Xr getpwent 3>, E<.Xr shadow "
702 "3>, E<.Xr login 1>, E<.Xr passwd 1>, E<.Xr crypt 5>, E<.Xr passwd 5>, E<.Xr "
703 "shadow 5>, E<.Xr pam 8>"
704
705 #. type: Plain text
706 #: debian-unstable
707 msgid ""
708 "E<.Nm crypt> places its result in a static storage area, which will be "
709 "overwritten by subsequent calls to E<.Nm crypt>. It is not safe to call "
710 "E<.Nm crypt> from multiple threads simultaneously. It's also not "
711 "recommended to use the pointer returned as an argument for another call to "
712 "E<.Nm crypt>, as some implementations, including earlier releases of "
713 "libxcrypt, may overwrite the underlying static output buffer before "
714 "computing the hash."
715 msgstr ""
716 "E<.Nm crypt> umieszcza swój wynik w statycznej przestrzeni przechowywania, "
717 "która będzie nadpisana w kolejnych wywołaniach E<.Nm crypt>. Nie jest "
718 "bezpieczne równoczesne wywoływanie E<.Nm crypt> z wielu wątków. Nie zaleca "
719 "się również stosowania zwracanego wskaźnika jako argumentu do innego "
720 "wywołania do E<.Nm crypt>, ponieważ niektóre implementacje, w tym "
721 "wcześniejsze wydania libxcrypt, mogą nadpisywać podległy statyczny bufor "
722 "wyjściowy przed obliczeniem skrótu."
723
724 #. type: Plain text
725 #: debian-unstable
726 msgid ""
727 "E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> place their result in "
728 "the E<.Fa output> field of their E<.Fa data> argument. It is safe to call "
729 "them from multiple threads simultaneously, as long as a separate E<.Fa data> "
730 "object is used for each thread. It's also not recommended to use the "
731 "pointer returned as an argument for another call to E<.Nm crypt_r>, E<.Nm "
732 "crypt_rn>, and E<.Nm crypt_ra> using the same E<.Fa data> object for "
733 "subsequent calls, as some implementations, including earlier releases of "
734 "libxcrypt, may overwrite the E<.Fa output> field of the passed E<.Fa data> "
735 "argument before computing the hash. Calling E<.Nm crypt_ra> with the E<.Fa "
736 "phrase> and/or E<.Fa setting> parameters located within a passed E<.Fa data> "
737 "object which is smaller than the size of E<.Vt \"struct crypt_data\"> is not "
738 "recommended, as some implementations, including earlier releases of "
739 "libxcrypt, may not preserve the passed literals, if the E<.Fa data> object "
740 "needs to be altered."
741 msgstr ""
742 "E<.Nm crypt_r>, E<.Nm crypt_rn> i E<.Nm crypt_ra> umieszczają swoje wyniki w "
743 "polu E<.Fa output> ich argumentu E<.Fa data>. Można bezpiecznie wywołać je "
744 "równolegle z wielu wątków, dopóki w każdym wątku użyje się oddzielnego "
745 "obiektu E<.Fa data>. Nie zaleca się również stosowania zwracanego wskaźnika "
746 "jako argumentu do innego wywołania do E<.Nm crypt_r>, E<.Nm crypt_rn> i "
747 "E<.Nm crypt_ra>, korzystając z tego samego obiektu E<.Fa data> w kolejnych "
748 "wywołaniach, ponieważ niektóre wcześniejsze wydania libxcrypt, mogą "
749 "nadpisywać pole E<.Fa output> przekazanego argumentu E<.Fa data>, przed "
750 "obliczeniem skrótu. Wywołanie E<.Nm crypt_ra> z parametrem E<.Fa phrase> i/"
751 "lub E<.Fa setting> umieszczonym w przekazywanym obiekcie E<.Fa data> o "
752 "rozmiarze mniejszym od rozmiaru E<.Vt \"struct crypt_data\"> jest "
753 "niezalecane, ponieważ w niektórych implementacjach, w tym we wcześniejszych "
754 "wydaniach libxcrypt, przekazane informacje mogą nie zostać zachowane, jeśli "
755 "obiekt E<.Fa data> wymaga zmiany."