Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign/encrypt files #28

Open
orhun opened this issue Jul 17, 2021 · 2 comments
Open

Sign/encrypt files #28

orhun opened this issue Jul 17, 2021 · 2 comments
Assignees
Labels
feature New feature or request

Comments

@orhun
Copy link
Owner

orhun commented Jul 17, 2021

Is your feature request related to a problem? Please describe.

[...] I thought that there was an option to enter a file or directory within the TUI to have it encrypted. So I do think that that would be kind of neat, if somehow TUI file-managers or some option to browse files within a directory or to pass a path to the program (within the TUI) and have the option to encrypt or sign the file/directory that is entered.

[...] I think there could be some sort of configuration that would allow the user to provide a file manager that would only be used in selecting files to encrypt through gpg-tui. Incorporating fzf or something like it is also another option. Just any way to select files an encrypt them.

Describe the solution you'd like

Maybe instead of just giving the filename/path to sign/encrypt to gpg-tui, I can make this happen via options menu and use the selected key for this operation. For example, selecting an entry in the options menu like sign a file using this key will launch xplr for file selection (or any other file browsing utility, preferably specified with #5) and afterwards sign the selected file. An application command for this scenario will be present so it will be also possible to do this with the default key, without launching a file manager.

Additional context

See #27 (comment)

@orhun orhun added the feature New feature or request label Jul 17, 2021
@orhun orhun self-assigned this Jul 17, 2021
@sayanarijit
Copy link

Also, I'd like to sign texts on the fly (pasting from clipboard or writing in a temp file) to be able to authenticate with my website using indieauth.

@sayanarijit
Copy link

The command to run is: echo -en 'challenge-text' | gpg --clearsign --armor -u 0x0F8EF5258DC38077

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants