How to debug with networking on #11742
-
Hello everyone, I'm currently modifying KeePassXC on my Linux machine and debugging using CLion. My changes focus on enhancing the HIBP functionality—I’m adding support for using an API key to check for compromised email accounts (in addition to the existing k‑anonymity check for passwords) and implementing a timer to throttle email validation requests (due to the API’s limit of roughly one request every 6 seconds). However, while debugging in CLion, I’m running into an issue where network functionality isn’t available, which is critical for my modifications to work. It seems that during debugging the network support might not be enabled (perhaps the WITH_XC_NETWORKING flag isn’t being set in my configuration). Has anyone encountered this issue before? Any advice on how to ensure that network calls work when debugging with CLion on Linux would be greatly appreciated. Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Did you pass WITH_XC_ALL=ON to cmake? FWIW we decided to not merge the api driven version of HIBP and likely won't accept code changes that do so. Depends on the quality and protections provided. |
Beta Was this translation helpful? Give feedback.
Did you pass WITH_XC_ALL=ON to cmake? FWIW we decided to not merge the api driven version of HIBP and likely won't accept code changes that do so. Depends on the quality and protections provided.