Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix that the underline/underscore handle newlines | Fredrik Salomonsson | 2020-05-08 | 1 | -3/+3 | |
| | ||||||
* | export the public functions | Fredrik Salomonsson | 2020-05-08 | 1 | -1/+42 | |
| | ||||||
* | Remove pinentry prefix for some utility functions | Fredrik Salomonsson | 2020-05-08 | 1 | -6/+6 | |
| | ||||||
* | Made pinentry-rofi a module | Fredrik Salomonsson | 2020-05-08 | 1 | -8/+9 | |
| | ||||||
* | Fix copyright | Fredrik Salomonsson | 2020-05-08 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'message_6' (#6) | Fredrik Salomonsson | 2020-05-04 | 1 | -2/+23 | |
|\ | ||||||
| * | Added support for MESSAGE and CONFIRM --one-button (#6) | Fredrik Salomonsson | 2020-05-04 | 1 | -2/+23 | |
| | | | | | | | | | | More digging in the protocol, it can also use CONFIRM with one button aka MESSAGE, to show message to the user. | |||||
* | | Merge branch 'better_default_7' (#7) | Fredrik Salomonsson | 2020-05-04 | 1 | -10/+31 | |
|\ \ | ||||||
| * | | Added support for default-ok, default-cancel and default-prompt (#7) | Fredrik Salomonsson | 2020-05-04 | 1 | -2/+26 | |
| | | | | | | | | | | | | | | | They now set the `ok-button`, `cancel-button` and `prompt` on the pinentry struct. Rest of the options are still ignored. | |||||
| * | | Better handling of the default ok and cancel labels (#7) | Fredrik Salomonsson | 2020-05-04 | 1 | -8/+5 | |
| |/ | | | | | | | | | | | The default ok and cancel are now default values for pinentry's `ok-button` and `cancel-button`. Which simplifies the `CONFIRM` pop up a bit. | |||||
* | | Refactored the functions that set button labels or messages (#5) | Fredrik Salomonsson | 2020-05-04 | 1 | -17/+39 | |
| | | | | | | | | | | | | Reduced the amount of duplicate code, i.e setting pinentry-ok and use of `input-string` and `pango-markup`. By creating three wrapper functions. | |||||
* | | Added support for underline (#5) | Fredrik Salomonsson | 2020-05-04 | 1 | -1/+27 | |
|/ | | | | | | | | | | Reading some more in the pinentry protocol [1], underscore followed by a character means underline that character. To escape that two underscore is used. Added that behavior in the messages. The input to dmenu i.e the buttons, does not support pango markup so just removing the underscore. [1] http://info2html.sourceforge.net/cgi-bin/info2html-demo/info2html?(pinentry)Protocol | |||||
* | Fixed typo in the error code | Fredrik Salomonsson | 2020-05-04 | 1 | -1/+1 | |
| | ||||||
* | Missing punctuation on docstring | Fredrik Salomonsson | 2020-05-04 | 1 | -1/+1 | |
| | ||||||
* | Replace %0A with instead of \\\\n (#4) | Fredrik Salomonsson | 2020-05-04 | 1 | -2/+2 | |
| | | | | | | This should fix the newline issue. Thanks to @n0emis for pointing this out. | |||||
* | Properly handle newlines in input strings (#4) | Fredrik Salomonsson | 2020-05-03 | 1 | -18/+26 | |
| | ||||||
* | Using ">:" for the prompt of confirm popup (#4) | Fredrik Salomonsson | 2020-05-03 | 1 | -1/+1 | |
| | | | | | Instead of `pinentry-prompt` as that is only set when it ask for the pin. | |||||
* | Experimental confirm dialog in rofi (#4) | Fredrik Salomonsson | 2020-05-01 | 1 | -4/+78 | |
| | | | | Pop up a rofi dialog when command CONFIRM given. | |||||
* | Renamed --debug to --log (#4) | Fredrik Salomonsson | 2020-05-01 | 1 | -3/+3 | |
| | | | | | Most pinentry tools have an `--debug` option which takes no arguments. So should probably reserve the same for pinentry-rofi. | |||||
* | Return ERR instead of exiting when encounter an unknown command (#4) | Fredrik Salomonsson | 2020-05-01 | 1 | -2/+3 | |
| | | | | | | | This might help with the high cpu load as gpg seems to be respawning `pinentry-rofi` if it exists when encounter an unknown command. Instead it prints ERR 69 <msg>, which is the gpg error code for not implemented. | |||||
* | Added option --debug <logfile> (#4) | Fredrik Salomonsson | 2020-05-01 | 1 | -3/+14 | |
| | | | | Will log unknown commands to <logfile>.PID | |||||
* | Resetting pinentry-ok when a command succeeds | Fredrik Salomonsson | 2020-05-01 | 1 | -9/+18 | |
| | ||||||
* | Fixed bug with not reaching BYE | Fredrik Salomonsson | 2020-05-01 | 1 | -2/+2 | |
| | | | | | Was not returning the regex-match object correctly for `pinentry-seterror' so it was never calling `pinentry-bye'. | |||||
* | Updated readme with http cloning | Fredrik Salomonsson | 2020-04-21 | 1 | -2/+2 | |
| | ||||||
* | Added support to ask password again if it's wrong (#3)0.5.0 | Fredrik Salomonsson | 2020-04-21 | 1 | -3/+18 | |
| | | | | | SETERROR was missing so it was just bailing out when it saw that command. | |||||
* | Disable the auto compile, which should fix an issue with ubuntu0.4.0 | Fredrik Salomonsson | 2019-06-06 | 2 | -9/+5 | |
| | | | | | | | This is a tiny script and it is about as fast without compiling it. And the compile step in the makefile was causing some issues with ubuntu distros as they seems to not have guile support enabled for make. | |||||
* | Wrapped script in a main procedure | Fredrik Salomonsson | 2019-06-06 | 1 | -26/+28 | |
| | | | | To be able to run it from the REPL | |||||
* | Forgot to bump up the version in the source file0.3.0 | Fredrik Salomonsson | 2018-11-10 | 1 | -1/+1 | |
| | ||||||
* | Removed note about it not working | Fredrik Salomonsson | 2018-11-10 | 1 | -3/+1 | |
| | ||||||
* | Updated makefile with the rename | Fredrik Salomonsson | 2018-11-10 | 1 | -5/+3 | |
| | ||||||
* | Renamed rofi-pinentry to pinentry-rofi.scm | Fredrik Salomonsson | 2018-11-10 | 1 | -0/+0 | |
| | ||||||
* | Removed dependency on systemd, added cli opt for what's needed. | Fredrik Salomonsson | 2018-11-10 | 1 | -24/+62 | |
| | | | | | | Only need to specify what display to draw to. Don't need systemd to fetch that. Instead if user want to change display I added a commandline option --display to change that. | |||||
* | Fixed mesg, added envvars and error if abort the pinentry | Fredrik Salomonsson | 2018-11-06 | 1 | -8/+20 | |
| | | | | Still having issues with newlines gets printed verbatim. | |||||
* | Fixed that it returns OK after each command | Fredrik Salomonsson | 2018-11-06 | 1 | -4/+4 | |
| | | | | Which was why it didn't work. | |||||
* | Added note about it not working as a pinentry | Fredrik Salomonsson | 2018-11-04 | 1 | -0/+2 | |
| | ||||||
* | Forcing the output0.2.0 | Fredrik Salomonsson | 2018-11-04 | 1 | -4/+12 | |
| | ||||||
* | Moved the comment about where this is based on to the README | Fredrik Salomonsson | 2018-11-04 | 1 | -2/+0 | |
| | ||||||
* | Added that you can override GUILE_SITE_CCACHE | Fredrik Salomonsson | 2018-11-04 | 1 | -1/+1 | |
| | ||||||
* | Added README | Fredrik Salomonsson | 2018-11-04 | 1 | -0/+33 | |
| | ||||||
* | Added same license as I based this code on. | Fredrik Salomonsson | 2018-11-04 | 1 | -1/+21 | |
| | ||||||
* | Simple makefile to install0.1.0 | Fredrik Salomonsson | 2018-11-04 | 1 | -0/+14 | |
| | ||||||
* | Fixed error handling for getpin | Fredrik Salomonsson | 2018-11-04 | 1 | -12/+19 | |
| | ||||||
* | Got the rough outline working | Fredrik Salomonsson | 2018-11-04 | 1 | -49/+97 | |
| | | | | | I.e all the option works similar to what pinentry-rofi does. Just need to add some error handling. | |||||
* | Playing around with the format for rofi | Fredrik Salomonsson | 2018-11-03 | 1 | -4/+6 | |
| | ||||||
* | Got the dialog running | Fredrik Salomonsson | 2018-11-03 | 1 | -0/+74 | |