Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
d23f095
docs/Makefile.am: add ASPELL_NUT_COMMON_ARGS to preclude mangling of …
jimklimov May 12, 2026
192429c
Introduce NUT "authconf" file support [#3329]
jimklimov May 11, 2026
9abe9a0
tests/test_authconf.c: drop "Mocks for functions usually provided by …
jimklimov May 12, 2026
e242528
clients/authconf.{c,h}, tests, docs: extend upscli_dump_authconf{,_li…
jimklimov May 12, 2026
af51fde
clients/authconf.{c,h}, docs/man/upscli_find_authconf.txt: refactor w…
jimklimov May 12, 2026
fc2fa5c
common/common.c et al: relocate check_perms() from upsd to common cod…
jimklimov May 12, 2026
c38b9dd
clients/authconf.c: parse_authconf_file(): call check_perms(filename)…
jimklimov May 12, 2026
4cf3fad
common/common.c: cosmetic fix
jimklimov May 12, 2026
861524d
clients/upsclient.{c,h}, docs/man/upscli_init.txt: introduce upscli_i…
jimklimov May 12, 2026
b178f84
clients/authconf.{c,h}, docs/man/upscli_read_authconf.txt: add search…
jimklimov May 12, 2026
155f279
tests/test_authconf.c: honour NUT_DEBUG_LEVEL [#3329]
jimklimov May 12, 2026
9ef940e
tests/test_authconf.c: add a dev-test for discovery of user/site nuta…
jimklimov May 12, 2026
bf0c92a
conf/nutauth.conf.sample.in, configure.ac, conf/Makefile.am, conf/.gi…
jimklimov May 12, 2026
828277f
scripts/obs/debian.nut-client.install, scripts/obs/debian.nut-client.…
jimklimov May 12, 2026
59b5396
clients/authconf.c: upscli_splitauth(): if "port" is a non-numeric st…
jimklimov May 12, 2026
76ac9fe
clients/authconf.c: upscli_splitauth(): reject empty non-NULL sect_na…
jimklimov May 12, 2026
6463a78
clients/authconf.c: handle_authconf_args(): revise section title line…
jimklimov May 12, 2026
580fb83
clients/authconf.{c,h}, docs: further refactor with upscli_normalize_…
jimklimov May 12, 2026
670e1ca
clients/authconf.c: refactor upscli_find_authconf() with upscli_norma…
jimklimov May 12, 2026
6fb38e9
tests/test_authconf.c: add a Non-exact match test case [#3329]
jimklimov May 12, 2026
39808c5
clients/authconf.c: fix static analysis warnings [#3329]
jimklimov May 13, 2026
ad6bb86
clients/authconf.{c,h}: refactor static upscli_add_authconf() with a …
jimklimov May 13, 2026
b723662
clients/authconf.c, docs/man/nutauth.conf.txt: revise section title p…
jimklimov May 13, 2026
8ae0690
docs/man/*auth*.txt, docs/man/Makefile.am: reshuffle nutauth.conf rel…
jimklimov May 13, 2026
1e1baac
clients/authconf.c: upscli_create_authconf(): handle failed calloc() …
jimklimov May 13, 2026
33bbf27
clients/authconf.{c,h}, tests/test_authconf.c, docs/man/*auth*, docs/…
jimklimov May 13, 2026
5c1c246
clients/authconf.{c,h}, docs: introduce upscli_clone_authconf_item() …
jimklimov May 13, 2026
92360b2
clients/authconf.c: upscli_find_authconf_item(): refine return of glo…
jimklimov May 14, 2026
31faec1
clients/authconf.c: refactor with separation of upscli_add_authconf_i…
jimklimov May 14, 2026
32761dc
clients/authconf.c, docs/man/upscli_create_authconf_item.txt: revise …
jimklimov May 14, 2026
6756fb6
clients/authconf.c, docs/man/upscli_create_authconf_item.txt: revise …
jimklimov May 14, 2026
d847a19
docs/man/Makefile.am: fix after reshuffle nutauth.conf related method…
jimklimov May 14, 2026
6540e87
clients/authconf.{c,h}: introduce upscli_get_authconf_item() for auto…
jimklimov May 14, 2026
330cb46
tests/test_authconf.c: print TAP-style progress trackingl add tests f…
jimklimov May 14, 2026
c98d1f7
clients/authconf.c: upscli_get_authconf_item(): add ifdef-ed away ver…
jimklimov May 14, 2026
d04028e
clients/authconf.{c,h}, docs/man/upscli_create_authconf_item.txt, doc…
jimklimov May 14, 2026
098c0d6
clients/authconf.c, tests/test_authconf.c: handle_authconf_args(): wh…
jimklimov May 15, 2026
6fd5c45
clients/upsclient.{c,h}, clients/authconf.c, docs: introduce upscli_a…
jimklimov May 15, 2026
d47d9df
clients/nutclient.{cpp,h}: add rudimentary support for SSLConfig_CERT…
jimklimov May 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NEWS.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ https://github.com/networkupstools/nut/milestone/13
allows to pass the `certfile` argument needed for OpenSSL builds. [#3331]
* The `libupsclient` (C) and `libnutclient` (C++) API were updated to
report the ability to check `CERTIDENT` information. [#3331]
* Introduced support for "authconf" files to store and convey NUT client
authentication details. [issue #3329]

- `upsmon` client updates:
* Introduced support for `CERTFILE` option, so the client can identify
Expand Down
4 changes: 2 additions & 2 deletions clients/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ endif HAVE_CXX11

# Optionally deliverable as part of NUT public API:
if WITH_DEV
include_HEADERS = upsclient.h
include_HEADERS = upsclient.h authconf.h
if HAVE_CXX11
include_HEADERS += nutclient.h nutclientmem.h
else !HAVE_CXX11
Expand Down Expand Up @@ -170,7 +170,7 @@ upsstats_cgi_LDADD = $(LDADD_CLIENT) $(top_builddir)/common/libcommonstrjson.la
# but it needs nut_version.h made before the rest of build,
# to include it into upsclient.c (without an explicit link,
# this target is sometimes missed in parallel builds):
libupsclient_la_SOURCES = upsclient.c upsclient.h
libupsclient_la_SOURCES = upsclient.c upsclient.h authconf.c authconf.h

# See comments for similar trick in common/Makefile.am for common-nut_version.c
if BUILDING_IN_TREE
Expand Down
Loading
Loading