fedarovich / qbittorrent-cli

Command line interface for QBittorrent
MIT License
291 stars 16 forks source link

Segfault on setting password or using app when password is set #63

Closed alpha-tango-kilo closed 2 years ago

alpha-tango-kilo commented 2 years ago

qbt settings set password -y segfaults after you press enter to submit the password

If you manually set the password in settings.json the program segfaults if it does anything that requires authentication

qbt --version reports v1.0.0

However given I'm using qbt within linuxserver/docker-qbittorrent I think the version I'm using is a lot more recent, v1.7 by the looks of it? The docker image pulls in this

I'm aware of the security implications but would still like to be able to do this even if the password is stored in plaintext. Alternatively, environment variables for login credentials would be a handy alternative

fedarovich commented 2 years ago

I've pushed a fix for the issue and will update the release this weekend.

As I started to provide an Alpine release only last week, I guess linuxserver/docker-qbittorrent build it themselves from the latest source but do not set the version while building, so it defaults to v1.0.0.

alpha-tango-kilo commented 2 years ago

Awesome thank you for fixing that so quickly!