Bug 1456007

Summary: [RFE] Add support for MACsec connections to nm-connection-editor
Product: Red Hat Enterprise Linux 7 Reporter: Beniamino Galvani <bgalvani>
Component: NetworkManagerAssignee: Beniamino Galvani <bgalvani>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.4CC: aloughla, atragler, bgalvani, fgiudici, lrintel, pgeorgie, rkhan, salmy, sukulkar, thaller, vbenes
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 13:24:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
[PATCH] editor: add macsec support
none
[PATCH v2] editor: add macsec support none

Description Beniamino Galvani 2017-05-26 16:34:48 UTC
nm-connection-editor should support editing MACsec connections.

Comment 2 Beniamino Galvani 2017-06-04 13:18:48 UTC
Created attachment 1284746 [details]
[PATCH] editor: add macsec support

Comment 3 Thomas Haller 2017-06-09 08:29:10 UTC
»···gtk_entry_set_text (priv->cak, cak);

cak and ckn are possibly NULL, triggering an assertion.

  cak ?: ""



Rest lgtm

Comment 4 Beniamino Galvani 2017-06-09 12:35:56 UTC
Created attachment 1286405 [details]
[PATCH v2] editor: add macsec support

Comment 5 Thomas Haller 2017-06-15 21:11:51 UTC
It looks good to me as is.




A minor nitpick, maybe you want to fix it :)

When you add a new MACSec connection, and start editing the MACsec tab...

Fill in Device and Parent (so that the "Save" tooltip no longer complains about these).

Then, change Mode to EAP. Now the tooltip says:

  Invalid setting MACsec: macsec: EAP key management requires '802-1x' setting 
  presence

Ok, so you to to the 802-1x setting, and surprisingly the checkpox is set. That is, 802-1x is enabled, although the Save tooltip still claims it isn't.

Comment 6 Francesco Giudici 2017-06-16 13:05:58 UTC
lgtm

Comment 7 Beniamino Galvani 2017-06-18 09:36:06 UTC
(In reply to Thomas Haller from comment #5)
> When you add a new MACSec connection, and start editing the MACsec tab...
> 
> Fill in Device and Parent (so that the "Save" tooltip no longer complains
> about these).
> 
> Then, change Mode to EAP. Now the tooltip says:
> 
>   Invalid setting MACsec: macsec: EAP key management requires '802-1x'
> setting 
>   presence
> 
> Ok, so you to to the 802-1x setting, and surprisingly the checkpox is set.
> That is, 802-1x is enabled, although the Save tooltip still claims it isn't.

Fixed, thanks.

Applied as:

https://git.gnome.org/browse/network-manager-applet/commit/?id=c481a9366320745eb8749e4e0641f8c323788e6d

Comment 11 errata-xmlrpc 2018-04-10 13:24:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0778