vscode-gpg icon indicating copy to clipboard operation
vscode-gpg copied to clipboard

Multiple recipients

Open rakstar opened this issue 7 years ago • 4 comments

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!

rakstar avatar Apr 13 '18 01:04 rakstar

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 avatar May 10 '18 12:05 jvalecillos

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.

jvalecillos avatar Jul 21 '18 21:07 jvalecillos

Any progress on this?

cschlesselmann avatar Aug 08 '19 11:08 cschlesselmann

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.

dpsenner avatar Jan 14 '22 07:01 dpsenner