commit 3e45997f5a233a0081988aecff7cc379a87d081f
parent 864d47a2faa044046189ed76b0c5d7aa0da96d50
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: Sun, 4 Jun 2023 16:13:35 -0500
npm-core.1
Diffstat:
A | npm-core.1 | | | 36 | ++++++++++++++++++++++++++++++++++++ |
1 file changed, 36 insertions(+), 0 deletions(-)
diff --git a/npm-core.1 b/npm-core.1
@@ -0,0 +1,36 @@
+.Dd 2020-07-30
+.Dt NPM-CORE 1
+.Os
+.Sh NAME
+.Nm npm-core
+.Nd the npm cryptographic core
+.Sh SYNOPSIS
+.Nm
+.Fl e
+.Nm
+.Fl d Ar file
+.Sh DESCRIPTION
+.Nm
+performs cryptographic operations on behalf of
+.Xr npm 1 .
+.Nm
+operates in two modes:
+.IP "\fBencryption\fP" 10
+In encryption mode, it reads a newline terminated master password,
+followed by a newline terminated password. The password is then
+encrypted using the master password, and written to standard out.
+.Sh CONFIGURATION
+TLS parameters can be configured by modifying config.h. See
+.Xr tls_config_set_protocols 3
+for details on the values that various parameters can take.
+.Sh SEE ALSO
+.Xr ssl 3 ,
+.Xr tcp 7 ,
+.Xr tls_init 3
+.Sh AUTHORS
+.An Nihal Jere Aq Mt nihal@nihaljere.xyz
+.Sh CAVEATS
+Note that
+.Nm
+can listen on and forward to both unix-domain sockets and network sockets.
+However, it can only use one backend socket and one frontend socket at a time.