the-bastion/bin/plugin/open/selfGenerateEgressKey.json
Stéphane Lesimple fde20136ef
Initial commit
2020-10-20 14:30:27 +00:00

12 lines
593 B
JSON

{
"interactive": [
"selfGenerateEgressKey" , {"ac" : ["--algo"]},
"selfGenerateEgressKey --algo" , {"ac" : ["rsa", "ecdsa", "ed25519"]},
"selfGenerateEgressKey --algo \\S+" , {"ac" : ["--size"]},
"selfGenerateEgressKey --algo \\S+ --size" , {"pr" : ["<SIZE>"]},
"selfGenerateEgressKey --algo \\S+ --size \\d+" , {"ac" : ["<enter>", "--encrypted"]},
"selfGenerateEgressKey --algo \\S+ --size \\d+ --encrypted" , {"pr" : ["<enter>"]}
],
"master_only": true,
"terminal_mode": "raw"
}