This is a test - please ignore this repository!
Find a file
Tim Zöller 9c745cf07d Fix RFC 1123 date format - use zero-padded day
The issue was that Java's DateTimeFormatter.RFC_1123_DATE_TIME produces
dates like 'Tue, 2 Dec 2025' (without zero-padded day) but Mastodon
requires strict RFC 1123 format with zero-padded day: 'Tue, 02 Dec 2025'.

This was causing HTTP Signature validation failures (401 Unauthorized)
because the Date header in the signed string didn't match the actual header.

Changes:
- Fixed date format in HttpSignatureValidator to use custom pattern
- Pattern: 'EEE, dd MMM yyyy HH:mm:ss GMT' with Locale.US
- Added date format test to verify correct output
- Added debug endpoint for key validation
- Explicitly set Host header in FederationService

This should fix the 401 errors when federating with Mastodon.
2025-12-02 21:51:52 +01:00
.idea Fit File Processing and Persistence 2025-11-27 22:59:45 +01:00
src Fix RFC 1123 date format - use zero-padded day 2025-12-02 21:51:52 +01:00
.dockerignore More vibin 2025-11-28 21:04:38 +01:00
.env.example More vibin 2025-11-28 21:04:38 +01:00
.gitignore More vibin 2025-11-28 21:04:38 +01:00
CLAUDE.md MVP done 2025-11-29 09:56:55 +01:00
docker-compose.yml Docker Fixes 2025-11-29 12:28:58 +01:00
DOCKER.md More vibin 2025-11-28 21:04:38 +01:00
Dockerfile More vibin 2025-11-28 21:04:38 +01:00
MVP_COMPLETE.md MVP done 2025-11-29 09:56:55 +01:00
pom.xml Docker Fixes 2025-11-29 12:28:58 +01:00