Skip to content

Commit 70db522

Browse files
committed
feat: add ssh encryption command
1 parent b5be4f5 commit 70db522

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/commands/generate/ssh/decrypt.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ export default class extends Command {
1010
"options": {
1111
"input-encoding": {
1212
"description": "Input encoding.",
13-
"schema": { "enum": [ "base", "base64url", "hex" ] },
13+
"schema": { "enum": [ "base64", "base64url", "hex" ] },
1414
},
1515
"output-encoding": {
1616
"description": "Output encoding.",
17-
"schema": { "enum": [ "base", "base64url", "hex" ] },
17+
"schema": { "enum": [ "base64", "base64url", "hex" ] },
1818
},
1919
},
2020
"arguments": {

lib/commands/generate/ssh/encrypt.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { pipeline } from "#code/stream";
21
import { encryptSsh } from "#core/crypto";
2+
import { pipeline } from "#core/stream";
33
import Command from "#lib/command";
44

55
export default class extends Command {
@@ -10,11 +10,11 @@ export default class extends Command {
1010
"options": {
1111
"input-encoding": {
1212
"description": "Input encoding.",
13-
"schema": { "enum": [ "base", "base64url", "hex" ] },
13+
"schema": { "enum": [ "base64", "base64url", "hex" ] },
1414
},
1515
"output-encoding": {
1616
"description": "Output encoding.",
17-
"schema": { "enum": [ "base", "base64url", "hex" ] },
17+
"schema": { "enum": [ "base64", "base64url", "hex" ] },
1818
},
1919
},
2020
"arguments": {

0 commit comments

Comments
 (0)