No description
Find a file
Gusted 5a871f6095
[SEC] Ensure propagation of API scopes for Conan and Container authentication
- The Conan and Container packages use a different type of
authentication. It first authenticates via the regular way (api tokens
or user:password, handled via `auth.Basic`) and then generates a JWT
token that is used by the package software (such as Docker) to do the
action they wanted to do. This JWT token didn't properly propagate the
API scopes that the token was generated for, and thus could lead to a
'scope escalation' within the Conan and Container packages, read
access to write access.
- Store the API scope in the JWT token, so it can be propagated on
subsequent calls that uses that JWT token.
- Integration test added.
- Resolves #5128
2024-08-28 10:33:32 +02:00
.devcontainer Update golang packages 2024-08-21 09:58:16 +00:00
.forgejo Merge pull request 'Update links affected by the renaming of 'developer' documentation sub-path into 'contributor'' (#5129) from floss4good/forgejo__forgejo:contrib-doc into forgejo 2024-08-26 18:50:40 +00:00
assets Merge pull request '[CHORE] Move to new sessioner library' (#5090) from gusted/forgejo-sessioner-fork into forgejo 2024-08-26 07:31:56 +00:00
build Forgejo v9.0 is GPLv3+ 2024-08-22 09:09:29 +02:00
cmd [CHORE] Move to new sessioner library 2024-08-25 03:47:08 +02:00
contrib Update module github.com/google/go-github/v63 to v64 2024-08-24 16:05:36 +00:00
custom/conf Merge pull request 'git-grep: set timeout to 2s by default and allow configuring it' (#4966) from yoctozepto/git-grep-timeout into forgejo 2024-08-15 12:15:16 +00:00
docker
models Merge pull request '[gitea] week 2024-35 cherry pick (gitea/main -> forgejo)' (#5109) from algernon/wcp/2024-35 into forgejo 2024-08-27 06:09:19 +00:00
modules Merge pull request '[gitea] week 2024-35 cherry pick (gitea/main -> forgejo)' (#5109) from algernon/wcp/2024-35 into forgejo 2024-08-27 06:09:19 +00:00
options i18n(en): remove 15 unused strings 2024-08-27 10:31:35 +05:00
public Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
release-notes [SEC] Ensure propagation of API scopes for Conan and Container authentication 2024-08-28 10:33:32 +02:00
releases/images
routers [SEC] Ensure propagation of API scopes for Conan and Container authentication 2024-08-28 10:33:32 +02:00
services [SEC] Ensure propagation of API scopes for Conan and Container authentication 2024-08-28 10:33:32 +02:00
templates Merge pull request '[gitea] week 2024-35 cherry pick (gitea/main -> forgejo)' (#5109) from algernon/wcp/2024-35 into forgejo 2024-08-27 06:09:19 +00:00
tests [SEC] Ensure propagation of API scopes for Conan and Container authentication 2024-08-28 10:33:32 +02:00
tools Adjust codespell config + make it fix few typos which sneaked in since addition of codespell support (#4857) 2024-08-08 16:07:35 +00:00
web_src Merge pull request '[PORT] Enable no-jquery/no-class-state (gitea#31639) & Remove eslint-plugin-jquery (gitea#31402)' (#5107) from gusted/forgejo-port-gt-31402 into forgejo 2024-08-26 00:01:43 +00:00
.air.toml
.deadcode-out [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
.dockerignore
.editorconfig
.envrc
.eslintrc.yaml [PORT] Enable no-jquery/no-class-state (gitea#31639) 2024-08-25 02:57:50 +02:00
.gitattributes
.gitignore
.gitmodules
.gitpod.yml
.golangci.yml style: reenable switch check 2024-08-18 15:19:01 +02:00
.ignore
.mailmap Add .mailmap with aliases for Unknwon (github.com/Unknwon) 2024-08-14 08:26:16 -04:00
.markdownlint.yaml
.npmrc
.release-notes-assistant.yaml
.spectral.yaml
.yamllint.yaml
BSDmakefile
build.go
CODEOWNERS chore(CODEOWNERS): @earl-warren watches over all PRs 2024-08-20 08:24:48 +02:00
CONTRIBUTING.md docs: replace Developer Guide link with the new Contributor Guide one. 2024-08-26 13:22:39 +03:00
DCO
Dockerfile Forgejo v9.0 is GPLv3+ 2024-08-22 09:09:29 +02:00
Dockerfile.rootless Forgejo v9.0 is GPLv3+ 2024-08-22 09:09:29 +02:00
flake.lock
flake.nix
go.mod Merge pull request '[CHORE] Move to new sessioner library' (#5090) from gusted/forgejo-sessioner-fork into forgejo 2024-08-26 07:31:56 +00:00
go.sum Merge pull request '[CHORE] Move to new sessioner library' (#5090) from gusted/forgejo-sessioner-fork into forgejo 2024-08-26 07:31:56 +00:00
LICENSE Forgejo v9.0 is GPLv3+ 2024-08-22 09:09:29 +02:00
main.go
Makefile Update renovate to v38.52.3 2024-08-26 04:05:34 +00:00
package-lock.json [PORT] Remove eslint-plugin-jquery (gitea#31402) 2024-08-25 00:48:47 +02:00
package.json [PORT] Remove eslint-plugin-jquery (gitea#31402) 2024-08-25 00:48:47 +02:00
playwright.config.js
poetry.lock Lock file maintenance 2024-08-12 02:06:15 +00:00
poetry.toml
pyproject.toml Adjust codespell config + make it fix few typos which sneaked in since addition of codespell support (#4857) 2024-08-08 16:07:35 +00:00
README.md Forgejo v9.0 is GPLv3+ 2024-08-22 09:09:29 +02:00
release-notes-assistant.sh fix(release-notes-assistant): categorize multiline drafts & cleanup 2024-08-01 20:56:34 +02:00
RELEASE-NOTES.md docs: add links to the v7.0.7 & v8.0.1 release notes 2024-08-09 07:26:50 +02:00
renovate.json chore(renovate): use shared preset 2024-08-23 11:17:36 +02:00
stylelint.config.js
tailwind.config.js fix: Do not scan all Go files for tailwind classes 2024-08-24 15:45:50 +02:00
vitest.config.js
webpack.config.js [CHORE] Remove elkjs hack 2024-08-24 22:13:32 +02:00

Welcome to Forgejo

Hi there! Tired of big platforms playing monopoly? Providing Git hosting for your project, friends, company or community? Forgejo (/for'd͡ʒe.jo/ inspired by forĝejo the Esperanto word for forge) has you covered with its intuitive interface, light and easy hosting and a lot of builtin functionality.

Forgejo was created in 2022 because we think that the project should be owned by an independent community. If you second that, then Forgejo is for you! Our promise: Independent Free/Libre Software forever!

What does Forgejo offer?

If you like any of the following, Forgejo is literally meant for you:

  • Lightweight: Forgejo can easily be hosted on nearly every machine. Running on a Raspberry? Small cloud instance? No problem!
  • Project management: Besides Git hosting, Forgejo offers issues, pull requests, wikis, kanban boards and much more to coordinate with your team.
  • Publishing: Have something to share? Use releases to host your software for download, or use the package registry to publish it for docker, npm and many other package managers.
  • Customizable: Want to change your look? Change some settings? There are many config switches to make Forgejo work exactly like you want.
  • Powerful: Organizations & team permissions, CI integration, Code Search, LDAP, OAuth and much more. If you have advanced needs, Forgejo has you covered.
  • Privacy: From update checker to default settings: Forgejo is built to be privacy first for you and your crew.
  • Federation: (WIP) We are actively working to connect software forges with each other through ActivityPub, and create a collaborative network of personal instances.

Learn more

Dive into the documentation, subscribe to releases and blog post on our website, find us on the Fediverse or hop into our Matrix room if you have any questions or want to get involved.

License

Forgejo is distributed under the terms of the GPL version 3.0 or any later version.

The agreement for this license was documented in June 2023 and implemented during the development of Forgejo v9.0. All Forgejo versions before v9.0 are distributed under the MIT license.

Get involved

If you are interested in making Forgejo better, either by reporting a bug or by changing the governance, please take a look at the contribution guide.