forgejo/modules/structs
Philip Peterson 03508b33a8
[FEAT] Allow pushmirror to use publickey authentication
- Continuation of https://github.com/go-gitea/gitea/pull/18835 (by
@Gusted, so it's fine to change copyright holder to Forgejo).
- Add the option to use SSH for push mirrors, this would allow for the
deploy keys feature to be used and not require tokens to be used which
cannot be limited to a specific repository. The private key is stored
encrypted (via the `keying` module) on the database and NEVER given to
the user, to avoid accidental exposure and misuse.
- CAVEAT: This does require the `ssh` binary to be present, which may
not be available in containerized environments, this could be solved by
adding a SSH client into forgejo itself and use the forgejo binary as
SSH command, but should be done in another PR.
- CAVEAT: Mirroring of LFS content is not supported, this would require
the previous stated problem to be solved due to LFS authentication (an
attempt was made at forgejo/forgejo#2544).
- Integration test added.
- Resolves #4416
2024-08-22 17:05:07 +02:00
..
activity.go [CHORE] Fix swagger deprecation message 2024-08-10 01:21:13 +02:00
activitypub.go
admin_user.go
attachment.go [CHORE] Fix swagger deprecation message 2024-08-10 01:21:13 +02:00
commit_status.go
commit_status_test.go
cron.go
doc.go
fork.go
git_blob.go
git_hook.go
hook.go [CHORE] Fix swagger deprecation message 2024-08-10 01:21:13 +02:00
issue.go [CHORE] Fix swagger deprecation message 2024-08-10 01:21:13 +02:00
issue_comment.go
issue_label.go
issue_milestone.go [CHORE] Fix swagger deprecation message 2024-08-10 01:21:13 +02:00
issue_reaction.go
issue_stopwatch.go
issue_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
issue_tracked_time.go
lfs_lock.go
mirror.go [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
miscellaneous.go
moderation.go
nodeinfo.go
notifications.go
org.go [CHORE] Fix swagger deprecation message 2024-08-10 01:21:13 +02:00
org_member.go
org_team.go [CHORE] Fix swagger deprecation message 2024-08-10 01:21:13 +02:00
package.go
pull.go Fix null requested_reviewer from API (#31773) 2024-08-13 06:51:49 +02:00
pull_review.go
quota.go feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
release.go
repo.go [CHORE] Fix swagger deprecation message 2024-08-10 01:21:13 +02:00
repo_actions.go
repo_branch.go
repo_collaborator.go [CHORE] Fix swagger deprecation message 2024-08-10 01:21:13 +02:00
repo_commit.go
repo_compare.go
repo_file.go [CHORE] Fix swagger deprecation message 2024-08-10 01:21:13 +02:00
repo_flags.go
repo_key.go
repo_note.go
repo_refs.go
repo_tag.go Add tag protection via rest api #17862 (#31295) 2024-06-16 13:42:59 +02:00
repo_topic.go
repo_tree.go
repo_watch.go
repo_wiki.go
secret.go
settings.go
status.go
task.go style: reenable switch check 2024-08-18 15:19:01 +02:00
user.go 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
user_app.go
user_email.go
user_gpgkey.go
user_key.go
variable.go
visible_type.go
workflow.go Add support for workflow_dispatch (#3334) 2024-06-28 05:17:11 +00:00