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

nick_password_command server configuration not working #673

Open
theRAAPster opened this issue Dec 12, 2024 · 0 comments
Open

nick_password_command server configuration not working #673

theRAAPster opened this issue Dec 12, 2024 · 0 comments

Comments

@theRAAPster
Copy link
Contributor

I'm trying to use the nick_password_command server configuration, but when joining the server I'm getting password mismatch errors. I'm running Halloy 2014.14 on OS X 15.1.1, using the onepassword CLI to pull a password from my vault. The command seems to work correctly from my own shell, and for testing purposes I've removed all special characters from the password to make sure there wasn't an issue there.

I couldn't really find detailed logging about what Halloy is pulling in with the command, but looking at the code I think I've found an issue. Should lines 124 and 127 be config.nick_password instead of config.password? My apologies if I'm off here since I'm not a developer, but it didn't look right compared to the previous if statements in that function.

halloy/data/src/server.rs

Lines 123 to 128 in 591b728

if let Some(nick_pass_command) = &config.nick_password_command {
if config.password.is_some() {
return Err(Error::DuplicateNickPassword);
}
config.password = Some(read_from_command(nick_pass_command).await?);
}

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

1 participant