Follow

Ahoy @jdp !

It's neat that you're signing all your posts with your PHP key.

It looks like your host is on Pleroma, and the Vanilla Mastodon sites try to show it as an image, leaving a big "not available" box on every post.

Is there a support patch I could wheedle my instance admin to apply, or is this all experimental?

@WomanCorn Right, sorry, I could stop. There is no patch for it, clients are just broken and try to display any attachment as an image.
@WomanCorn It's kind of annoying tbh because there's lots of useful non-image non-video things you might want to attach to your statuses.

@jdp no need to stop, I was just curious as to what was going on and I thought it was neat.

Mastodon should probably use a whitelist of media types that get previews, or alternative preview boxes. Maybe I'll make a patch for it myself.

(Unlikely, because I'm lazy, but it could happen.)

@WomanCorn Well one thing you could do is file an issue with whoever provides your client (assuming you're on mobile). That would actually move the ecosystem a bit. When I looked on schelling.pt it seemed to display...OK. Not great, but at least not attempting to show it as an image.

FWIW, I don't expect anyone else to support PGP sigs because it's too niche. I do at least expect a .txt attachment not to be displayed as an image lol. I'd rather it be ignored than displayed as a blank box.

Maybe you can configure Mastdon to strip attachments of a .txt or .sig extension?

@jdp I'm using the PWA off of schelling.pt, so it looks the same for me on mobile.

I wouldn't expect PHP support to be widespread, but with a clean patch, who knows?

I expect a patch for sensible handling of non-image attachments to have a much better chance.

Maybe I can figure out where to patch...

@jdp This was either a typo or a brain fart and I'm not sure which!

@jdp @WomanCorn Ah, so that’s why those black boxes show up on my client! That’s pretty cool

@WomanCorn One solution I’ve been looking at is to patch Pleroma on my end to parse a PGP signed message and display the main content as the ordinary content view and then provide a Multipart/Signature MIME view for the PGP signature version.

https://docs.pleroma.social/backend/API/differences_in_mastoapi_responses/#statuses

Sign in to participate in the conversation
Mastodon

a Schelling point for those who seek one