mirror of
https://git.sr.ht/~sircmpwn/gmni
synced 2024-11-22 20:32:03 +01:00
Gemini client
b46b312817
The host variable is freed too early. If a client certificate is not found, the later error message in the GEMINI_STATUS_CLASS_CLIENT_CERTIFICATE_REQUIRED case uses the freed host variable to produce an incorrect openssl command. This fix just delays the free to after the switch statement. Test case: gmnlm gemini://feeds.drewdevault.com Prior: The following OpenSSL command will generate a certificate for this host: openssl req -x509 -newkey rsa:4096 \ -keyout /home/andrew/.local/share/gmni/certs/Ú-=öU.key \ -out /home/andrew/.local/share/gmni/certs/Ú-=öU.crt \ -days 36500 -nodes Now: The following OpenSSL command will generate a certificate for this host: openssl req -x509 -newkey rsa:4096 \ -keyout /home/andrew/.local/share/gmni/certs/feeds.drewdevault.com.key \ -out /home/andrew/.local/share/gmni/certs/feeds.drewdevault.com.crt \ -days 36500 -nodes |
||
---|---|---|
doc | ||
include | ||
src | ||
.gitignore | ||
config.sh | ||
configure | ||
COPYING | ||
Makefile | ||
README.md |
gmni - A Gemini client
This is a Gemini client. Included are:
- A CLI utility (like curl): gmni
- A line-mode browser: gmnlm
Dependencies:
Features:
- Page history
- Regex searches
- Bookmarks
Compiling
$ mkdir build && cd build
$ ../configure
$ make
# make install
Usage
See gmni(1)
, gmnlm(1)
.