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/models
Saulius Gurklys 10fd60412d
Remove "dsa-1024" testcases from Test_SSHParsePublicKey and Test_calcFingerprint (#31905)
DSA is considered inherently insecure and is already disabled/removed in
OpenSSH 9.8.

Therefore "dsa-1024" tescases are failing.

```
--- FAIL: Test_calcFingerprint (0.02s)
    --- FAIL: Test_calcFingerprint/dsa-1024 (0.00s)
        --- FAIL: Test_calcFingerprint/dsa-1024/SSHKeygen (0.00s)
            ssh_key_test.go:196:
                        Error Trace:    /src/gitea/models/asymkey/ssh_key_test.go:196
                        Error:          Received unexpected error:
                                        Unable to verify key content [result: /tmp/gitea_keytest1239408114 is not a public key file.
                                        ]
                        Test:           Test_calcFingerprint/dsa-1024/SSHKeygen
            ssh_key_test.go:197:
                        Error Trace:    /src/gitea/models/asymkey/ssh_key_test.go:197
                        Error:          Not equal:
                                        expected: "SHA256:fSIHQlpKMDsGPVAXI8BPYfRp+e2sfvSt1sMrPsFiXrc"
                                        actual  : ""

                                        Diff:
                                        --- Expected
                                        +++ Actual
                                        @@ -1 +1 @@
                                        -SHA256:fSIHQlpKMDsGPVAXI8BPYfRp+e2sfvSt1sMrPsFiXrc
                                        +
                        Test:           Test_calcFingerprint/dsa-1024/SSHKeygen
FAIL
```

Fix #31624
6 months ago
..
actions Show latest run when visit /run/latest (#31808) 6 months ago
activities Refactor webhook (#31587) 7 months ago
admin Next round of `db.DefaultContext` refactor (#27089) 1 year ago
asymkey Remove "dsa-1024" testcases from Test_SSHParsePublicKey and Test_calcFingerprint (#31905) 6 months ago
auth add skip secondary authorization option for public oauth2 clients (#31454) 7 months ago
avatars Replace 10 more gt- classes with tw- (#29945) 11 months ago
db [Refactor] Unify repo search order by logic (#30876) 8 months ago
dbfs Enable `unparam` linter (#31277) 8 months ago
fixtures Fix agit automerge (#31207) 6 months ago
git Show lock owner instead of repo owner on LFS setting page (#31788) 6 months ago
issues Add issue comment when moving issues from one column to another of the project (#29311) 6 months ago
migrations Add tag name in the commits list (#31082) 6 months ago
organization Fix wrong display of recently pushed notification (#25812) 9 months ago
packages Fix package list performance (#30520) 10 months ago
perm Clarify permission "HasAccess" behavior (#30585) 10 months ago
project Fixes for unreachable project issues when transfer repository from organization (#31770) 6 months ago
pull Add support for sha256 repositories (#23894) 1 year ago
repo Add tag name in the commits list (#31082) 6 months ago
secret Clarify Actions resources ownership (#31724) 6 months ago
shared/types Refactor locale&string&template related code (#29165) 12 months ago
system Refactor deletion (#28610) 1 year ago
unit Refactor repo unit "disabled" check (#31389) 8 months ago
unittest Add some tests to clarify the "must-change-password" behavior (#30693) 10 months ago
user Support delete user email in admin panel (#31690) 7 months ago
webhook Store webhook event in database (#29145) 11 months ago
error.go Add merge style `fast-forward-only` (#28954) 1 year ago
fixture_generation.go Replace more db.DefaultContext (#27628) 1 year ago
fixture_test.go Replace more db.DefaultContext (#27628) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
org.go Add user blocking (#29028) 11 months ago
org_team.go Clarify permission "HasAccess" behavior (#30585) 10 months ago
org_team_test.go Add user blocking (#29028) 11 months ago
org_test.go Add user blocking (#29028) 11 months ago
repo.go Refactor deletion (#28610) 1 year ago
repo_test.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
repo_transfer.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 10 months ago