"authorized_keys file %q is out of date.\nRegenerate it with:\n\t\"%s\"\nor\n\t\"%s\"",
"authorized_keys file %q is out of date.\nRegenerate it with:\n\t\"%s\"\nor\n\t\"%s\"",
fPath,
fPath,
"gitea admin regenerate keys",
"gitea admin regenerate keys",
"gitea doctor --run authorized_keys --fix")
"gitea doctor --run authorized-keys --fix")
returnfmt.Errorf(`authorized_keys is out of date and should be regenerated with "gitea admin regenerate keys" or "gitea doctor --run authorized_keys --fix"`)
returnfmt.Errorf(`authorized_keys is out of date and should be regenerated with "gitea admin regenerate keys" or "gitea doctor --run authorized-keys --fix"`)
}
}
logger.Warn("authorized_keys is out of date. Attempting rewrite...")
logger.Warn("authorized_keys is out of date. Attempting rewrite...")