OPENSSL-PASSPHRASE-OPTIONS(1SSL)
π OPENSSL-PASSPHRASE-OPTIONS(1SSL) π
okay bestie, this is the manpage for openssl-passphrase-options from the OpenSSL fam (section 1SSL) β it's the whole lore on how you hand a password to an openssl command without it being A Whole Thing. sit down, hydrate, let's go πΈ
β¨ NAME β¨
openssl-passphrase-options β Pass phrase options
π¦ SYNOPSIS π¦
openssl command [ options ... ] [ parameters ... ]
π DESCRIPTION π
so like, a bunch of OpenSSL commands take password arguments, and usually they're -passin for the input password and -passout for the output password. these give you a menu of ways to source that password β pick your fighter. both options take exactly one argument, and the format of that argument is the whole thing described down below, no cap.
and if you don't give a password argument but one is required? the command will just prompt you for it. typically that means it reads from the current terminal with echoing turned off, so nobody's shoulder-surfing your keystrokes π
ngl, character encoding may be relevant here β go peek at passphrase-encoding(7) if that's your vibe.
π OPTIONS π
π Pass Phrase Option Arguments
pass phrase arguments can be formatted as follows, bestie. each one's got its own energy:
pass:passwordβ the actual password is literallypassword, just sitting there in plain sight. and that's the problem β since the password is visible to utilities (likepsunder Unix), this form should only be used where security is not important. yes,pswill snitch. it's giving exposed πenv:varβ grab the password from the environment variablevar. π but heads up: since the environment of other processes is visible on certain platforms (e.g.psunder certain Unix OSes), this option should be used with caution. cautious queen behavior only πfile:pathnameβ reads the password from the specified filepathname, which can be a regular file, device, or named pipe. only the first line, up to the newline character, is read from the stream. one line and it's done, periodt.
and the cute part: if the same pathname argument is supplied to both -passin and -passout, the first line will be used for the input password, and the next line will be used for the output password. two lines, two jobs, love that for them π
fd:numberβ reads the password from the file descriptornumber. super useful for sending data via a pipe, for example. same line handling as described forfile:applies to passwords read from file descriptors.
π warning: fd: is not supported on Windows. not even a little bit.
stdinβ reads the password from standard input. same line handling as described forfile:applies to passwords read from standard input. classic, iconic, never misses β¨
π COPYRIGHT π
Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
and that's the whole page, bestie π«Ά this was OpenSSL 4.0.3, dated 2026-09-29, manual page OPENSSL-PASSPHRASE-OPTIONS(1SSL) β kbye, go keep your passphrases secret ππ§
π¦ where this page comes from
- ubuntu stonking: openssl 4.0.3-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms