Re: A few questions about revoking keys

Gert Doering <[email protected]>
Newsgroups gmane.network.openvpn.user
Message-ID <[email protected]>
Hi,

On Sun, Feb 04, 2024 at 02:17:35PM +0100, Bo Berglund wrote:
> 2) But if you have actually taken the advice then making a user unable to
> connect is very simple to manage by NOT revoking any key:
> Just create a file with the Common Name of tyhat user in the ssd directory on
> the server and write the single word "disable" into that file.

This is actually doing something subtly different.

- revoking the key means "this key will no longer work, another key with
  the same CN (and/or same username/password) *will* work"

- blocking by CCD/disable means "this common name will no longer work, no
  matter which key is used".

The first one would be appropriate in case a device with a key on it is
lost / stolen - block this key, do not block anything else this user might
have.  The second case is "get rid of all this user might have had issued
to his name".

> So my take is: DO NOT USE revoking of keys to lock out users!

Use the right solution for the right purpose :-)

(One of my customers locks out users by means of an LDAP check in
client-connect... so if AD has the "this account is disabled!" bit
set, client-connect will fail, disallowing connect...  but to make
this work well, async/deferred CC needs to be used, which is a bit
more complex to set up)

gert

-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]

_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
signature.asc (application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE-----

iQGcBAEBAgAGBQJlv6FxAAoJEB2Cnv7KVigS6XsMAJY1hTUmfXTfCSkig7tfVrTB
SLmRXIX5iM2qeF9wbIYgqhgSnScAhz6eHOPg/8tp26vFpqrGMG3Fj5jo3G7vGi5B
5GomGBznVWxKw+vXYVKW4YP9YpA1BOL/LUfi9SCzxOil05VHSSnQBOBZ4M/eMAR5
aDkH6bnaWb8IwVDHmLVVVjBKu+pmjOtbUeeaADvYJgwJnQvWVVBNXx0eY5nBwCdx
fiEcK8wlP5PAxKyfvv69pVXK4hWuY9xwGuWjAivsIcM8yEVKa7G+k9/OZ2ea3fHu
E4CGzJVYxKeTDONQbj6EIZhGBlLfHfmBipyNkGb6VPeqKkTYoQQzqc/AtXKQ3DAj
rnjHqzVQ4DTVwvUmFIsRx8pIYh3CO5kwvJklIvhF/v+OIyr9+7sBJJJxS+YKCU1v
OsJiaTO8wcHn06mxSklAF47EWvj9ELWUMXbw6grGZtCU5TajNpbX+nDx4wPin/zO
6gAxyVhOnpYgCEUeyZFxIlpgiMP0Y7VgUFm1Ge6iGg==
=ltLM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.