NetworkManager/clients/common
Thomas Haller d1a94a85b1 device: hash a per-host key for ipv4.dhcp-client-id=stable
Otherwise, the generated client-id depends purely on the profile's
stable-id. It means, the same profile (that is, either the same UUID
or same stable-id) on different hosts will result in identical client-ids.

That is clearly not desired. Hash a per-host secret-key as well.

Note, that we don't hash the interface name. So, activating the
profile on different interfaces, will still yield the same client-id.
But also note, that commonly a profile is restricted to one device,
via "connection.interface-name".

Note that this is a change in behavior. However, "ipv4.dhcp-client-id=stable"
was only added recently and not yet released.

Fixes: 62a7863979
2018-05-28 14:58:24 +02:00
..
tests build: meson: add prefix to test names 2018-04-12 09:21:10 +02:00
meson.build build: Rename settings-docs.c file 2018-01-12 09:39:06 +01:00
nm-client-utils.c cli: fix property matching 2018-05-28 11:33:40 +02:00
nm-client-utils.h clients/common: add nmc_objects_sort_by_path() helper 2018-05-14 17:53:03 +02:00
nm-meta-setting-access.c clients: change nm_meta_abstract_info_get() to report defaults 2018-04-13 17:02:55 +02:00
nm-meta-setting-access.h clients: change nm_meta_abstract_info_get() to report defaults 2018-04-13 17:02:55 +02:00
nm-meta-setting-desc.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-meta-setting-desc.h cli: use a palette to implement coloring 2018-05-10 14:36:58 +02:00
nm-polkit-listener.c cli: rework callbacks in NMPolkitListener to use one vtable structure 2018-04-16 16:03:14 +02:00
nm-polkit-listener.h all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nm-secret-agent-simple.c clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nm-secret-agent-simple.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nm-vpn-helpers.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-vpn-helpers.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
settings-docs.h.in device: hash a per-host key for ipv4.dhcp-client-id=stable 2018-05-28 14:58:24 +02:00
settings-docs.xsl cli: fix marking settings docs for translation 2017-04-23 23:45:02 +02:00