carnager/rofi-pass

Roadmap and Co-Maintainership

Opened this issue ยท 2 comments

Hi @carnager ๐Ÿ‘‹๐Ÿป ,

There seem to be a lot of open issues and PRs that haven't been attended to for a long a time. Is this project still maintained?

Would you be interested in adding a co-maintainer?

Regards!

Yes, I agree, this needs some manpower that looks through PRs and Issues. So yeah, I am open for this. @moviuro has also been very active with supporting the project.

There are a few things I would like to see for rofi-pass:

  • something to make parsing the password entries more reliable. (minimal yaml parser?)
  • maybe change the way autotype works. Right now it's a huge line which has to be manually parsed. While this is easy to type, it's quite messy to parse. Possible solution could be yaml lists. Changing to something like toml is (sadly) not an option, since this would break compatibility with other similar tools that adopted rofi-pass syntax. autotype itself is only used in rofi-pass tho, so changing this wouldn't matter much, as long as we stick to yaml syntax.
  • Simplify code and UI. Hotkeys are nice to have, but are not portable across similar tools like fzf, fuzzel, etc. Rofi is the best of its kind, but using it in wayland is a bit messy and users might want to use their own stdin/stdout tool as a UI frontend. The obvious solution would be to get rid of hotkeys and use submenus instead. While this might feel more cumbersome at first, it's an opportunity to clean this thing up and get rid of overkill functions. The added freedom to use whatever tool you want is worh it, I think. (e.g. use it in a terminal)
  • fix that mess of a config file, which is basically it's own bash script. It's ugly and functions simply don't belong into a config file. Also rofi-pass uses source to include it, which is dangerous and a total no-go. There are solutions like toml and tomlq, which could be used, but are much heavier. In the end one has to be honest here: There is no nice solution for a config file in bash scripts. Which brings me to my last bulletpoint:
  • Controversial, but maybe nice to have: Rewrite in a proper language. There is a lot of string parsing done in rofi-pass and many of the issues reported are about problems resulting from this. A proper language and a proper yaml parser would solve all these issues.