aboutsummaryrefslogtreecommitdiffstats
path: root/pinentry-rofi.sh
Commit message (Collapse)AuthorAgeFilesLines
* Make debugging output opt-inHEADmasterMichal Koutný2024-07-211-1/+1
| | | | | | | Despite the file is user-only readable, generate the output only when debugging the tool (DEBUG=1 in environment) to prevent forgotten PIN inside log files to be leaked. Also slight attempt to support multi-user systems (not tested).
* When gpg-agent is run as a systemd user service (not in the session).Michal Koutný2024-01-291-1/+3
| | | | Also, PIN of the keyring should not be visible to other users on the system.
* Don't exec, but run alternative pinentry.Matěj Cepl2023-11-231-1/+1
| | | | Fixes: https://todo.sr.ht/~mcepl/devel/20
* Hide options list, which is not used in the pinentry application.Matěj Cepl2023-09-011-1/+1
| | | | | | https://www.reddit.com/r/qtools/comments/16772du/how_to_hide_the_list/ Thank you /u/atomicbbblast for advice.
* feat: make pinentry work both with and without GUI.Matěj Cepl2023-08-111-3/+7
|
* docs: some more resources on the pinentry programming.Matěj Cepl2023-08-111-2/+5
|
* fix: fix the logic of encoding/decoding of the strings.Matěj Cepl2023-08-111-4/+8
| | | | | It must be first decoded to the plain UTF-8 string, and only then bastard-encoded for the Assuan protocol.
* test: remove $INSIDE_BATS home-made protection and use the proper way.Matěj Cepl2023-08-111-127/+126
| | | | | If in the end of the script differentiates between the script being sourced and run.
* fix: just do very light decoding of the SETDESC strings.Matěj Cepl2023-08-111-3/+8
| | | | | | So, after getting complete and tested implementation of URLencode/decode, I have found that Assuan doesn’t read that. No encoding aside from very simple ones are deciphered.
* fix: add tested new implementation of URL encode/decode.Matěj Cepl2023-08-111-17/+35
|
* test: the same fix I did in the tests.Matěj Cepl2023-08-111-5/+5
|
* fix: decode RFC-3986 encoded strings in SETDESCMatěj Cepl2023-08-111-7/+25
|
* test: first attempt to test.Matěj Cepl2023-08-111-1/+10
| | | | General mechanism works, but the first tested function breaks.
* fix: refactor splitting line into a function.Matěj Cepl2023-08-111-39/+23
|
* chore: add LICENSE.Matěj Cepl2023-08-111-4/+11
|
* fix: remove Pythonism (os.getpid -> $$).Matěj Cepl2023-08-111-1/+1
|
* fix: fix removing element from a Bash array (it needs to be reinitialized).Matěj Cepl2023-08-111-8/+8
| | | | | Also, the output of `systemctl --user show-environment` contains new lines, not only spaces.
* fix: just add more documentation and more working commands.Matěj Cepl2023-08-111-3/+42
|
* chore: conversion of the Python script to bash.Matěj Cepl2023-08-111-0/+150
It is syntactically correct, and that's probably everything good I can say about it.