More attempt at getting this shit to work
All checks were successful
/ docker (push) Successful in 4m9s

This commit is contained in:
Melody Becker 2025-04-14 17:00:11 +02:00
parent 06e6d457da
commit 59dd8d82cf
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
10 changed files with 158 additions and 118 deletions

View file

@ -72,9 +72,9 @@ func users(w http.ResponseWriter, r *http.Request) {
apUrl := userIdToApUrl(user.ID)
var keyBytes string
if config.GlobalConfig.Experimental.UseEd25519Keys {
keyBytes = shared.KeyBytesToPem(user.PublicKeyEd)
keyBytes = shared.KeyBytesToPem(user.PublicKeyEd, true)
} else {
keyBytes = shared.KeyBytesToPem(user.PublicKeyRsa)
keyBytes = shared.KeyBytesToPem(user.PublicKeyRsa, false)
}
data := Outbound{
Context: activitypub.BaseLdContext,