#! /bin/sh# SPDX-License-Identifier: LGPL-2.1-or-laterset -euf# Print the name of default key, if any.for f in id_dsa id_ecdsa id_ecdsa_sk id_ed25519 id_ed25519_sk id_rsa; dop=$HOME/.ssh/$fif test -f "$p"; thenecho "$p"if ! ssh-keygen -y -P "" -f "$p" >/dev/null 2>/dev/null; thenecho "encrypted"fiexit 0fidone