We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0bea1b commit f336d97Copy full SHA for f336d97
src/model/SshKey.ts
@@ -103,7 +103,7 @@ export class SshKey extends Ressource {
103
return false;
104
}
105
const match = value.split(" ", 3);
106
- const [type] = match;
+
107
let key;
108
109
try {
@@ -112,7 +112,7 @@ export class SshKey extends Ressource {
112
113
114
115
- if (!["ssh-rsa", "ssh-ed25519", "ssh-ecdsa"].includes(type) || !key) {
+ if (!key) {
116
117
118
return true;
0 commit comments