Debian Codegraph @

templates/man1/openssl-pkeyutl.1ssl.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:33+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 # #-#-#-#-# archlinux: openssl-pkeyutl.1ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: openssl-pkeyutl.1ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: openssl-pkeyutl.1ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: openssl-pkeyutl.1ssl.pot (PACKAGE VERSION) #-#-#-#-#
29 #. ========================================================================
30 #. type: IX
31 #: archlinux debian-trixie debian-unstable
32 #, no-wrap
33 msgid "Title"
34 msgstr ""
35
36 #
37 #. Required to disable full justification in groff 1.23.0.
38 #. ========================================================================
39 #. type: IX
40 #: archlinux
41 #, no-wrap
42 msgid "OPENSSL-PKEYUTL 1ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "OPENSSL-PKEYUTL"
49 msgstr ""
50
51 #. type: TH
52 #: archlinux debian-trixie debian-unstable
53 #, no-wrap
54 msgid "2026-04-07"
55 msgstr ""
56
57 #. type: TH
58 #: archlinux debian-unstable
59 #, no-wrap
60 msgid "3.6.2"
61 msgstr ""
62
63 #. type: TH
64 #: archlinux debian-trixie debian-unstable
65 #, no-wrap
66 msgid "OpenSSL"
67 msgstr ""
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable
71 #, no-wrap
72 msgid "NAME"
73 msgstr ""
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable
77 msgid "openssl-pkeyutl - asymmetric key command"
78 msgstr ""
79
80 #. type: IX
81 #: archlinux debian-trixie debian-unstable
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr ""
85
86 #. type: IX
87 #: archlinux debian-trixie debian-unstable
88 #, no-wrap
89 msgid "Header"
90 msgstr ""
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable
94 msgid ""
95 "\\&B<openssl> B<pkeyutl> [B<-help>] [B<-in> I<file>] [B<-rawin>] [B<-digest> "
96 "I<algorithm>] [B<-out> I<file>] [B<-secret> I<file>] [B<-sigfile> I<file>] "
97 "[B<-inkey> I<filename>|I<uri>] [B<-keyform> B<DER>|B<PEM>|B<P12>|B<ENGINE>] "
98 "[B<-passin> I<arg>] [B<-pubin>] [B<-certin>] [B<-rev>] [B<-sign>] [B<-"
99 "verify>] [B<-verifyrecover>] [B<-encrypt>] [B<-decrypt>] [B<-derive>] [B<-"
100 "peerkey> I<file>] [B<-peerform> B<DER>|B<PEM>|B<P12>|B<ENGINE>] [B<-encap>] "
101 "[B<-decap>] [B<-kdf> I<algorithm>] [B<-kdflen> I<length>] [B<-kemop> "
102 "I<mode>] [B<-pkeyopt> I<opt>:I<value>] [B<-pkeyopt_passin> "
103 "I<opt>[:I<passarg>]] [B<-hexdump>] [B<-asn1parse>] [B<-engine> I<id>] [B<-"
104 "engine_impl>] [B<-rand> I<files>] [B<-writerand> I<file>] [B<-provider> "
105 "I<name>] [B<-provider-path> I<path>] [B<-provparam> I<[name:]key=value>] [B<-"
106 "propquery> I<propq>] [B<-config> I<configfile>]"
107 msgstr ""
108
109 #. type: IX
110 #: archlinux debian-trixie debian-unstable
111 #, no-wrap
112 msgid "DESCRIPTION"
113 msgstr ""
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable
117 msgid ""
118 "This command can be used to perform low-level operations on asymmetric "
119 "(public or private) keys using any supported algorithm."
120 msgstr ""
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable
124 msgid "By default the signing operation (see B<-sign> option) is assumed."
125 msgstr ""
126
127 #. type: IX
128 #: archlinux debian-trixie debian-unstable
129 #, no-wrap
130 msgid "OPTIONS"
131 msgstr ""
132
133 #. type: IP
134 #: archlinux debian-trixie debian-unstable
135 #, no-wrap
136 msgid "B<-help>"
137 msgstr ""
138
139 #. type: IX
140 #: archlinux debian-trixie debian-unstable
141 #, no-wrap
142 msgid "Item"
143 msgstr ""
144
145 #. type: IX
146 #: archlinux debian-trixie debian-unstable
147 #, no-wrap
148 msgid "-help"
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable
153 msgid "Print out a usage message."
154 msgstr ""
155
156 #. type: IP
157 #: archlinux debian-trixie debian-unstable
158 #, no-wrap
159 msgid "B<-in> I<filename>"
160 msgstr ""
161
162 #. type: IX
163 #: archlinux debian-trixie debian-unstable
164 #, no-wrap
165 msgid "-in filename"
166 msgstr ""
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable
170 msgid ""
171 "This specifies the input filename to read data from or standard input if "
172 "this option is not specified."
173 msgstr ""
174
175 #. type: IP
176 #: archlinux debian-trixie debian-unstable
177 #, no-wrap
178 msgid "B<-rawin>"
179 msgstr ""
180
181 #. type: IX
182 #: archlinux debian-trixie debian-unstable
183 #, no-wrap
184 msgid "-rawin"
185 msgstr ""
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable
189 msgid ""
190 "This indicates that the signature or verification input data is raw data, "
191 "which is not hashed by any message digest algorithm. Except with EdDSA, the "
192 "user can specify a digest algorithm by using the B<-digest> option. For "
193 "signature algorithms like RSA, DSA and ECDSA, the default digest algorithm "
194 "is SHA256. For SM2, it is SM3."
195 msgstr ""
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable
199 msgid ""
200 "This option can only be used with B<-sign> and B<-verify>. For EdDSA (the "
201 "Ed25519 and Ed448 algorithms) this option is implied since OpenSSL 3.5, and "
202 "required in earlier versions."
203 msgstr ""
204
205 #. type: Plain text
206 #: archlinux debian-trixie debian-unstable
207 msgid "The B<-digest> option implies B<-rawin> since OpenSSL 3.5."
208 msgstr ""
209
210 #. type: IP
211 #: archlinux debian-trixie debian-unstable
212 #, no-wrap
213 msgid "B<-digest> I<algorithm>"
214 msgstr ""
215
216 #. type: IX
217 #: archlinux debian-trixie debian-unstable
218 #, no-wrap
219 msgid "-digest algorithm"
220 msgstr ""
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable
224 msgid ""
225 "This option can only be used with B<-sign> and B<-verify>. It specifies the "
226 "digest algorithm that is used to hash the input data before signing or "
227 "verifying it with the input key. This option could be omitted if the "
228 "signature algorithm does not require preprocessing the input through a "
229 "pluggable hash function before signing (for instance, EdDSA). If this option "
230 "is omitted but the signature algorithm requires one and the B<-rawin> option "
231 "is given, a default value will be used (see B<-rawin> for details). If this "
232 "option is present, then the B<-rawin> option is implied since OpenSSL 3.5, "
233 "and required in earlier versions."
234 msgstr ""
235
236 #. type: Plain text
237 #: archlinux debian-trixie debian-unstable
238 msgid ""
239 "At this time, HashEdDSA (the ph or \"prehash\" variant of EdDSA) is not "
240 "supported, so the B<-digest> option cannot be used with EdDSA."
241 msgstr ""
242
243 #. type: IP
244 #: archlinux debian-trixie debian-unstable
245 #, no-wrap
246 msgid "B<-out> I<filename>"
247 msgstr ""
248
249 #. type: IX
250 #: archlinux debian-trixie debian-unstable
251 #, no-wrap
252 msgid "-out filename"
253 msgstr ""
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable
257 msgid ""
258 "Specifies the output filename to write to or standard output by default."
259 msgstr ""
260
261 #. type: IP
262 #: archlinux debian-trixie debian-unstable
263 #, no-wrap
264 msgid "B<-secret> I<filename>"
265 msgstr ""
266
267 #. type: IX
268 #: archlinux debian-trixie debian-unstable
269 #, no-wrap
270 msgid "-secret filename"
271 msgstr ""
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable
275 msgid ""
276 "Specifies the shared-secret output filename for when performing "
277 "encapsulation via the B<-encap> option or decapsulation via the B<-decap> "
278 "option. The B<-encap> option also produces a separate (public) ciphertext "
279 "output which is by default written to standard output, but being I<binary> "
280 "non-text data, is typically also redirected to a file selected via the I<-"
281 "out> option."
282 msgstr ""
283
284 #. type: IP
285 #: archlinux debian-trixie debian-unstable
286 #, no-wrap
287 msgid "B<-sigfile> I<file>"
288 msgstr ""
289
290 #. type: IX
291 #: archlinux debian-trixie debian-unstable
292 #, no-wrap
293 msgid "-sigfile file"
294 msgstr ""
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable
298 msgid "Signature file, required and allowed for B<-verify> operations only."
299 msgstr ""
300
301 #. type: IP
302 #: archlinux debian-trixie debian-unstable
303 #, no-wrap
304 msgid "B<-inkey> I<filename>|I<uri>"
305 msgstr ""
306
307 #. type: IX
308 #: archlinux debian-trixie debian-unstable
309 #, no-wrap
310 msgid "-inkey filename|uri"
311 msgstr ""
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable
315 msgid "The input key, by default it should be a private key."
316 msgstr ""
317
318 #. type: IP
319 #: archlinux debian-trixie debian-unstable
320 #, no-wrap
321 msgid "B<-keyform> B<DER>|B<PEM>|B<P12>|B<ENGINE>"
322 msgstr ""
323
324 #. type: IX
325 #: archlinux debian-trixie debian-unstable
326 #, no-wrap
327 msgid "-keyform DER|PEM|P12|ENGINE"
328 msgstr ""
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable
332 msgid ""
333 "The key format; unspecified by default. See B<openssl-format-options>\\|(1) "
334 "for details."
335 msgstr ""
336
337 #. type: IP
338 #: archlinux debian-trixie debian-unstable
339 #, no-wrap
340 msgid "B<-passin> I<arg>"
341 msgstr ""
342
343 #. type: IX
344 #: archlinux debian-trixie debian-unstable
345 #, no-wrap
346 msgid "-passin arg"
347 msgstr ""
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable
351 msgid ""
352 "The input key password source. For more information about the format of "
353 "I<arg> see B<openssl-passphrase-options>\\|(1)."
354 msgstr ""
355
356 #. type: IP
357 #: archlinux debian-trixie debian-unstable
358 #, no-wrap
359 msgid "B<-pubin>"
360 msgstr ""
361
362 #. type: IX
363 #: archlinux debian-trixie debian-unstable
364 #, no-wrap
365 msgid "-pubin"
366 msgstr ""
367
368 #. type: Plain text
369 #: archlinux debian-trixie debian-unstable
370 msgid ""
371 "By default a private key is read from the key input. With this option a "
372 "public key is read instead. If the input contains no public key but a "
373 "private key, its public part is used."
374 msgstr ""
375
376 #. type: IP
377 #: archlinux debian-trixie debian-unstable
378 #, no-wrap
379 msgid "B<-certin>"
380 msgstr ""
381
382 #. type: IX
383 #: archlinux debian-trixie debian-unstable
384 #, no-wrap
385 msgid "-certin"
386 msgstr ""
387
388 #. type: Plain text
389 #: archlinux debian-trixie debian-unstable
390 msgid "The input is a certificate containing a public key."
391 msgstr ""
392
393 #. type: IP
394 #: archlinux debian-trixie debian-unstable
395 #, no-wrap
396 msgid "B<-rev>"
397 msgstr ""
398
399 #. type: IX
400 #: archlinux debian-trixie debian-unstable
401 #, no-wrap
402 msgid "-rev"
403 msgstr ""
404
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable
407 msgid ""
408 "Reverse the order of the input buffer. This is useful for some libraries "
409 "(such as CryptoAPI) which represent the buffer in little-endian format. "
410 "This cannot be used in conjunction with B<-rawin>."
411 msgstr ""
412
413 #. type: IP
414 #: archlinux debian-trixie debian-unstable
415 #, no-wrap
416 msgid "B<-sign>"
417 msgstr ""
418
419 #. type: IX
420 #: archlinux debian-trixie debian-unstable
421 #, no-wrap
422 msgid "-sign"
423 msgstr ""
424
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable
427 msgid ""
428 "Sign the input data and output the signed result. This requires a private "
429 "key. Using a message digest operation along with this is recommended, when "
430 "applicable, see the B<-rawin> and B<-digest> options for details. "
431 "Otherwise, the input data given with the B<-in> option is assumed to already "
432 "be a digest, but this may then require an additional B<-pkeyopt> "
433 "CW<\\*(C`digest:\\*(C'>I<md> in some cases (e.g., RSA with the default "
434 "PKCS#1 padding mode). Even for other algorithms like ECDSA, where the "
435 "additional B<-pkeyopt> option does not affect signature output, it is "
436 "recommended, as it enables checking that the input length is consistent with "
437 "the intended digest."
438 msgstr ""
439
440 #. type: IP
441 #: archlinux debian-trixie debian-unstable
442 #, no-wrap
443 msgid "B<-verify>"
444 msgstr ""
445
446 #. type: IX
447 #: archlinux debian-trixie debian-unstable
448 #, no-wrap
449 msgid "-verify"
450 msgstr ""
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable
454 msgid ""
455 "Verify the input data against the signature given with the B<-sigfile> "
456 "option and indicate if the verification succeeded or failed. The input data "
457 "given with the B<-in> option is assumed to be a hash value unless the B<-"
458 "rawin> option is specified or implied. With raw data, when a digest "
459 "algorithm is applicable, though it may be inferred from the signature or "
460 "take a default value, it should also be specified."
461 msgstr ""
462
463 #. type: IP
464 #: archlinux debian-trixie debian-unstable
465 #, no-wrap
466 msgid "B<-verifyrecover>"
467 msgstr ""
468
469 #. type: IX
470 #: archlinux debian-trixie debian-unstable
471 #, no-wrap
472 msgid "-verifyrecover"
473 msgstr ""
474
475 #. type: Plain text
476 #: archlinux debian-trixie debian-unstable
477 msgid ""
478 "Verify the given signature and output the recovered data (signature "
479 "payload). For example, in case of RSA PKCS#1 the recovered data is the "
480 "B<EMSA-PKCS-v1_5> DER encoding of the digest algorithm OID and value as "
481 "specified in RFC8017 Section 9.2 E<lt>https://datatracker.ietf.org/doc/html/"
482 "rfc8017#section-9.2E<gt>."
483 msgstr ""
484
485 #. type: Plain text
486 #: archlinux debian-trixie debian-unstable
487 msgid ""
488 "Note that here the input given with the B<-in> option is not a signature "
489 "input (as with the B<-sign> and B<-verify> options) but a signature output "
490 "value, typically produced using the B<-sign> option."
491 msgstr ""
492
493 #. type: Plain text
494 #: archlinux debian-trixie debian-unstable
495 msgid "This option is available only for use with RSA keys."
496 msgstr ""
497
498 #. type: IP
499 #: archlinux debian-trixie debian-unstable
500 #, no-wrap
501 msgid "B<-encrypt>"
502 msgstr ""
503
504 #. type: IX
505 #: archlinux debian-trixie debian-unstable
506 #, no-wrap
507 msgid "-encrypt"
508 msgstr ""
509
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable
512 msgid "Encrypt the input data using a public key."
513 msgstr ""
514
515 #. type: IP
516 #: archlinux debian-trixie debian-unstable
517 #, no-wrap
518 msgid "B<-decrypt>"
519 msgstr ""
520
521 #. type: IX
522 #: archlinux debian-trixie debian-unstable
523 #, no-wrap
524 msgid "-decrypt"
525 msgstr ""
526
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable
529 msgid "Decrypt the input data using a private key."
530 msgstr ""
531
532 #. type: IP
533 #: archlinux debian-trixie debian-unstable
534 #, no-wrap
535 msgid "B<-derive>"
536 msgstr ""
537
538 #. type: IX
539 #: archlinux debian-trixie debian-unstable
540 #, no-wrap
541 msgid "-derive"
542 msgstr ""
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable
546 msgid "Derive a shared secret using own private (EC)DH key and peer key."
547 msgstr ""
548
549 #. type: IP
550 #: archlinux debian-trixie debian-unstable
551 #, no-wrap
552 msgid "B<-peerkey> I<file>"
553 msgstr ""
554
555 #. type: IX
556 #: archlinux debian-trixie debian-unstable
557 #, no-wrap
558 msgid "-peerkey file"
559 msgstr ""
560
561 #. type: Plain text
562 #: archlinux debian-trixie debian-unstable
563 msgid ""
564 "File containing the peer public or private (EC)DH key to use with the key "
565 "derivation (agreement) operation. Its type must match the type of the own "
566 "private key given with B<-inkey>."
567 msgstr ""
568
569 #. type: IP
570 #: archlinux debian-trixie debian-unstable
571 #, no-wrap
572 msgid "B<-peerform> B<DER>|B<PEM>|B<P12>|B<ENGINE>"
573 msgstr ""
574
575 #. type: IX
576 #: archlinux debian-trixie debian-unstable
577 #, no-wrap
578 msgid "-peerform DER|PEM|P12|ENGINE"
579 msgstr ""
580
581 #. type: Plain text
582 #: archlinux debian-trixie debian-unstable
583 msgid ""
584 "The peer key format; unspecified by default. See B<openssl-format-"
585 "options>\\|(1) for details."
586 msgstr ""
587
588 #. type: IP
589 #: archlinux debian-trixie debian-unstable
590 #, no-wrap
591 msgid "B<-encap>"
592 msgstr ""
593
594 #. type: IX
595 #: archlinux debian-trixie debian-unstable
596 #, no-wrap
597 msgid "-encap"
598 msgstr ""
599
600 #. type: Plain text
601 #: archlinux
602 msgid ""
603 "Use a Key Encapsulation Mechanism (B<KEM>) to B<encapsulate> a shared-secret "
604 "to a peer\\*(Aqs B<public> key. The encapsulated result (or ciphertext, non-"
605 "text binary data) is written to standard output by default, or else to the "
606 "file specified with I<-out>. The I<-secret> option must also be provided to "
607 "specify the output file for the derived shared-secret value generated in the "
608 "encapsulation process. Encapsulation is supported with a number of public "
609 "key algorithms, currently: ML-KEM, X25519, X448, and EC. The ECX and EC "
610 "algorithms use the RFC9180 E<lt>https://www.rfc-editor.org/rfc/rfc9180E<gt> "
611 "DHKEM construction. Encapsulation is also supported with RSA keys via the "
612 "\\&B<RSASVE> construction."
613 msgstr ""
614
615 #. type: Plain text
616 #: archlinux debian-trixie debian-unstable
617 msgid ""
618 "At the API level, encapsulation and decapsulation are also supported for a "
619 "few hybrid ECDHE (no DHKEM) plus B<ML-KEM> algorithms, but these are "
620 "intended primarily for use with TLS and should not be used standalone. "
621 "There are in any case no standard public and private key formats for the "
622 "hybrid algorithms, so it is not possible to provide the required key "
623 "material."
624 msgstr ""
625
626 #. type: IP
627 #: archlinux debian-trixie debian-unstable
628 #, no-wrap
629 msgid "B<-decap>"
630 msgstr ""
631
632 #. type: IX
633 #: archlinux debian-trixie debian-unstable
634 #, no-wrap
635 msgid "-decap"
636 msgstr ""
637
638 #. type: Plain text
639 #: archlinux debian-trixie debian-unstable
640 msgid ""
641 "Decode an encapsulated secret, with the use of a B<-private> key, to derive "
642 "the same shared-secret as that obtained when the secret was encapsulated to "
643 "the corresponding public key. The encapsulated secret is by default read "
644 "from the standard input, or else from the file specified with B<-in>. The "
645 "derived shared-secret is written to the file specified with the B<-secret> "
646 "option, which I<must> also be provided. Decapsulation is supported with a "
647 "number of public key algorithms, currently: ML-KEM, X25519, X448, and EC. "
648 "The ECX and EC algorithms use the RFC9180 E<lt>https://www.rfc-editor.org/"
649 "rfc/rfc9180E<gt> DHKEM construction. Decapsulation is also supported with "
650 "RSA keys via the \\&B<RSASVE> construction."
651 msgstr ""
652
653 #. type: IP
654 #: archlinux debian-trixie debian-unstable
655 #, no-wrap
656 msgid "B<-kemop> I<mode>"
657 msgstr ""
658
659 #. type: IX
660 #: archlinux debian-trixie debian-unstable
661 #, no-wrap
662 msgid "-kemop mode"
663 msgstr ""
664
665 #. type: Plain text
666 #: archlinux debian-trixie debian-unstable
667 msgid ""
668 "This option is used with the I<-encap>/I<-decap> commands and specifies the "
669 "KEM \\&I<mode> specific for the key algorithm when there is no default way "
670 "to encapsulate and decapsulate shared secrets with the chosen key type. All "
671 "the supported algorithms presently support only their default I<mode>, and "
672 "this option, though available, is not required."
673 msgstr ""
674
675 #. type: IP
676 #: archlinux debian-trixie debian-unstable
677 #, no-wrap
678 msgid "B<-kdf> I<algorithm>"
679 msgstr ""
680
681 #. type: IX
682 #: archlinux debian-trixie debian-unstable
683 #, no-wrap
684 msgid "-kdf algorithm"
685 msgstr ""
686
687 #. type: Plain text
688 #: archlinux debian-trixie debian-unstable
689 msgid ""
690 "Use key derivation function I<algorithm>. The supported algorithms are at "
691 "present B<TLS1-PRF> and B<HKDF>. Note: additional parameters and the KDF "
692 "output length will normally have to be set for this to work. See "
693 "B<EVP_PKEY_CTX_set_hkdf_md>\\|(3) and B<EVP_PKEY_CTX_set_tls1_prf_md>\\|(3) "
694 "for the supported string parameters of each algorithm."
695 msgstr ""
696
697 #. type: IP
698 #: archlinux debian-trixie debian-unstable
699 #, no-wrap
700 msgid "B<-kdflen> I<length>"
701 msgstr ""
702
703 #. type: IX
704 #: archlinux debian-trixie debian-unstable
705 #, no-wrap
706 msgid "-kdflen length"
707 msgstr ""
708
709 #. type: Plain text
710 #: archlinux debian-trixie debian-unstable
711 msgid "Set the output length for KDF."
712 msgstr ""
713
714 #. type: IP
715 #: archlinux debian-trixie debian-unstable
716 #, no-wrap
717 msgid "B<-pkeyopt> I<opt>:I<value>"
718 msgstr ""
719
720 #. type: IX
721 #: archlinux debian-trixie debian-unstable
722 #, no-wrap
723 msgid "-pkeyopt opt:value"
724 msgstr ""
725
726 #. type: Plain text
727 #: archlinux debian-trixie debian-unstable
728 msgid ""
729 "Public key options specified as opt:value. See NOTES below for more details."
730 msgstr ""
731
732 #. type: IP
733 #: archlinux debian-trixie debian-unstable
734 #, no-wrap
735 msgid "B<-pkeyopt_passin> I<opt>[:I<passarg>]"
736 msgstr ""
737
738 #. type: IX
739 #: archlinux debian-trixie debian-unstable
740 #, no-wrap
741 msgid "-pkeyopt_passin opt[:passarg]"
742 msgstr ""
743
744 #. type: Plain text
745 #: archlinux debian-trixie debian-unstable
746 msgid ""
747 "Allows reading a public key option I<opt> from stdin or a password source. "
748 "If only I<opt> is specified, the user will be prompted to enter a password "
749 "on stdin. Alternatively, I<passarg> can be specified which can be any value "
750 "supported by B<openssl-passphrase-options>\\|(1)."
751 msgstr ""
752
753 #. type: IP
754 #: archlinux debian-trixie debian-unstable
755 #, no-wrap
756 msgid "B<-hexdump>"
757 msgstr ""
758
759 #. type: IX
760 #: archlinux debian-trixie debian-unstable
761 #, no-wrap
762 msgid "-hexdump"
763 msgstr ""
764
765 #. type: Plain text
766 #: archlinux debian-trixie debian-unstable
767 msgid "hex dump the output data."
768 msgstr ""
769
770 #. type: IP
771 #: archlinux debian-trixie debian-unstable
772 #, no-wrap
773 msgid "B<-asn1parse>"
774 msgstr ""
775
776 #. type: IX
777 #: archlinux debian-trixie debian-unstable
778 #, no-wrap
779 msgid "-asn1parse"
780 msgstr ""
781
782 #. type: Plain text
783 #: archlinux debian-trixie debian-unstable
784 msgid ""
785 "Parse the ASN.1 output data to check its DER encoding and print any errors. "
786 "When combined with the B<-verifyrecover> option, this may be useful in case "
787 "an ASN.1 DER-encoded structure had been signed directly (without hashing "
788 "it) and when checking a signature in PKCS#1 v1.5 format, which has a DER "
789 "encoding."
790 msgstr ""
791
792 #. type: IP
793 #: archlinux debian-trixie debian-unstable
794 #, no-wrap
795 msgid "B<-engine> I<id>"
796 msgstr ""
797
798 #. type: IX
799 #: archlinux debian-trixie debian-unstable
800 #, no-wrap
801 msgid "-engine id"
802 msgstr ""
803
804 #. type: Plain text
805 #: archlinux debian-trixie debian-unstable
806 msgid "See \"Engine Options\" in B<openssl>\\|(1). This option is deprecated."
807 msgstr ""
808
809 #. type: IP
810 #: archlinux debian-trixie debian-unstable
811 #, no-wrap
812 msgid "B<-engine_impl>"
813 msgstr ""
814
815 #. type: IX
816 #: archlinux debian-trixie debian-unstable
817 #, no-wrap
818 msgid "-engine_impl"
819 msgstr ""
820
821 #. type: Plain text
822 #: archlinux debian-trixie debian-unstable
823 msgid ""
824 "When used with the B<-engine> option, it specifies to also use engine I<id> "
825 "for crypto operations."
826 msgstr ""
827
828 #. type: IP
829 #: archlinux debian-trixie debian-unstable
830 #, no-wrap
831 msgid "B<-rand> I<files>, B<-writerand> I<file>"
832 msgstr ""
833
834 #. type: IX
835 #: archlinux debian-trixie debian-unstable
836 #, no-wrap
837 msgid "-rand files, -writerand file"
838 msgstr ""
839
840 #. type: Plain text
841 #: archlinux debian-trixie debian-unstable
842 msgid "See \"Random State Options\" in B<openssl>\\|(1) for details."
843 msgstr ""
844
845 #. type: IP
846 #: archlinux debian-trixie debian-unstable
847 #, no-wrap
848 msgid "B<-provider> I<name>"
849 msgstr ""
850
851 #. type: IX
852 #: archlinux debian-trixie debian-unstable
853 #, no-wrap
854 msgid "-provider name"
855 msgstr ""
856
857 #. type: IP
858 #: archlinux debian-trixie debian-unstable
859 #, no-wrap
860 msgid "B<-provider-path> I<path>"
861 msgstr ""
862
863 #. type: IX
864 #: archlinux debian-trixie debian-unstable
865 #, no-wrap
866 msgid "-provider-path path"
867 msgstr ""
868
869 #. type: IP
870 #: archlinux debian-trixie debian-unstable
871 #, no-wrap
872 msgid "B<-provparam> I<[name:]key=value>"
873 msgstr ""
874
875 #. type: IX
876 #: archlinux debian-trixie debian-unstable
877 #, no-wrap
878 msgid "-provparam [name:]key=value"
879 msgstr ""
880
881 #. type: IP
882 #: archlinux debian-trixie debian-unstable
883 #, no-wrap
884 msgid "B<-propquery> I<propq>"
885 msgstr ""
886
887 #. type: IX
888 #: archlinux debian-trixie debian-unstable
889 #, no-wrap
890 msgid "-propquery propq"
891 msgstr ""
892
893 #. type: Plain text
894 #: archlinux debian-trixie debian-unstable
895 msgid ""
896 "See \"Provider Options\" in B<openssl>\\|(1), B<provider>\\|(7), and "
897 "B<property>\\|(7)."
898 msgstr ""
899
900 #. type: IP
901 #: archlinux debian-trixie debian-unstable
902 #, no-wrap
903 msgid "B<-config> I<configfile>"
904 msgstr ""
905
906 #. type: IX
907 #: archlinux debian-trixie debian-unstable
908 #, no-wrap
909 msgid "-config configfile"
910 msgstr ""
911
912 #. type: Plain text
913 #: archlinux debian-trixie debian-unstable
914 msgid "See \"Configuration Option\" in B<openssl>\\|(1)."
915 msgstr ""
916
917 #. type: IX
918 #: archlinux debian-trixie debian-unstable
919 #, no-wrap
920 msgid "NOTES"
921 msgstr ""
922
923 #. type: Plain text
924 #: archlinux debian-trixie debian-unstable
925 msgid ""
926 "The operations and options supported vary according to the key algorithm and "
927 "its implementation. The OpenSSL operations and options are indicated below."
928 msgstr ""
929
930 #. type: Plain text
931 #: archlinux debian-trixie debian-unstable
932 msgid ""
933 "Unless otherwise mentioned, the B<-pkeyopt> option supports for all public-"
934 "key types the CW<\\*(C`digest:\\*(C'>I<alg> argument, which specifies the "
935 "digest in use for the signing and verification operations. The value I<alg> "
936 "should represent a digest name as used in the \\&B<EVP_get_digestbyname()> "
937 "function for example B<sha256>. This value is not used to hash the input "
938 "data. It is used (by some algorithms) for sanity-checking the lengths of "
939 "data passed in and for creating the structures that make up the signature "
940 "(e.g., B<DigestInfo> in RSASSA PKCS#1 v1.5 signatures)."
941 msgstr ""
942
943 #. type: Plain text
944 #: archlinux debian-trixie debian-unstable
945 msgid ""
946 "For instance, if the value of the B<-pkeyopt> option CW<\\*(C`digest\\*(C'> "
947 "argument is B<sha256>, the signature or verification input should be the 32 "
948 "bytes long binary value of the SHA256 hash function output."
949 msgstr ""
950
951 #. type: Plain text
952 #: archlinux debian-trixie debian-unstable
953 msgid ""
954 "Unless B<-rawin> is used or implied, this command does not hash the input "
955 "data but rather it will use the data directly as input to the signature "
956 "algorithm. Depending on the key type, signature type, and mode of padding, "
957 "the maximum sensible lengths of input data differ. With RSA the signed data "
958 "cannot be longer than the key modulus. In case of ECDSA and DSA the data "
959 "should not be longer than the field size, otherwise it will be silently "
960 "truncated to the field size. In any event the input size must not be larger "
961 "than the largest supported digest output size B<EVP_MAX_MD_SIZE>, which "
962 "currently is 64 bytes."
963 msgstr ""
964
965 #. type: IX
966 #: archlinux debian-trixie debian-unstable
967 #, no-wrap
968 msgid "RSA ALGORITHM"
969 msgstr ""
970
971 #. type: Plain text
972 #: archlinux debian-trixie debian-unstable
973 msgid ""
974 "The RSA algorithm generally supports the encrypt, decrypt, sign, verify and "
975 "verifyrecover operations. However, some padding modes support only a subset "
976 "of these operations. The following additional \\&B<pkeyopt> values are "
977 "supported:"
978 msgstr ""
979
980 #. type: IP
981 #: archlinux debian-trixie debian-unstable
982 #, no-wrap
983 msgid "B<rsa_padding_mode:>I<mode>"
984 msgstr ""
985
986 #. type: IX
987 #: archlinux debian-trixie debian-unstable
988 #, no-wrap
989 msgid "rsa_padding_mode:mode"
990 msgstr ""
991
992 #. type: Plain text
993 #: archlinux debian-trixie debian-unstable
994 msgid ""
995 "This sets the RSA padding mode. Acceptable values for I<mode> are B<pkcs1> "
996 "for PKCS#1 padding, B<none> for no padding, B<oaep> for B<OAEP> mode, "
997 "B<x931> for X9.31 mode and B<pss> for PSS."
998 msgstr ""
999
1000 #. type: Plain text
1001 #: archlinux debian-trixie debian-unstable
1002 msgid ""
1003 "In PKCS#1 padding, if the message digest is not set, then the supplied data "
1004 "is signed or verified directly instead of using a B<DigestInfo> structure. "
1005 "If a digest is set, then the B<DigestInfo> structure is used and its length "
1006 "must correspond to the digest type."
1007 msgstr ""
1008
1009 #. type: Plain text
1010 #: archlinux debian-trixie debian-unstable
1011 msgid ""
1012 "Note, for B<pkcs1> padding, as a protection against the Bleichenbacher "
1013 "attack, the decryption will not fail in case of padding check failures. Use "
1014 "B<none> and manual inspection of the decrypted message to verify if the "
1015 "decrypted value has correct PKCS#1 v1.5 padding."
1016 msgstr ""
1017
1018 #. type: Plain text
1019 #: archlinux debian-trixie debian-unstable
1020 msgid "For B<oaep> mode only encryption and decryption is supported."
1021 msgstr ""
1022
1023 #. type: Plain text
1024 #: archlinux debian-trixie debian-unstable
1025 msgid ""
1026 "For B<x931> if the digest type is set it is used to format the block data "
1027 "otherwise the first byte is used to specify the X9.31 digest ID. Sign, "
1028 "verify and verifyrecover are can be performed in this mode."
1029 msgstr ""
1030
1031 #. type: Plain text
1032 #: archlinux debian-trixie debian-unstable
1033 msgid ""
1034 "For B<pss> mode only sign and verify are supported and the digest type must "
1035 "be specified."
1036 msgstr ""
1037
1038 #. type: IP
1039 #: archlinux debian-trixie debian-unstable
1040 #, no-wrap
1041 msgid "B<rsa_pss_saltlen:>I<len>"
1042 msgstr ""
1043
1044 #. type: IX
1045 #: archlinux debian-trixie debian-unstable
1046 #, no-wrap
1047 msgid "rsa_pss_saltlen:len"
1048 msgstr ""
1049
1050 #. type: Plain text
1051 #: archlinux debian-trixie debian-unstable
1052 msgid ""
1053 "For B<pss> mode only this option specifies the salt length. Three special "
1054 "values are supported: B<digest> sets the salt length to the digest length, "
1055 "\\&B<max> sets the salt length to the maximum permissible value. When "
1056 "verifying \\&B<auto> causes the salt length to be automatically determined "
1057 "based on the \\&B<PSS> block structure."
1058 msgstr ""
1059
1060 #. type: IP
1061 #: archlinux debian-trixie debian-unstable
1062 #, no-wrap
1063 msgid "B<rsa_mgf1_md:>I<digest>"
1064 msgstr ""
1065
1066 #. type: IX
1067 #: archlinux debian-trixie debian-unstable
1068 #, no-wrap
1069 msgid "rsa_mgf1_md:digest"
1070 msgstr ""
1071
1072 #. type: Plain text
1073 #: archlinux debian-trixie debian-unstable
1074 msgid ""
1075 "For PSS and OAEP padding sets the MGF1 digest. If the MGF1 digest is not "
1076 "explicitly set in PSS mode then the signing digest is used."
1077 msgstr ""
1078
1079 #. type: IP
1080 #: archlinux debian-trixie debian-unstable
1081 #, no-wrap
1082 msgid "B<rsa_oaep_md:>I<digest>"
1083 msgstr ""
1084
1085 #. type: IX
1086 #: archlinux debian-trixie debian-unstable
1087 #, no-wrap
1088 msgid "rsa_oaep_md:digest"
1089 msgstr ""
1090
1091 #. type: Plain text
1092 #: archlinux debian-trixie debian-unstable
1093 msgid ""
1094 "Sets the digest used for the OAEP hash function. If not explicitly set then "
1095 "SHA256 is used."
1096 msgstr ""
1097
1098 #. type: IP
1099 #: archlinux debian-trixie debian-unstable
1100 #, no-wrap
1101 msgid "B<rsa_pkcs1_implicit_rejection:>I<flag>"
1102 msgstr ""
1103
1104 #. type: IX
1105 #: archlinux debian-trixie debian-unstable
1106 #, no-wrap
1107 msgid "rsa_pkcs1_implicit_rejection:flag"
1108 msgstr ""
1109
1110 #. type: Plain text
1111 #: archlinux
1112 msgid ""
1113 "Disables (when set to 0) or enables (when set to 1) the use of implicit "
1114 "rejection with PKCS#1 v1.5 decryption. When enabled (the default), as a "
1115 "protection against Bleichenbacher attack, the library will generate a "
1116 "deterministic random plaintext that it will return to the caller in case of "
1117 "padding check failure. When disabled, it\\*(Aqs the callers\\*(Aq "
1118 "responsibility to handle the returned errors in a side-channel free manner."
1119 msgstr ""
1120
1121 #. type: IX
1122 #: archlinux debian-trixie debian-unstable
1123 #, no-wrap
1124 msgid "RSA-PSS ALGORITHM"
1125 msgstr ""
1126
1127 #. type: Plain text
1128 #: archlinux debian-trixie debian-unstable
1129 msgid ""
1130 "The RSA-PSS algorithm is a restricted version of the RSA algorithm which "
1131 "only supports the sign and verify operations with PSS padding. The following "
1132 "additional B<-pkeyopt> values are supported:"
1133 msgstr ""
1134
1135 #. type: IP
1136 #: archlinux debian-trixie debian-unstable
1137 #, no-wrap
1138 msgid "B<rsa_padding_mode:>I<mode>, B<rsa_pss_saltlen:>I<len>, B<rsa_mgf1_md:>I<digest>"
1139 msgstr ""
1140
1141 #. type: IX
1142 #: archlinux debian-trixie debian-unstable
1143 #, no-wrap
1144 msgid "rsa_padding_mode:mode, rsa_pss_saltlen:len, rsa_mgf1_md:digest"
1145 msgstr ""
1146
1147 #. type: Plain text
1148 #: archlinux debian-trixie debian-unstable
1149 msgid ""
1150 "These have the same meaning as the B<RSA> algorithm with some additional "
1151 "restrictions. The padding mode can only be set to B<pss> which is the "
1152 "default value."
1153 msgstr ""
1154
1155 #. type: Plain text
1156 #: archlinux debian-trixie debian-unstable
1157 msgid ""
1158 "If the key has parameter restrictions then the digest, MGF1 digest and salt "
1159 "length are set to the values specified in the parameters. The digest and MG "
1160 "cannot be changed and the salt length cannot be set to a value less than the "
1161 "minimum restriction."
1162 msgstr ""
1163
1164 #. type: IX
1165 #: archlinux debian-trixie debian-unstable
1166 #, no-wrap
1167 msgid "DSA ALGORITHM"
1168 msgstr ""
1169
1170 #. type: Plain text
1171 #: archlinux debian-trixie debian-unstable
1172 msgid ""
1173 "The DSA algorithm supports signing and verification operations only. "
1174 "Currently there are no additional B<-pkeyopt> options other than B<digest>. "
1175 "The SHA256 digest is assumed by default."
1176 msgstr ""
1177
1178 #. type: IX
1179 #: archlinux debian-trixie debian-unstable
1180 #, no-wrap
1181 msgid "DH ALGORITHM"
1182 msgstr ""
1183
1184 #. type: Plain text
1185 #: archlinux debian-trixie debian-unstable
1186 msgid ""
1187 "The DH algorithm only supports the derivation operation and no additional "
1188 "\\&B<-pkeyopt> options."
1189 msgstr ""
1190
1191 #. type: IX
1192 #: archlinux debian-trixie debian-unstable
1193 #, no-wrap
1194 msgid "EC ALGORITHM"
1195 msgstr ""
1196
1197 #. type: Plain text
1198 #: archlinux debian-trixie debian-unstable
1199 msgid ""
1200 "The EC algorithm supports sign, verify and derive operations. The sign and "
1201 "verify operations use ECDSA and derive uses ECDH. SHA256 is assumed by "
1202 "default for the B<-pkeyopt> B<digest> option."
1203 msgstr ""
1204
1205 #. type: IX
1206 #: archlinux debian-trixie debian-unstable
1207 #, no-wrap
1208 msgid "X25519 AND X448 ALGORITHMS"
1209 msgstr ""
1210
1211 #. type: Plain text
1212 #: archlinux debian-trixie debian-unstable
1213 msgid ""
1214 "The X25519 and X448 algorithms support key derivation only. Currently there "
1215 "are no additional options."
1216 msgstr ""
1217
1218 #. type: IX
1219 #: archlinux debian-trixie debian-unstable
1220 #, no-wrap
1221 msgid "SLH-DSA ALGORITHMS"
1222 msgstr ""
1223
1224 #. type: IX
1225 #: archlinux debian-trixie debian-unstable
1226 #, no-wrap
1227 msgid "Subsection"
1228 msgstr ""
1229
1230 #. type: Plain text
1231 #: archlinux debian-trixie debian-unstable
1232 msgid ""
1233 "The SLH-DSA algorithms (SLH-DSA-SHA2-128s, SLH-DSA-SHA2-128f, SLH-DSA-"
1234 "SHA2-192s, SLH-DSA-SHA2-192f, SLH-DSA-SHA2-256s, SLH-DSA-SHA2-256f) are post-"
1235 "quantum signature algorithms. When using SLH-DSA with pkeyutl, the following "
1236 "options are available:"
1237 msgstr ""
1238
1239 #. type: Plain text
1240 #: archlinux debian-trixie debian-unstable
1241 msgid "Sign the input data using an SLH-DSA private key. For example:"
1242 msgstr ""
1243
1244 #. type: Plain text
1245 #: archlinux debian-trixie debian-unstable
1246 #, no-wrap
1247 msgid "\\& $ openssl pkeyutl -sign -in file.txt -inkey slhdsa.pem -out sig\n"
1248 msgstr ""
1249
1250 #. type: Plain text
1251 #: archlinux debian-trixie debian-unstable
1252 msgid "Verify the signature using an SLH-DSA public key. For example:"
1253 msgstr ""
1254
1255 #. type: Plain text
1256 #: archlinux debian-trixie debian-unstable
1257 #, no-wrap
1258 msgid "\\& $ openssl pkeyutl -verify -in file.txt -inkey slhdsa.pem -sigfile sig\n"
1259 msgstr ""
1260
1261 #. type: Plain text
1262 #: archlinux debian-trixie debian-unstable
1263 msgid ""
1264 "See B<EVP_PKEY-SLH-DSA>\\|(7) and B<EVP_SIGNATURE-SLH-DSA>\\|(7) for "
1265 "additional details about the SLH-DSA algorithm and its implementation."
1266 msgstr ""
1267
1268 #. type: IX
1269 #: archlinux debian-trixie debian-unstable
1270 #, no-wrap
1271 msgid "ML-DSA-44, ML-DSA-65 AND ML-DSA-87 ALGORITHMS"
1272 msgstr ""
1273
1274 #. type: Plain text
1275 #: archlinux debian-trixie debian-unstable
1276 msgid ""
1277 "The ML-DSA algorithms are post-quantum signature algorithms that support "
1278 "signing and verification of \"raw\" messages. No preliminary hashing is "
1279 "performed. When using ML-DSA with pkeyutl, the following options are "
1280 "available:"
1281 msgstr ""
1282
1283 #. type: Plain text
1284 #: archlinux debian-trixie debian-unstable
1285 msgid "Sign the input data using an ML-DSA private key. For example:"
1286 msgstr ""
1287
1288 #. type: Plain text
1289 #: archlinux debian-trixie debian-unstable
1290 #, no-wrap
1291 msgid "\\& $ openssl pkeyutl -sign -in file.txt -inkey mldsa65.pem -out sig\n"
1292 msgstr ""
1293
1294 #. type: Plain text
1295 #: archlinux debian-trixie debian-unstable
1296 msgid "Verify the signature using an ML-DSA public key. For example:"
1297 msgstr ""
1298
1299 #. type: Plain text
1300 #: archlinux debian-trixie debian-unstable
1301 #, no-wrap
1302 msgid "\\& $ openssl pkeyutl -verify -in file.txt -inkey mldsa65.pem -sigfile sig\n"
1303 msgstr ""
1304
1305 #. type: Plain text
1306 #: archlinux debian-trixie debian-unstable
1307 msgid "Additional options for ML-DSA signing and verification:"
1308 msgstr ""
1309
1310 #. type: IP
1311 #: archlinux debian-trixie debian-unstable
1312 #, no-wrap
1313 msgid "B<message-encoding>:I<value>"
1314 msgstr ""
1315
1316 #. type: IX
1317 #: archlinux debian-trixie debian-unstable
1318 #, no-wrap
1319 msgid "message-encoding:value"
1320 msgstr ""
1321
1322 #. type: Plain text
1323 #: archlinux debian-trixie debian-unstable
1324 msgid ""
1325 "Specifies the message encoding mode used for signing. This controls how the "
1326 "input message is processed before signing. Valid values are described in "
1327 "B<EVP_SIGNATURE-ML-DSA>\\|(7). For example:"
1328 msgstr ""
1329
1330 #. type: Plain text
1331 #: archlinux debian-trixie debian-unstable
1332 #, no-wrap
1333 msgid "\\& $ openssl pkeyutl -sign -in file.txt -inkey mldsa65.pem -out sig -pkeyopt message-encoding:1\n"
1334 msgstr ""
1335
1336 #. type: IP
1337 #: archlinux debian-trixie debian-unstable
1338 #, no-wrap
1339 msgid "B<test-entropy>:I<value>"
1340 msgstr ""
1341
1342 #. type: IX
1343 #: archlinux debian-trixie debian-unstable
1344 #, no-wrap
1345 msgid "test-entropy:value"
1346 msgstr ""
1347
1348 #. type: Plain text
1349 #: archlinux debian-trixie debian-unstable
1350 msgid "Specifies a test entropy value for deterministic signing. For example:"
1351 msgstr ""
1352
1353 #. type: Plain text
1354 #: archlinux debian-trixie debian-unstable
1355 #, no-wrap
1356 msgid "\\& $ openssl pkeyutl -sign -in file.txt -inkey mldsa65.pem -out sig -pkeyopt test-entropy:abcdefghijklmnopqrstuvwxyz012345\n"
1357 msgstr ""
1358
1359 #. type: IP
1360 #: archlinux debian-trixie debian-unstable
1361 #, no-wrap
1362 msgid "B<hextest-entropy>:I<value>"
1363 msgstr ""
1364
1365 #. type: IX
1366 #: archlinux debian-trixie debian-unstable
1367 #, no-wrap
1368 msgid "hextest-entropy:value"
1369 msgstr ""
1370
1371 #. type: Plain text
1372 #: archlinux debian-trixie debian-unstable
1373 msgid "Specifies a test entropy value in hex format. For example:"
1374 msgstr ""
1375
1376 #. type: Plain text
1377 #: archlinux debian-trixie debian-unstable
1378 #, no-wrap
1379 msgid "\\& $ openssl pkeyutl -sign -in file.txt -inkey mldsa65.pem -out sig -pkeyopt hextest-entropy:000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f\n"
1380 msgstr ""
1381
1382 #. type: IP
1383 #: archlinux debian-trixie debian-unstable
1384 #, no-wrap
1385 msgid "B<deterministic>:I<value>"
1386 msgstr ""
1387
1388 #. type: IX
1389 #: archlinux debian-trixie debian-unstable
1390 #, no-wrap
1391 msgid "deterministic:value"
1392 msgstr ""
1393
1394 #. type: Plain text
1395 #: archlinux debian-trixie debian-unstable
1396 msgid "Enables deterministic signing. For example:"
1397 msgstr ""
1398
1399 #. type: Plain text
1400 #: archlinux debian-trixie debian-unstable
1401 #, no-wrap
1402 msgid "\\& $ openssl pkeyutl -sign -in file.txt -inkey mldsa65.pem -out sig -pkeyopt deterministic:1\n"
1403 msgstr ""
1404
1405 #. type: IP
1406 #: archlinux debian-trixie debian-unstable
1407 #, no-wrap
1408 msgid "B<mu>:I<value>"
1409 msgstr ""
1410
1411 #. type: IX
1412 #: archlinux debian-trixie debian-unstable
1413 #, no-wrap
1414 msgid "mu:value"
1415 msgstr ""
1416
1417 #. type: Plain text
1418 #: archlinux debian-trixie debian-unstable
1419 msgid "Specifies the mu parameter. For example:"
1420 msgstr ""
1421
1422 #. type: Plain text
1423 #: archlinux debian-trixie debian-unstable
1424 #, no-wrap
1425 msgid ""
1426 "\\& $ echo -n \"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\" E<gt>file.txt\n"
1427 "\\& $ openssl pkeyutl -sign -in file.txt -inkey mldsa65.pem -out sig -pkeyopt mu:1\n"
1428 msgstr ""
1429
1430 #. type: IP
1431 #: archlinux debian-trixie debian-unstable
1432 #, no-wrap
1433 msgid "B<context-string>:I<string>"
1434 msgstr ""
1435
1436 #. type: IX
1437 #: archlinux debian-trixie debian-unstable
1438 #, no-wrap
1439 msgid "context-string:string"
1440 msgstr ""
1441
1442 #. type: Plain text
1443 #: archlinux debian-trixie debian-unstable
1444 msgid ""
1445 "Specifies a context string for both signing and verification operations. The "
1446 "context string must be the same for verification to succeed. For example:"
1447 msgstr ""
1448
1449 #. type: Plain text
1450 #: archlinux debian-trixie debian-unstable
1451 #, no-wrap
1452 msgid ""
1453 "\\& $ openssl pkeyutl -sign -in file.txt -inkey mldsa65.pem -out sig -pkeyopt context-string:mycontext\n"
1454 "\\& $ openssl pkeyutl -verify -in file.txt -inkey mldsa65.pem -sigfile sig -pkeyopt context-string:mycontext\n"
1455 msgstr ""
1456
1457 #. type: IP
1458 #: archlinux debian-trixie debian-unstable
1459 #, no-wrap
1460 msgid "B<hexcontext-string>:I<string>"
1461 msgstr ""
1462
1463 #. type: IX
1464 #: archlinux debian-trixie debian-unstable
1465 #, no-wrap
1466 msgid "hexcontext-string:string"
1467 msgstr ""
1468
1469 #. type: Plain text
1470 #: archlinux debian-trixie debian-unstable
1471 msgid ""
1472 "Specifies a context string in hex format, allowing binary control values. "
1473 "For example:"
1474 msgstr ""
1475
1476 #. type: Plain text
1477 #: archlinux debian-trixie debian-unstable
1478 #, no-wrap
1479 msgid "\\& $ openssl pkeyutl -sign -in file.txt -inkey mldsa65.pem -out sig -pkeyopt hexcontext-string:6d79636f6e74657874\n"
1480 msgstr ""
1481
1482 #. type: Plain text
1483 #: archlinux debian-trixie debian-unstable
1484 msgid ""
1485 "The signing operation supports a B<deterministic>:I<bool> option, with "
1486 "I<bool> set to CW<1> if a deterministic signature is to be generated with a "
1487 "fixed all zero random input. By default, or if the I<bool> is CW<0> a "
1488 "random entropy value is used. A deterministic result can also be obtained "
1489 "by specifying an explicit entropy value via the B<hextest-entropy>:I<value> "
1490 "parameter. Deterministic B<ML-DSA> signing should only be used in tests."
1491 msgstr ""
1492
1493 #. type: Plain text
1494 #: archlinux debian-trixie debian-unstable
1495 msgid ""
1496 "See B<EVP_SIGNATURE-ML-DSA>\\|(7) for additional details about the ML-DSA "
1497 "algorithms and their implementation."
1498 msgstr ""
1499
1500 #. type: IX
1501 #: archlinux debian-trixie debian-unstable
1502 #, no-wrap
1503 msgid "ML-KEM-512, ML-KEM-768 AND ML-KEM-1024 ALGORITHMS"
1504 msgstr ""
1505
1506 #. type: Plain text
1507 #: archlinux debian-trixie debian-unstable
1508 msgid ""
1509 "The ML-KEM algorithms support encapsulation and decapsulation only. The "
1510 "encapsulation operation supports a B<hexikme>:I<entropy> option, with "
1511 "I<entropy> the 64 hexadecimal digit encoding of a 32-byte value. This "
1512 "should only be used in tests, known or leaked values of the option may "
1513 "compromise the generated shared secret."
1514 msgstr ""
1515
1516 #. type: Plain text
1517 #: archlinux debian-trixie debian-unstable
1518 msgid "See B<EVP_KEM-ML-KEM>\\|(7) for additional detail."
1519 msgstr ""
1520
1521 #. type: IX
1522 #: archlinux debian-trixie debian-unstable
1523 #, no-wrap
1524 msgid "ED25519 AND ED448 ALGORITHMS"
1525 msgstr ""
1526
1527 #. type: Plain text
1528 #: archlinux debian-trixie debian-unstable
1529 msgid ""
1530 "These algorithms only support signing and verifying. OpenSSL only implements "
1531 "the \"pure\" variants of these algorithms so raw data can be passed directly "
1532 "to them without hashing them first. OpenSSL only supports \"oneshot\" "
1533 "operation with these algorithms. This means that the entire file to be "
1534 "signed/verified must be read into memory before processing it. Signing or "
1535 "Verifying very large files should be avoided. Additionally the size of the "
1536 "file must be known for this to work. If the size of the file cannot be "
1537 "determined (for example if the input is stdin) then the sign or verify "
1538 "operation will fail."
1539 msgstr ""
1540
1541 #. type: IX
1542 #: archlinux debian-trixie debian-unstable
1543 #, no-wrap
1544 msgid "SM2"
1545 msgstr ""
1546
1547 #. type: Plain text
1548 #: archlinux debian-trixie debian-unstable
1549 msgid ""
1550 "The SM2 algorithm supports sign, verify, encrypt and decrypt operations. For "
1551 "the sign and verify operations, SM2 requires an Distinguishing ID string to "
1552 "be passed in. The following B<-pkeyopt> value is supported:"
1553 msgstr ""
1554
1555 #. type: IP
1556 #: archlinux debian-trixie debian-unstable
1557 #, no-wrap
1558 msgid "B<distid:>I<string>"
1559 msgstr ""
1560
1561 #. type: IX
1562 #: archlinux debian-trixie debian-unstable
1563 #, no-wrap
1564 msgid "distid:string"
1565 msgstr ""
1566
1567 #. type: Plain text
1568 #: archlinux debian-trixie debian-unstable
1569 msgid ""
1570 "This sets the ID string used in SM2 sign or verify operations. While "
1571 "verifying an SM2 signature, the ID string must be the same one used when "
1572 "signing the data. Otherwise the verification will fail."
1573 msgstr ""
1574
1575 #. type: IP
1576 #: archlinux debian-trixie debian-unstable
1577 #, no-wrap
1578 msgid "B<hexdistid:>I<hex_string>"
1579 msgstr ""
1580
1581 #. type: IX
1582 #: archlinux debian-trixie debian-unstable
1583 #, no-wrap
1584 msgid "hexdistid:hex_string"
1585 msgstr ""
1586
1587 #. type: Plain text
1588 #: archlinux debian-trixie debian-unstable
1589 msgid ""
1590 "This sets the ID string used in SM2 sign or verify operations. While "
1591 "verifying an SM2 signature, the ID string must be the same one used when "
1592 "signing the data. Otherwise the verification will fail. The ID string "
1593 "provided with this option should be a valid hexadecimal value."
1594 msgstr ""
1595
1596 #. type: IX
1597 #: archlinux debian-trixie debian-unstable
1598 #, no-wrap
1599 msgid "EXAMPLES"
1600 msgstr ""
1601
1602 #. type: Plain text
1603 #: archlinux debian-trixie debian-unstable
1604 msgid "Sign some data using a private key:"
1605 msgstr ""
1606
1607 #. type: Plain text
1608 #: archlinux debian-trixie debian-unstable
1609 #, no-wrap
1610 msgid "\\& openssl pkeyutl -sign -in file -inkey key.pem -out sig\n"
1611 msgstr ""
1612
1613 #. type: Plain text
1614 #: archlinux debian-trixie debian-unstable
1615 msgid "Recover the signed data (e.g. if an RSA key is used):"
1616 msgstr ""
1617
1618 #. type: Plain text
1619 #: archlinux debian-trixie debian-unstable
1620 #, no-wrap
1621 msgid "\\& openssl pkeyutl -verifyrecover -in sig -inkey key.pem\n"
1622 msgstr ""
1623
1624 #. type: Plain text
1625 #: archlinux debian-trixie debian-unstable
1626 msgid "Verify the signature (e.g. a DSA key):"
1627 msgstr ""
1628
1629 #. type: Plain text
1630 #: archlinux debian-trixie debian-unstable
1631 #, no-wrap
1632 msgid "\\& openssl pkeyutl -verify -in file -sigfile sig -inkey key.pem\n"
1633 msgstr ""
1634
1635 #. type: Plain text
1636 #: archlinux debian-trixie debian-unstable
1637 msgid ""
1638 "Sign data using a message digest value (this is currently only valid for "
1639 "RSA):"
1640 msgstr ""
1641
1642 #. type: Plain text
1643 #: archlinux debian-trixie debian-unstable
1644 #, no-wrap
1645 msgid "\\& openssl pkeyutl -sign -in file -inkey key.pem -out sig -pkeyopt digest:sha256\n"
1646 msgstr ""
1647
1648 #. type: Plain text
1649 #: archlinux debian-trixie debian-unstable
1650 msgid "Derive a shared secret value:"
1651 msgstr ""
1652
1653 #. type: Plain text
1654 #: archlinux debian-trixie debian-unstable
1655 #, no-wrap
1656 msgid "\\& openssl pkeyutl -derive -inkey key.pem -peerkey pubkey.pem -out secret\n"
1657 msgstr ""
1658
1659 #. type: Plain text
1660 #: archlinux debian-trixie debian-unstable
1661 msgid ""
1662 "Hexdump 48 bytes of TLS1 PRF using digest B<SHA256> and shared secret and "
1663 "seed consisting of the single byte 0xFF:"
1664 msgstr ""
1665
1666 #. type: Plain text
1667 #: archlinux debian-trixie debian-unstable
1668 #, no-wrap
1669 msgid ""
1670 "\\& openssl pkeyutl -kdf TLS1-PRF -kdflen 48 -pkeyopt md:SHA256 \\e\n"
1671 "\\& -pkeyopt hexsecret:ff -pkeyopt hexseed:ff -hexdump\n"
1672 msgstr ""
1673
1674 #. type: Plain text
1675 #: archlinux debian-trixie debian-unstable
1676 msgid ""
1677 "Derive a key using B<scrypt> where the password is read from command line:"
1678 msgstr ""
1679
1680 #. type: Plain text
1681 #: archlinux debian-trixie debian-unstable
1682 #, no-wrap
1683 msgid ""
1684 "\\& openssl pkeyutl -kdf scrypt -kdflen 16 -pkeyopt_passin pass \\e\n"
1685 "\\& -pkeyopt hexsalt:aabbcc -pkeyopt N:16384 -pkeyopt r:8 -pkeyopt p:1\n"
1686 msgstr ""
1687
1688 #. type: Plain text
1689 #: archlinux debian-trixie debian-unstable
1690 msgid ""
1691 "Derive using the same algorithm, but read key from environment variable "
1692 "MYPASS:"
1693 msgstr ""
1694
1695 #. type: Plain text
1696 #: archlinux debian-trixie debian-unstable
1697 #, no-wrap
1698 msgid ""
1699 "\\& openssl pkeyutl -kdf scrypt -kdflen 16 -pkeyopt_passin pass:env:MYPASS \\e\n"
1700 "\\& -pkeyopt hexsalt:aabbcc -pkeyopt N:16384 -pkeyopt r:8 -pkeyopt p:1\n"
1701 msgstr ""
1702
1703 #. type: Plain text
1704 #: archlinux debian-trixie debian-unstable
1705 msgid "Sign some data using an B<SM2>\\|(7) private key and a specific ID:"
1706 msgstr ""
1707
1708 #. type: Plain text
1709 #: archlinux debian-trixie debian-unstable
1710 #, no-wrap
1711 msgid ""
1712 "\\& openssl pkeyutl -sign -in file -inkey sm2.key -out sig -rawin -digest sm3 \\e\n"
1713 "\\& -pkeyopt distid:someid\n"
1714 msgstr ""
1715
1716 #. type: Plain text
1717 #: archlinux debian-trixie debian-unstable
1718 msgid "Verify some data using an B<SM2>\\|(7) certificate and a specific ID:"
1719 msgstr ""
1720
1721 #. type: Plain text
1722 #: archlinux debian-trixie debian-unstable
1723 #, no-wrap
1724 msgid ""
1725 "\\& openssl pkeyutl -verify -certin -in file -inkey sm2.cert -sigfile sig \\e\n"
1726 "\\& -rawin -digest sm3 -pkeyopt distid:someid\n"
1727 msgstr ""
1728
1729 #. type: Plain text
1730 #: archlinux debian-trixie debian-unstable
1731 msgid "Decrypt some data using a private key with OAEP padding using SHA256:"
1732 msgstr ""
1733
1734 #. type: Plain text
1735 #: archlinux debian-trixie debian-unstable
1736 #, no-wrap
1737 msgid ""
1738 "\\& openssl pkeyutl -decrypt -in file -inkey key.pem -out secret \\e\n"
1739 "\\& -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256\n"
1740 msgstr ""
1741
1742 #. type: Plain text
1743 #: archlinux debian-trixie debian-unstable
1744 msgid "Create an ML-DSA key pair and sign data with a specific context string:"
1745 msgstr ""
1746
1747 #. type: Plain text
1748 #: archlinux debian-trixie debian-unstable
1749 #, no-wrap
1750 msgid ""
1751 "\\& $ openssl genpkey -algorithm ML-DSA-65 -out mldsa65.pem\n"
1752 "\\& $ openssl pkeyutl -sign -in file.txt -inkey mldsa65.pem -out sig -pkeyopt context-string:example\n"
1753 msgstr ""
1754
1755 #. type: Plain text
1756 #: archlinux debian-trixie debian-unstable
1757 msgid "Verify a signature using ML-DSA with the same context string:"
1758 msgstr ""
1759
1760 #. type: Plain text
1761 #: archlinux debian-trixie debian-unstable
1762 #, no-wrap
1763 msgid "\\& $ openssl pkeyutl -verify -in file.txt -inkey mldsa65.pem -sigfile sig -pkeyopt context-string:example\n"
1764 msgstr ""
1765
1766 #. type: Plain text
1767 #: archlinux debian-trixie debian-unstable
1768 msgid "Generate an ML-KEM key pair and use it for encapsulation:"
1769 msgstr ""
1770
1771 #. type: Plain text
1772 #: archlinux debian-trixie debian-unstable
1773 #, no-wrap
1774 msgid ""
1775 "\\& $ openssl genpkey -algorithm ML-KEM-768 -out mlkem768.pem\n"
1776 "\\& $ openssl pkey -in mlkem768.pem -pubout -out mlkem768_pub.pem\n"
1777 "\\& $ openssl pkeyutl -encap -inkey mlkem768_pub.pem -pubin -out ciphertext -secret shared_secret.bin\n"
1778 msgstr ""
1779
1780 #. type: Plain text
1781 #: archlinux debian-trixie debian-unstable
1782 msgid "Decapsulate a shared secret using an ML-KEM private key:"
1783 msgstr ""
1784
1785 #. type: Plain text
1786 #: archlinux debian-trixie debian-unstable
1787 #, no-wrap
1788 msgid "\\& $ openssl pkeyutl -decap -inkey mlkem768.pem -in ciphertext -secret decapsulated_secret.bin\n"
1789 msgstr ""
1790
1791 #. type: Plain text
1792 #: archlinux debian-trixie debian-unstable
1793 msgid "Create an SLH-DSA key pair and sign data:"
1794 msgstr ""
1795
1796 #. type: Plain text
1797 #: archlinux debian-trixie debian-unstable
1798 #, no-wrap
1799 msgid ""
1800 "\\& $ openssl genpkey -algorithm SLH-DSA-SHA2-128s -out slh-dsa.pem\n"
1801 "\\& $ openssl pkeyutl -sign -in file.txt -inkey slh-dsa.pem -out sig\n"
1802 msgstr ""
1803
1804 #. type: Plain text
1805 #: archlinux debian-trixie debian-unstable
1806 msgid "Verify a signature using SLH-DSA:"
1807 msgstr ""
1808
1809 #. type: Plain text
1810 #: archlinux debian-trixie debian-unstable
1811 #, no-wrap
1812 msgid "\\& $ openssl pkeyutl -verify -in file.txt -inkey slh-dsa.pem -sigfile sig\n"
1813 msgstr ""
1814
1815 #. type: IX
1816 #: archlinux debian-trixie debian-unstable
1817 #, no-wrap
1818 msgid "SEE ALSO"
1819 msgstr ""
1820
1821 #. type: Plain text
1822 #: archlinux debian-trixie debian-unstable
1823 msgid ""
1824 "\\&B<openssl>\\|(1), \\&B<openssl-genpkey>\\|(1), \\&B<openssl-pkey>\\|(1), "
1825 "\\&B<openssl-rsautl>\\|(1) \\&B<openssl-dgst>\\|(1), \\&B<openssl-rsa>\\|"
1826 "(1), \\&B<openssl-genrsa>\\|(1), \\&B<openssl-kdf>\\|(1) "
1827 "\\&B<EVP_PKEY_CTX_set_hkdf_md>\\|(3), \\&B<EVP_PKEY_CTX_set_tls1_prf_md>\\|"
1828 "(3),"
1829 msgstr ""
1830
1831 #. type: IX
1832 #: archlinux debian-trixie debian-unstable
1833 #, no-wrap
1834 msgid "HISTORY"
1835 msgstr ""
1836
1837 #. type: Plain text
1838 #: archlinux debian-trixie debian-unstable
1839 msgid ""
1840 "Since OpenSSL 3.5, the B<-digest> option implies B<-rawin>, and these two "
1841 "options are no longer required when signing or verifying with an Ed25519 or "
1842 "Ed448 key."
1843 msgstr ""
1844
1845 #. type: Plain text
1846 #: archlinux debian-trixie debian-unstable
1847 msgid ""
1848 "Also since OpenSSL 3.5, the B<-kemop> option is no longer required for any "
1849 "of the supported algorithms, the only supported B<mode> is now the default."
1850 msgstr ""
1851
1852 #. type: Plain text
1853 #: archlinux debian-trixie debian-unstable
1854 msgid "The B<-engine> option was deprecated in OpenSSL 3.0."
1855 msgstr ""
1856
1857 #. type: IX
1858 #: archlinux debian-trixie debian-unstable
1859 #, no-wrap
1860 msgid "COPYRIGHT"
1861 msgstr ""
1862
1863 #. type: Plain text
1864 #: archlinux debian-trixie debian-unstable
1865 msgid "Copyright 2006-2026 The OpenSSL Project Authors. All Rights Reserved."
1866 msgstr ""
1867
1868 #. type: Plain text
1869 #: archlinux debian-trixie debian-unstable
1870 msgid ""
1871 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
1872 "this file except in compliance with the License. You can obtain a copy in "
1873 "the file LICENSE in the source distribution or at E<lt>https://"
1874 "www.openssl.org/source/license.htmlE<gt>."
1875 msgstr ""
1876
1877 #. ========================================================================
1878 #. type: IX
1879 #: debian-trixie debian-unstable
1880 #, no-wrap
1881 msgid "OPENSSL-PKEYUTL 1SSL"
1882 msgstr ""
1883
1884 #. type: TH
1885 #: debian-trixie
1886 #, no-wrap
1887 msgid "3.5.6"
1888 msgstr ""
1889
1890 #. type: Plain text
1891 #: debian-trixie debian-unstable
1892 msgid ""
1893 "Use a Key Encapsulation Mechanism (B<KEM>) to B<encapsulate> a shared-secret "
1894 "to a peer's B<public> key. The encapsulated result (or ciphertext, non-text "
1895 "binary data) is written to standard output by default, or else to the file "
1896 "specified with I<-out>. The I<-secret> option must also be provided to "
1897 "specify the output file for the derived shared-secret value generated in the "
1898 "encapsulation process. Encapsulation is supported with a number of public "
1899 "key algorithms, currently: ML-KEM, X25519, X448, and EC. The ECX and EC "
1900 "algorithms use the RFC9180 E<lt>https://www.rfc-editor.org/rfc/rfc9180E<gt> "
1901 "DHKEM construction. Encapsulation is also supported with RSA keys via the "
1902 "\\&B<RSASVE> construction."
1903 msgstr ""
1904
1905 #. type: Plain text
1906 #: debian-trixie debian-unstable
1907 msgid ""
1908 "Disables (when set to 0) or enables (when set to 1) the use of implicit "
1909 "rejection with PKCS#1 v1.5 decryption. When enabled (the default), as a "
1910 "protection against Bleichenbacher attack, the library will generate a "
1911 "deterministic random plaintext that it will return to the caller in case of "
1912 "padding check failure. When disabled, it's the callers' responsibility to "
1913 "handle the returned errors in a side-channel free manner."
1914 msgstr ""