Commit 6e382e4
committed
nvme: expose tls mode in use
It is not possible to determine the active TLS mode from the
presence or absence of sysfs attributes like tls_key,
tls_configured_key, or dhchap_secret.
With the introduction of the concat mode and optional DH-CHAP
authentication, different configurations can result in identical
sysfs state. This makes user space detection unreliable.
Read the TLS mode used from the newly added sysfs entry.
Signed-off-by: Daniel Wagner <[email protected]>1 parent 99dd46f commit 6e382e4
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1729 | 1729 | | |
1730 | 1730 | | |
1731 | 1731 | | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
1732 | 1746 | | |
1733 | 1747 | | |
1734 | 1748 | | |
| |||
1777 | 1791 | | |
1778 | 1792 | | |
1779 | 1793 | | |
| 1794 | + | |
1780 | 1795 | | |
1781 | 1796 | | |
1782 | 1797 | | |
| |||
0 commit comments