RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1658771 - Agent-owned secrets are not updated when modifying connection
Summary: Agent-owned secrets are not updated when modifying connection
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Beniamino Galvani
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-12 20:23 UTC by Beniamino Galvani
Modified: 2019-06-14 00:02 UTC (History)
9 users (show)

Fixed In Version: NetworkManager-1.14.0-9.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-14 00:02:46 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Beniamino Galvani 2018-12-12 20:23:03 UTC
When modifying a connection with new agent-owned secrets,
NetworkManager sends the old secrets to secret agents.

* Steps to reproduce:

  [ Prerequisite: a secret agent capable of persisting secrets
   (nm-applet, gnome shell) must be running and a keyring application
   (gnome-keyring, kwallet) active ]


 $ nmcli connection add type ethernet \
                      ifname test1 \
                      con-name test1+ \
                      connection.autoconnect no \
                      802-1x.eap md5 \
                      802-1x.identity user \
                      802-1x.password-flags agent-owned \
                      802-1x.password pass

 $ nmcli -f 802-1x.password -s connection show test1+
 802-1x.password:                        pass

 $ nmcli connection modify test1+ 802-1x.password pass123

 $ nmcli -f 802-1x.password -s connection show test1+
 802-1x.password:                        pass

After the last step the new password 'pass123' should be displayed.

* Affected version
NetworkManager 1.14.0-7.el8

* Notes
Upstream fix at https://github.com/NetworkManager/NetworkManager/pull/257


Note You need to log in before you can comment on or make changes to this bug.