summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-sshtunnel/Makefile
diff options
context:
space:
mode:
authorSergey Ponomarev <stokito@gmail.com>2023-12-17 14:34:32 +0200
committerPaul Donald <itsascambutmailmeanyway@gmail.com>2023-12-27 20:24:25 +0000
commit949e7cbcb33cc457bfcdd27aaf4da487bab89f30 (patch)
tree717662511273f04f154670377cf804f9603e79c0 /applications/luci-app-sshtunnel/Makefile
parent3933633dd0de84b1c13af5d8f62b6b2431bf1ca7 (diff)
luci-app-sshtunnel: ssh_keys: list keys without a corresponding .pub
The private keys doesn't have any extension so the only way to clearly say that this file is a key is a presence of the corresponding .pub file. Most of time key files have a prefix id_ e.g. id_rsa etc. The dropbearkey generates a key without a corresponding .pub file e.g. id_dropbearkey. So we need to detect a key files by both .pub file or id_ prefix. Key files without the id_ prefix won't be listed, sorry. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
Diffstat (limited to 'applications/luci-app-sshtunnel/Makefile')
0 files changed, 0 insertions, 0 deletions