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

feature request: add an "--err-dir" option (reserve "--out-dir" for successful transmissions) #126

Open
ghost opened this issue Mar 5, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 5, 2019

When there is an error (e.g. UID has no email address or the mail server fails to deliver), pius still stores the signed key attachment in --out-dir along with successfully sent signatures. So after many keys are signed there's no separation distinguishing deliveries and non-deliveries. Motivated diligent users need to know which signatures to send by some other means (alternate recipient address, alternate sending server, or push to key server).

There is no logging option to help with this. I suppose one could run script -c 'pius -A --out-dir=$out_dir' pius.log, and then examine that for errors when the session is over. But users have to think of that in advance - and even if they do, it's still a burden to search for the failures and find the corresponding signature file.

@ghost
Copy link
Author

ghost commented Apr 6, 2019

It looks like my script hack fails. When I run this way:

script -c "pius -A --out-dir=$out_dir" >(dos2unix >> pius.log)

it should append the whole session output to pius.log, but it only writes the output of the first key signed. That may be a bug in script but it effectively increases the need for pius to do some logging.

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

No branches or pull requests

0 participants