diff --git a/pkg/tle/tle.go b/pkg/tle/tle.go index e0a20639d..2ce2bac5d 100644 --- a/pkg/tle/tle.go +++ b/pkg/tle/tle.go @@ -124,7 +124,7 @@ func GenerateLogEntry(tle *rekor_pb.TransparencyLogEntry) models.LogEntry { } return models.LogEntry{ entryUUID: models.LogEntryAnon{ - Body: tle.CanonicalizedBody, + Body: base64.StdEncoding.EncodeToString(tle.CanonicalizedBody), IntegratedTime: swag.Int64(tle.IntegratedTime), LogID: swag.String(tle.LogId.String()), LogIndex: swag.Int64(tle.LogIndex),