jvalecillos / vscode-gpg

VSCode GPG Extension
https://marketplace.visualstudio.com/items?itemName=jvalecillos.gpg
MIT License
19 stars 3 forks source link

Multiple recipients #1

Open rakstar opened 6 years ago

rakstar commented 6 years ago

Is there a way to select multiple recipients when encrypting? If not, any chance this could be added to a future release?

Thanks for an awesome extension!

jvalecillos commented 6 years ago

Hello @rakstar, thanks for you feedback. Although obscure, it is certainly possible by GnuPG tool to encrypt a file using more than one recipient.

The question is how that could be presented in the editor, the extension uses vscode.window.showQuickPick from VS Code API and it only supports selecting a single option. More information about what API binding for a possible multiple selection dialog can be used.

jvalecillos commented 6 years ago

Apparently since version 1.22.0 of vscode (Microsoft/vscode@90bb79d) it is possible to use an option named canPickMany but it did not appeared in the website documentation until recently :man_facepalming:. I just noticed it existed by seeing the feature in action Microsoft/vscode-go@70f6555.

My plan is to implement the new feature but it will require to increase the minimum version required for the extension. Keep watching for updates.

cschlesselmann commented 5 years ago

Any progress on this?

dpsenner commented 2 years ago

I want to second this request. While I do like the ability to encrypt with a command, I'm unable to use this addon because I practically always have to encrypt for multiple recipients.