gitforge/models/packages
Gusted 691dd023ff chore: unify the usage of CryptoRandomString (#10110)
- Similair spirit of forgejo/forgejo!7453.
- Refactor the code in such a way that it always succeeds.
- To avoid doing mathematics if you use this function, define three security level (64, 128 and 256 bits) that correspond to a specific length which has that a security guarantee. I picked them as they fit the need for the existing usages of the code.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10110
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Lucas <sclu1034@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-11-15 13:24:53 +01:00
..
alpine
alt
conan
conda
container
cran
debian fix: replace limit/offset pagination in debian SearchPackages (#9892) 2025-10-29 09:57:55 +01:00
nuget
rpm
descriptor.go
main_test.go chore: merge tests.AddFixtures and unittest.OverrideFixtures (#7648) 2025-04-25 09:14:33 +00:00
package.go several fixes of ALT Package registry (#8475) 2025-07-10 17:12:07 +02:00
package_blob.go
package_blob_test.go chore: merge tests.AddFixtures and unittest.OverrideFixtures (#7648) 2025-04-25 09:14:33 +00:00
package_blob_upload.go chore: unify the usage of CryptoRandomString (#10110) 2025-11-15 13:24:53 +01:00
package_cleanup_rule.go
package_file.go fix: maven use groupId:artifactId for package name concatenation (#6352) 2025-06-01 09:02:29 +02:00
package_property.go
package_test.go
package_version.go fix: maven use groupId:artifactId for package name concatenation (#6352) 2025-06-01 09:02:29 +02:00