about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-10-15 17:59:16 -0400
committerJune McEnroe <june@causal.agency>2021-10-15 17:59:16 -0400
commite4565b9d8aba2d2f4def54ebdd1d789c9010b9cd (patch)
treea73184c5e6572000fbd213c6875ed586e9212141
parentAdd back pounce EXAMPLES section (diff)
downloadpounce-e4565b9d8aba2d2f4def54ebdd1d789c9010b9cd.tar.gz
pounce-e4565b9d8aba2d2f4def54ebdd1d789c9010b9cd.zip
Prefix other example commands with $ prompt
-rw-r--r--pounce.130
1 files changed, 15 insertions, 15 deletions
diff --git a/pounce.1 b/pounce.1
index c81c615..a978843 100644
--- a/pounce.1
+++ b/pounce.1
@@ -504,15 +504,15 @@ not to the server.
 .It
 Generate self-signed client certificates and private keys:
 .Bd -literal -offset indent
-pounce -g client1.pem
-pounce -g client2.pem
+$ pounce -g client1.pem
+$ pounce -g client2.pem
 .Ed
 .It
 Concatenate the certificate public keys into a CA file:
 .Bd -literal -offset indent
-openssl x509 -subject -in client1.pem \e
+$ openssl x509 -subject -in client1.pem \e
 	>> ~/.config/pounce/auth.pem
-openssl x509 -subject -in client2.pem \e
+$ openssl x509 -subject -in client2.pem \e
 	>> ~/.config/pounce/auth.pem
 .Ed
 .It
@@ -522,7 +522,7 @@ to verify client certificates
 against the CA file:
 .Bd -literal -offset indent
 local-ca = auth.pem
-# or: pounce -A auth.pem
+# or: $ pounce -A auth.pem
 .Ed
 .El
 .
@@ -535,21 +535,21 @@ by a generated certificate authority:
 .It
 Generate a self-signed certificate authority:
 .Bd -literal -offset indent
-pounce -g auth.pem
+$ pounce -g auth.pem
 .Ed
 .It
 Generate and sign client certificates
 using the CA:
 .Bd -literal -offset indent
-pounce -A auth.pem -g client1.pem
-pounce -A auth.pem -g client2.pem
+$ pounce -A auth.pem -g client1.pem
+$ pounce -A auth.pem -g client2.pem
 .Ed
 .It
 Since only the public key is needed
 for certificate verification,
 extract it from the CA:
 .Bd -literal -offset indent
-openssl x509 -in auth.pem -out ~/.config/pounce/auth.crt
+$ openssl x509 -in auth.pem -out ~/.config/pounce/auth.crt
 .Ed
 .It
 Configure
@@ -558,7 +558,7 @@ to verify client certificates
 against the CA:
 .Bd -literal -offset indent
 local-ca = auth.crt
-# or: pounce -A auth.crt
+# or: $ pounce -A auth.crt
 .Ed
 .El
 .
@@ -567,13 +567,13 @@ local-ca = auth.crt
 .It
 Generate a new TLS client certificate:
 .Bd -literal -offset indent
-pounce -g ~/.config/pounce/example.pem
+$ pounce -g ~/.config/pounce/example.pem
 .Ed
 .It
 Connect to the server using the certificate:
 .Bd -literal -offset indent
 client-cert = example.pem
-# or: pounce -c example.pem
+# or: $ pounce -c example.pem
 .Ed
 .It
 Identify with services or use
@@ -588,7 +588,7 @@ to require successful authentication when connecting:
 .Bd -literal -offset indent
 client-cert = example.pem
 sasl-external
-# or: pounce -e -c example.pem
+# or: $ pounce -e -c example.pem
 .Ed
 .El
 .
@@ -598,7 +598,7 @@ sasl-external
 Connect to the server
 and write its certificate to a file:
 .Bd -literal -offset indent
-pounce -o -h irc.example.org > ~/.config/pounce/example.pem
+$ pounce -o -h irc.example.org > ~/.config/pounce/example.pem
 .Ed
 .It
 Configure
@@ -606,7 +606,7 @@ Configure
 to trust the certificate:
 .Bd -literal -offset indent
 trust = example.pem
-# or: pounce -t example.pem
+# or: $ pounce -t example.pem
 .Ed
 .El
 .