Update 'README.md'

This commit is contained in:
Russtopia 2022-07-02 12:44:37 -07:00
parent 41769660cc
commit 42ad33065b
1 changed files with 15 additions and 2 deletions

View File

@ -102,6 +102,19 @@ As of this time (Oct 2018) Kyber is one of the candidate algorithms submitted to
* [blitter.com/go/mtwist](https://gogs.blitter.com/RLabs/mtwist) // 64-bit Mersenne Twister PRNG * [blitter.com/go/mtwist](https://gogs.blitter.com/RLabs/mtwist) // 64-bit Mersenne Twister PRNG
* [blitter.com/go/cryptmt](https://gogs.blitter.com/RLabs/cryptmt) // CryptMTv1 stream cipher * [blitter.com/go/cryptmt](https://gogs.blitter.com/RLabs/cryptmt) // CryptMTv1 stream cipher
### Installing
As of Go 1.8, one can directly use `go install` to get the client `xs` and server `xsd` binaries; however it is not recommended, as `xsd` requires root and for general use should be in one of the system directories, akin to other daemons. If one insists, the following will work to place them in $HOME/go/bin:
```
$ go install blitter.com/go/xs@latest
$ go install blitter.com/go/xsd@latest
```
(NOTE the `-v` option for binaries obtained in this manner will be blank; another reason to build them yourself locally using the steps below.)
### Get source code ### Get source code
``` ```
@ -116,7 +129,7 @@ $ cd xs
$ make clean && make $ make clean && make
``` ```
### To install, uninstall, re-install ### To install, uninstall, re-install (xsd server)
``` ```
$ sudo make [install | uninstall | reinstall] $ sudo make [install | uninstall | reinstall]
@ -147,7 +160,7 @@ $ sudo rc-config [start | restart | stop] xsd
# .. or sudo /etc/init.d/xsd [start | restart stop] # .. or sudo /etc/init.d/xsd [start | restart stop]
``` ```
### To set accounts & passwords: ### To set accounts & passwords (DEPRECATED: `-s` is now true by default)
``` ```
$ sudo touch /etc/xs.passwd $ sudo touch /etc/xs.passwd