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

Expansion of ~ to home directory in eval_password does not work #1364

Closed
huhndev opened this issue Jun 15, 2020 · 1 comment
Closed

Expansion of ~ to home directory in eval_password does not work #1364

huhndev opened this issue Jun 15, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@huhndev
Copy link

huhndev commented Jun 15, 2020

Since Profanity 0.9, a path included in eval_password can no longer contain a ~, but must be specified completely.

Expected Behavior

Using eval_password=gpg2 --batch -q --decrypt ~/path/to/password should work.

Current Behavior

Throws an error:
Error evaluating password, see logs for details.
and in the log:
15/06/2020 14:00:00: prof: ERR: Calling 'gpg2 --batch -q --decrypt ~/path/to/password' failed: Child process exited with code 2.

Workaround

Specify the full path, e.g.:
eval_password=gpg2 --batch -q --decrypt /home/user/path/to/password

Environment

  • Output of profanity -v:
version 0.9.2dev..
[...]
Build information:
XMPP library: libmesode
Desktop notification support: Disabled
OTR support: Enabled (libotr 4.1.1)
PGP support: Enabled (libgpgme 1.13.1)
OMEMO support: Enabled
C plugins: Enabled
Python plugins: Disabled
GTK icons: Enabled
  • Operating System/Distribution: OpenBSD 6.7
  • Version of glib: glib2-2.62.6
@jubalh jubalh added the bug label Jun 15, 2020
@jubalh
Copy link
Member

jubalh commented Jun 15, 2020

Probably due to d92c576

@jubalh jubalh added this to the 0.9.3 milestone Jun 19, 2020
@jubalh jubalh closed this as completed in 448f7f0 Jun 19, 2020
@jubalh jubalh self-assigned this Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants