Coder Social home page Coder Social logo

hyperadev / kani Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 1.0 132 KB

A fast Traefik forward-auth server for validating Cloudflare Access requests

License: MIT License

Go 82.10% Dockerfile 17.90%
cloudflare-access docker hacktoberfest jwt k8s kubernetes traefik traefik-forward-auth

kani's People

Contributors

dependabot[bot] avatar joshuasing avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

alarasen

kani's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
.goreleaser.Dockerfile
  • docker/dockerfile 1
  • alpine 3.19.1@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
Dockerfile
  • docker/dockerfile 1
  • golang 1.22.2-alpine@sha256:cdc86d9f363e8786845bea2040312b4efa321b828acdeb26f393faa864d887b0
github-actions
.github/workflows/build.yml
  • HyperaDev/actions main
.github/workflows/release.yml
  • HyperaDev/actions main
gomod
go.mod
  • go 1.19
  • github.com/coreos/go-oidc/v3 v3.9.0

  • Check this box to trigger a request for Renovate to run again on this repository

Certificate signed by unknown authority

When using Kani v1.1.0, Kani unexpectedly returns Unauthorized for all requests.
This is because of the error: failed to verify signature: fetching keys oidc: get keys failed Get "https://[team].cloudflareaccess.com/cdn-cgi/access/certs": x509: certificate signed by unknown authority

This error is caused by the use of the 'scratch' base image, which does not have /etc/ssl/certs/ca-certificates.crt which Go uses when making http requests.

Remove dependence on gofiber

As we only use one HTTP route, we don't need to use a library like gofiber.
Instead, we can directly use net/http or fasthttp.

kani v2.0.0

This is a to-do list for kani v2.0.0.
Development on kani v2.0.0 will be conducted on the v2 branch until we are ready to release it.

kani v2.0.0:

  • hypera.dev/kani/v2
  • Rewrite following best practices
  • Better logging
  • Config
  • TLS configuration
  • Configurable HTTP responses
  • Prometheus support
  • Retrieve user identity information from Cloudflare (configurable)
  • Testing
  • Godoc
  • Installation and usage documentation

If you have any ideas you would like to suggest, feel free to below!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.