luci-proto-openconnect: relax key checking
authorJo-Philipp Wich <jo@mein.io>
Wed, 29 Mar 2023 13:32:44 +0000 (15:32 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 29 Mar 2023 13:33:37 +0000 (15:33 +0200)
commitb8ee30589bd3e9037e7c7a8a5a1e8c1048afaf2f
treeedd057792806a7abdfdccf554b06cb7107997c6b
parent48086e1c7b3e7094b6fbe61335209189b1006bfb
luci-proto-openconnect: relax key checking

Valid keys may begin/end with `-----BEGIN PRIVATE KEY-----` and
`-----END PRIVATE KEY-----` so make the `RSA` keyword optional.

Fixes: #6319
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js