~mamarley/openconnect/+git/gitlab-main:newca

Last commit made on 2023-05-17
Get this branch:
git clone -b newca https://git.launchpad.net/~mamarley/openconnect/+git/gitlab-main

Branch merges

Branch information

Recent commits

95f67b1... by dwmw2

Rebuild all test certificates

The CA has expired. Rebuild it (and remove the old GnuTLS CA from the
ca-key.pem file where it was just noise).

Rebuild all other certificates while we're at it, but leave the keys
as they were. Extend the validity to 10000 days which should expire
in 2050, by which time it probably won't be my problem.

Dan seems young and healthy; maybe he can thank me then for pedantially
scripting it all instead of doing it manually. Or maybe it'll have
bitrotted so much by then that it won't help.

Most of it worked out of the box this time, but I re-imported the certs
into SoftHSM manually because I didn't want to start from scratch using
the softhsm-setupX make targets. I think some of the behaviour of the
GnuTLS tools (not importing pubkeys, etc) has changed since I did this.

Arguably we should rewrite those rules to import things the same way
into each token and then explicitly tweak them, deleting the public
keys and explicitly marking objects public or private as needed for
each token.

The SoftHSM modifications also had to be done with an older version
of SoftHSM (I used 2.2.0 on Ubuntu 18.04) because doing it with a
newer version meant the newly-imported certs weren't visible in the
Ubuntu 18.04 or CentOS 9 test runs.

Fixes: #609
Signed-off-by: David Woodhouse <email address hidden>

706b97f... by dwmw2

Change to using key fingerprint for --servercert in tests

We're about to change the CA and rebuild all the certs, but if we're
using the *key* fingerprint that won't change.

Signed-off-by: David Woodhouse <email address hidden>

c2f0f97... by dwmw2

Ensure swtpm is started before making CSRs with it

Signed-off-by: David Woodhouse <email address hidden>

ddf7be5... by dwmw2

Add rule to rebuild ca.pem

Signed-off-by: David Woodhouse <email address hidden>

e404b23... by dwmw2

Fix order-only rule dependency variables

When I made the cert rules order-only to prevent all the certs from being
rebuilt unnecessarily, I forgot to switch $< to $| in referencing the
names of the dependencies.

Fixes: e24ef965a96a ("Make all cert rules order-only")
Signed-off-by: David Woodhouse <email address hidden>

2f72b7f... by dwmw2

Update translations from GNOME

Signed-off-by: David Woodhouse <email address hidden>

2f84b43... by dwmw2

Build COPR package with xdg-open

Signed-off-by: David Woodhouse <email address hidden>

586560b... by dwmw2

Switch from egrep to 'grep -E'

Signed-off-by: David Woodhouse <email address hidden>

d6780b9... by dwmw2

Consolidate browser spawn functions

These were almost identical except that the one in main.c would allow the
browser to be overridden. Combine them, as it's only going to end up with
more duplication if we manage to add Windows support.

Signed-off-by: David Woodhouse <email address hidden>

296ff59... by dwmw2

Silence warnings about type aliasing when resolving wintun DLL functions

Signed-off-by: David Woodhouse <email address hidden>