pgits Claude commited on
Commit
61cf1f7
Β·
1 Parent(s): 5e9c220

SECURITY: Remove sensitive API key logging from startup

Browse files

- Removed debug logging that exposed API keys and secrets
- Previously logged: GROQ_API_KEY, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, SECRET_KEY
- Improved security posture for production deployment
- Bump version to 1.2.10

πŸ€– Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (3) hide show
  1. app.py +1 -7
  2. pyproject.toml +1 -1
  3. version.txt +1 -1
app.py CHANGED
@@ -38,13 +38,7 @@ if __name__ == "__main__":
38
  logger.info(f"πŸ“ Log file: {log_file}")
39
  logger.info(f"πŸ› SSH debugging available via Dev Mode")
40
 
41
- # Additional startup diagnostics
42
- logger.debug("πŸ” Environment check:")
43
- required_vars = ["GROQ_API_KEY", "GOOGLE_CLIENT_ID", "GOOGLE_CLIENT_SECRET", "SECRET_KEY"]
44
- for var in required_vars:
45
- value = os.environ.get(var, "NOT_SET")
46
- masked = value[:10] + "..." if len(value) > 10 and value != "NOT_SET" else value
47
- logger.debug(f" {var}: {masked}")
48
 
49
  try:
50
  # Add startup delay to prevent rapid restart loops
 
38
  logger.info(f"πŸ“ Log file: {log_file}")
39
  logger.info(f"πŸ› SSH debugging available via Dev Mode")
40
 
41
+ # Additional startup diagnostics (removed sensitive key logging for security)
 
 
 
 
 
 
42
 
43
  try:
44
  # Add startup delay to prevent rapid restart loops
pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
  [tool.poetry]
2
  name = "voicecal-ai"
3
- version = "1.2.9"
4
  description = "A friendly interactive AI speechbot for booking Google Calendar appointments"
5
  authors = ["Peter <pgits.job@gmail.com>"]
6
 
 
1
  [tool.poetry]
2
  name = "voicecal-ai"
3
+ version = "1.2.10"
4
  description = "A friendly interactive AI speechbot for booking Google Calendar appointments"
5
  authors = ["Peter <pgits.job@gmail.com>"]
6
 
version.txt CHANGED
@@ -1 +1 @@
1
- 1.2.9
 
1
+ 1.2.10