-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(nm): 802.1x EAP-TLS on platforms where NetworkManager uses
nss
(#…
…5075) * fix: pass private key to NetworkManager as PEM instead of DER * refactor: simplify code * refactor: rollback to previous version * build: fix manifest * fix: add newline every 64 character as per RFC 1421 * refactor: extract conversion to method * refactor: remove extra newline * fix: wrong key header (I was too tired) * test: update test with correct expectation
- Loading branch information
Showing
3 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -663,7 +663,8 @@ public void build8021xSettingsShouldWorkWithTls() { | |
thenResultingMapContains("identity", "[email protected]"); | ||
thenResultingMapContainsBytes("ca-cert", "binary ca cert"); | ||
thenResultingMapContainsBytes("client-cert", "binary client cert"); | ||
thenResultingMapContainsBytes("private-key", "binary private key"); | ||
thenResultingMapContainsBytes("private-key", | ||
"-----BEGIN PRIVATE KEY-----\nYmluYXJ5IHByaXZhdGUga2V5\n-----END PRIVATE KEY-----\n"); | ||
thenResultingMapContains("private-key-password", "secure-password"); | ||
|
||
} | ||
|