Commit d0c4d3a
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 14a15f4 commit d0c4d3a
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1766 | 1766 | | |
1767 | 1767 | | |
1768 | 1768 | | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
1769 | 1784 | | |
1770 | 1785 | | |
1771 | 1786 | | |
| |||
1814 | 1829 | | |
1815 | 1830 | | |
1816 | 1831 | | |
| 1832 | + | |
1817 | 1833 | | |
1818 | 1834 | | |
1819 | 1835 | | |
| |||
0 commit comments