1OPENSSL-PASSPHRASE-OPTIONS(1ossl) OpenSSL OPENSSL-PASSPHRASE-OPTIONS(1ossl)
2
3
4
6 openssl-passphrase-options - Pass phrase options
7
9 openssl command [ options ... ] [ parameters ... ]
10
12 Several OpenSSL commands accept password arguments, typically using
13 -passin and -passout for input and output passwords respectively. These
14 allow the password to be obtained from a variety of sources. Both of
15 these options take a single argument whose format is described below.
16 If no password argument is given and a password is required then the
17 user is prompted to enter one: this will typically be read from the
18 current terminal with echoing turned off.
19
20 Note that character encoding may be relevant, please see
21 passphrase-encoding(7).
22
24 Pass Phrase Option Arguments
25 Pass phrase arguments can be formatted as follows.
26
27 pass:password
28 The actual password is password. Since the password is visible to
29 utilities (like 'ps' under Unix) this form should only be used
30 where security is not important.
31
32 env:var
33 Obtain the password from the environment variable var. Since the
34 environment of other processes is visible on certain platforms
35 (e.g. ps under certain Unix OSes) this option should be used with
36 caution.
37
38 file:pathname
39 The first line of pathname is the password. If the same pathname
40 argument is supplied to -passin and -passout arguments then the
41 first line will be used for the input password and the next line
42 for the output password. pathname need not refer to a regular file:
43 it could for example refer to a device or named pipe.
44
45 fd:number
46 Read the password from the file descriptor number. This can be used
47 to send the data via a pipe for example.
48
49 stdin
50 Read the password from standard input.
51
53 Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.
54
55 Licensed under the Apache License 2.0 (the "License"). You may not use
56 this file except in compliance with the License. You can obtain a copy
57 in the file LICENSE in the source distribution or at
58 <https://www.openssl.org/source/license.html>.
59
60
61
623.0.9 2023-07-27 OPENSSL-PASSPHRASE-OPTIONS(1ossl)