Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented May 25, 2025

  • Create a utility function to get the hashers setting that prioritizes API_KEY_HASHERS over PASSWORD_HASHERS
  • Modify generate_key() to use the new utility function for hashing
  • Modify check_apikey() to use the new utility function for password verification
  • Add tests to ensure the new functionality works correctly
  • Update README to document the new API_KEY_HASHERS setting
  • Verify backward compatibility is maintained

Fixes #39.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Copy link

codecov bot commented May 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.73%. Comparing base (5742b9a) to head (b96af12).
Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #47   +/-   ##
=======================================
  Coverage   94.73%   94.73%           
=======================================
  Files          11       11           
  Lines         266      266           
=======================================
  Hits          252      252           
  Misses         14       14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Successfully merging this pull request may close these issues.

Support for specific hasher for API Keys (API_KEY_HASHERS)

2 participants