the-bastion/bin/plugin/open/selfGenerateEgressKey.json

13 lines
593 B
JSON
Raw Normal View History

2020-10-16 00:32:37 +08:00
{
"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"
}