Conversation
|
I like the idea however it seems insecure. Do you think you could encrypt the image with aes using the shared secret for the chat and or the secret key for the channel ? |
|
@zjs81 oh snap encryption is a good idea. Then it becomes more of a general 'asset snippet' hosting, all the processing would need to be done client-side. Let me think more about that because encrypted assets per channel would be a pretty cool idea. |
…-open into feat/image-sideloading
|
Ok this branch is updated now too. This still seems like a cool idea to me but I'm having trouble with Chrome because it has to download the encrypted file versions to memory, decrypt them, and then display them. For some reason it's very slow in Chrome but not on MacOS. |
|
To not have two buttons at the bottom (gif and image), which take much space maybe we could keep one "Action" Button, with a pop-up for gifs and image loading. Maybe there will be even more options in feature. Best Regards |
|
@ericszimmermann Yes I agree, kind of like the iphone interface where you tap on it to get a variety of choices: photos, video, camera, etc. |
|
You could download it as a stream object and decrypt it in memory not sure if that would be any faster though. |
This is kind of a crazy idea.
I made an open source asset server powered by Cloudflare workers called Mesh Asset Server https://github.com/MeshEnvy/mas
It allows uploading images that will be saved for 30 days. You get a 6-char hash back.
This allows us to upload images and display them in chat. If someone happens to be offgrid, they'll just see something like
i:f84jgf42026-02-23_05-56-37.mp4
To be merged first: