[Dev] [Libretools - Bug #347] (in progress) [librerelease] pinentry-curses breaks terminal

labs at parabola.nu labs at parabola.nu
Thu Oct 10 15:37:17 GMT 2013



Issue #347 has been updated by fauno.

Status changed from fixed to in progress

I've emailed you three patches fixing this issue by signing a file to cache the passphrase, outside the loop
----------------------------------------
Bug #347: [librerelease] pinentry-curses breaks terminal
https://labs.parabola.nu/issues/347

Author: fauno
Status: in progress
Priority: bug
Assignee: 
Category: 
Target version: don't break and confuse parabolers


if you are using gnupg2 with pinentry-curses for password input, when using librerelease without a cached password, terminal output breaks because of the usage of `read` in the find packages | while read { sign }.

usually i solve this by using `for package in $(find packages)`, that doesn't capture user input, but i tried this and it also breaks the output (!).

librerelease should also fail if the sign_packages function doesn't exit succesfully, since it leads to uploading unsigned packages, failed db-update server-side and having to librestage all over again.  i'm pushing a fix for this.



--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://labs.parabola.nu/my/account



More information about the Dev mailing list