Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/adding jwt token validation #178

Closed

Conversation

eknowlton
Copy link

  • Added JWT Token Authentication

  • JWT Auth disabled by default

  • Added Jwt section to config

    • Including JWT Secret for token validation
  • I at some point put the usage statistics per sub from the JWT token inside redis, with the number of API calls but that didn't seem like the right place. I can push that or do something else if you have a idea of where it would be more useful.

eknowlton and others added 30 commits September 22, 2023 14:22
- IsDaylightSavings
- IsProxy
- IsTOR
- IsCrawler
- CrawlerName
- CrawlerType
- ThreatLevel
- ThreatTypes
- [x] Pipeline to update binary on server when changes are pushed
- [x] Added config option for Cache TTL in Seconds in `/etc/echoip/config.toml
- [x] Updated Readme for Cache Options
- [x] Added `Null` cache for optional no use of cache

- [x] Adding Redis Cache
- [x] Moving configuration to file config
- [x] Automatic Release for amd64 linux
- [x] Adding automatic deployment

- Added `LICENSE` file to the release file
I didn't want to kep the API Key in a file because it could be exposed
so I thought a environment variable would be good. Might of got carried
away and didn't need to put all config options in environment variables.

commit ba35fa7
Author: Ethan Knowlton <ethan@dubtown.dev>
Date:   Sat Oct 7 22:35:31 2023 -0400

    removed debug statement

commit 3808cc2
Author: Ethan Knowlton <ethan@dubtown.dev>
Date:   Sat Oct 7 22:32:27 2023 -0400

    Could Cause Problems

    Shouldn't need to run make as super user, but usually
    you would run `make install`. I could add this to the install step
    and remove the install from all step but it could mess up publishing
    to ip.level.io.

    Just going to remove it for now.

commit aa0cb39
Author: Ethan Knowlton <ethan@dubtown.dev>
Date:   Sat Oct 7 20:05:14 2023 -0400

    adding env variables to readme
@eknowlton eknowlton closed this Oct 10, 2023
@eknowlton eknowlton deleted the feature/adding-jwt-token-validation branch October 10, 2023 20:36
@eknowlton eknowlton restored the feature/adding-jwt-token-validation branch October 10, 2023 20:37
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.

2 participants