You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/docs/content/doc/advanced
zeripath 4979f15c3f
Add configurable Trust Models (#11712)
* Add configurable Trust Models

Gitea's default signature verification model differs from GitHub. GitHub
uses signatures to verify that the committer is who they say they are -
meaning that when GitHub makes a signed commit it must be the committer.
The GitHub model prevents re-publishing of commits after revocation of a
key and prevents re-signing of other people's commits to create a
completely trusted repository signed by one key or a set of trusted
keys.

The default behaviour of Gitea in contrast is to always display the
avatar and information related to a signature. This allows signatures to
be decoupled from the committer. That being said, allowing arbitary
users to present other peoples commits as theirs is not necessarily
desired therefore we have a trust model whereby signatures from
collaborators are marked trusted, signatures matching the commit line
are marked untrusted and signatures that match a user in the db but not
the committer line are marked unmatched.

The problem with this model is that this conflicts with Github therefore
we need to provide an option to allow users to choose the Github model
should they wish to.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Adjust locale strings

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per @6543

Co-authored-by: 6543 <6543@obermui.de>

* Update models/gpg_key.go

* Add migration for repository

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
..
adding-legal-pages.en-us.md Add Privacy Policy and Terms of Service Page (#9513) 5 years ago
api-usage.en-us.md DOCS: add mention of swagger api reference (#8452) 6 years ago
api-usage.zh-cn.md Adapt documentation to renamed ENABLE_SWAGGER option (#5811) 6 years ago
ci-cd.en-us.md Add notice for awesome-gitea (#10612) 5 years ago
cmd-embedded.en-us.md Changed image of openid-connect logo for better look on arc-green theme (#11312) 5 years ago
config-cheat-sheet.en-us.md Add configurable Trust Models (#11712) 5 years ago
config-cheat-sheet.zh-cn.md LFS support to be stored on minio (#12518) 5 years ago
customizing-gitea.en-us.md Add mermaid JS renderer (#12334) 5 years ago
customizing-gitea.zh-cn.md Rename custom/conf/app.ini.sample to custom/conf/app.example.ini for better syntax light on editor (#11926) 5 years ago
external-renderers.en-us.md Fix external renderers example (#12841) 5 years ago
hacking-on-gitea.en-us.md Add 'make watch' (#12636) 5 years ago
hacking-on-gitea.zh-cn.md ZH-CN translation of Advanced part (#5090) 7 years ago
logging-documentation.en-us.md [Docs] Logging Configuration - Use `logrotate` Instead (#9930) 5 years ago
mail-templates-us.md Add review comments to mail notifications (#8996) 5 years ago
make.en-us.md General documentation cleanup (#3317) 7 years ago
make.fr-fr.md General documentation cleanup (#3317) 7 years ago
make.zh-cn.md ZH-CN translation of Advanced part (#5090) 7 years ago
migrations.en-us.md update (#10079) 5 years ago
oauth2-provider.md Add oauth2 documentation (#6604) 6 years ago
repo-indexer.en-us.md Add detected file language to code search (#10256) 5 years ago
search-engines-indexation.en-us.md More extensive robots.txt docs (#9566) 5 years ago
signing.en-us.md Re-order GPG signing docs and fix code blocks (#10349) 5 years ago
specific-variables.en-us.md Copyedit docs (#6275) 6 years ago
specific-variables.zh-cn.md ZH-CN translation of Advanced part (#5090) 7 years ago
third-party-tools.en-us.md Add notice for awesome-gitea (#10612) 5 years ago
third-party-tools.zh-cn.md Create third-party-tools.zh-cn.md (#6303) 5 years ago