Fahad-Ali-Khan-ca / DPS909_Release_0.1

Simple CLI that uses Chat Completion API to transform files in a meaning full way
MIT License
2 stars 1 forks source link

API key as a class member without security handling: #3

Closed InderParmar closed 4 days ago

InderParmar commented 4 days ago

Storing the API key as a public class member (std::string Api_Key;) is not secure. Sensitive data, like API keys, should be securely handled and not exposed in plain text. I would suggest secure API key storage and handling to prevent exposure

Regards Inderpreet Singh

Fahad-Ali-Khan-ca commented 4 days ago

Hi Inder, thanks for pointing it out I meant to change it but forgot about it.