1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00
miniflux-v2/internal/storage
jvoisin 9a1d9593b3 refactor(crypto): use rand.Text() instead of a custom implementation
Go 1.24 provides the helpful rand.Text() function, returning a base32-encoded
string containing at least 128 bits of randomness. We should make use of it
everywhere it makes sense to do so, if only to not having to think about much
entropy do we need for each cases, and just trust the go crypto team.

Also, rand.Read() can't fail, so no need to check its return value:
https://pkg.go.dev/crypto/rand#Read This behaviour is consistent with go's
standard library itself.
2025-06-18 20:12:55 -07:00
..
api_key.go feat(api): add new endpoints to manage API keys 2025-05-25 15:50:13 -07:00
batch.go Minor concatenation-related simplifications in internal/storage/ 2024-03-18 16:20:55 -07:00
category.go fix(googlereader): avoid panic for inexisting feed or category 2025-05-02 17:42:25 -07:00
certificate_cache.go Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
enclosure.go feat(storage): reduce the number of SQL queries when fetching entry enclosures 2025-03-23 14:13:33 -07:00
entry.go feat(googlereader): add mark-all-as-read endpoint 2025-05-03 18:38:54 -07:00
entry_pagination_builder.go fix: improve pagination when having identical publication date 2025-01-18 16:59:48 -08:00
entry_query_builder.go feat: combine feed icon handlers to use only externalIconID 2025-03-28 14:29:19 -07:00
feed.go feat(cli): add -reset-feed-next-check-at argument 2025-04-11 15:56:57 -07:00
feed_query_builder.go perf(storage): optimize away two Sprintf calls 2025-06-09 13:10:51 -07:00
icon.go feat: combine feed icon handlers to use only externalIconID 2025-03-28 14:29:19 -07:00
integration.go feat(integration)!: remove Pocket integration 2025-06-15 13:29:55 -07:00
session.go refactor(crypto): use rand.Text() instead of a custom implementation 2025-06-18 20:12:55 -07:00
storage.go feat: show size of DB on the about page 2025-03-05 15:49:32 -08:00
timezone.go fix: replace timezone function call with view 2024-12-03 01:44:48 -08:00
user.go feat(ui): add user setting to control target="_blank" on links 2025-06-08 21:07:11 -07:00
user_session.go refactor(crypto): use rand.Text() instead of a custom implementation 2025-06-18 20:12:55 -07:00
webauthn.go Add WebAuthn / Passkey integration 2023-11-05 18:57:35 +01:00