Readit News logoReadit News
greysonp commented on Pebble Index 01 – External memory for your brain   repebble.com/blog/meet-pe... · Posted by u/freshrap6
MarkusWandel · 16 days ago
Wait.. if you need to push a button and then have to get it somewhat close to your mouth to record an audio clip, why not just have a watch app? Pressing the button is still a two-hand thing. Or did I miss something?
greysonp · 16 days ago
You put the ring on your index finger (and likely have it rotated so that the button is pointing to your thumb) and then press the button using the thumb on your same hand. That allows it to be one-handed.
greysonp commented on Valdi – A cross-platform UI framework that delivers native performance   github.com/Snapchat/Valdi... · Posted by u/yehiaabdelm
buffet_overflow · 2 months ago
I think it’s been changed since, but wow was it weird finding out that instead of taking photos, the Android app used to essentially take a screenshot of the camera view.
greysonp · 2 months ago
I worked on the Snapchat Android back in 2017. It's only weird for people who have never had to work with cameras on Android :) Google's done their best to wrangle things with CameraX, but there's basically a bajillion phones out there with different performance and quality characteristics. And Snap is (rightfully) hyper-fixated on the ability to open the app and take a picture as quickly as possible. The trade off they made was a reasonable one at the time.
greysonp commented on Scream cipher   sethmlarson.dev/scream-ci... · Posted by u/alexmolas
blueflow · 3 months ago
What people in this thread call a "key" is, not like a key, auxiliary input data, but hard-coded into the program. We are looking at encodings.

Maybe this differentiation is not popular or well accepted, but it was surely part of my cryptography curriculum and the following exam. I'd rather believe my prof than strangers on the internet.

greysonp · 3 months ago
Key can mean different things in different contexts. In a substitution cipher, the key is the mapping. In modern ciphers, the key would be some set of secret bytes. Everyone agrees that this cipher would be a bad way to encrypt/encode something. But using the word cipher like this has real historical meaning, and that is the meaning that is being used in the project.
greysonp commented on Mapping to the PICO-8 palette, perceptually   30fps.net/pages/perceptua... · Posted by u/ibobev
aquova · 3 months ago
An interesting article, but it seems like quite an oversight to not even mention dithering techniques, which in my opinion give much better results.

I've done some development work in Pico-8, and some time ago I wrote a plugin for the Aseprite pixel art editor to convert an arbitrary image into the Pico-8 palette using Floyd-Steinberg dithering[0]

I ran their example image through it, and personally I think the results it gives were the best of the bunch https://imgur.com/a/O6YN8S2

[0] https://github.com/aquova/aseprite-scripts/blob/master/pico-...

greysonp · 3 months ago
They don't explicitly state it in the article that I can see, but the PICO-8 is 128x128, and it appears that their output images were constrained to that. Your dithered images appear to be much higher resolution. I'd be curious what dithering would look like at 128x128!
greysonp commented on Immich – High performance self-hosted photo and video management   github.com/immich-app/imm... · Posted by u/rzk
codethief · 4 months ago
> I've been able to do things like automatically create albums from my Signal backup

Interesting, would you mind elaborating on how you do that? I take it you have your backup key stored on your home server then? What tool do you use to decrypt & parse the backup?

greysonp · 4 months ago
Sure! I make Signal backups on my Android device, sync them to my home server via FolderSync, and then run a nightly script that uses signalbackup-tools[1] to extract media from my family group chats and upload them to my immich server via their CLI.

[1] https://github.com/bepaald/signalbackup-tools

greysonp commented on Signal Secure Backups   signal.org/blog/introduci... · Posted by u/keyboardJones
eigenspace · 4 months ago
Hey, i have a related question about this:

I have an old iPhone that has all my old Signal messages still on it that I wasnt able to move with me when I switched to Android. Is there any way that I can use these new tools to move the old conversations on my iPhone over to my android phone without losing all the new messages that are on my android now?

That is, I want to merge the two histories.

greysonp · 4 months ago
Unfortunately we don't have immediate plans to support merging of histories. As others have noted, you may be able to use third-party tools to merge them together, but that's very much a "at your own risk" sort of thing :)
greysonp commented on Signal Secure Backups   signal.org/blog/introduci... · Posted by u/keyboardJones
dmitrygr · 4 months ago
This is overcomplicated to collect money IMHO. All modern OSs can happily backup app files. It is a well-solved problem. If you find this backup method not secure enough (as Signal authors do), fine, encrypt the backup with a special key, exactly as described in TFA, and leave the resulting archive in a location for my chosen phone OS to back it up as it would. All the goals are accomplished, and without charging me money or limiting how many days of media are stored.

Do not get me wrong. Signal is great software and i'd gladly pay for it. Honestly. But not via this underhanded nonsensical way

greysonp · 4 months ago
Hi there, Signal dev here. The Android app does indeed allow you to export encrypted backups to your local device, which you can sync as you wish. That's not going anywhere, and in fact, we have imminent plans to make it better (cross-platform, faster, etc).
greysonp commented on Signal Secure Backups   signal.org/blog/introduci... · Posted by u/keyboardJones
codethief · 4 months ago
Hi Greyson!

> But this new thing is all cross-platform, and in the near future we'll even be making our local backups cross-platform.

This is excellent news! Will there also be official documentation on the backup format, potentially even official tooling like signalbackup-tools[0] to access/parse backups offline? I'm asking because, having used Signal/TextSecure for 10 years now, my backups are worth a lot to me (obviously) and there have been times when I would have liked to mine & process my backed-up data. (Extract media from conversations in an automated manner, build a more elaborate search, …)

My backups have also reached the point where they are so big (15-20 GB) that it's starting to become difficult to conduct a backup each day and sync it successfully before it gets overridden 48h later. So unless I start using the new "cloud backup" feature[1] (which I'm not sure I want to), at some point I will have to archive my existing Signal conversations somewhere and start from scratch (i.e. reset the app). In that case, it would be nice if there was an officially documented way to merge & read new and old backups offline (on my desktop), similar to what [0] provides right now.

[0]: https://github.com/bepaald/signalbackup-tools

[1]: EDIT: Actually, it seems like the new cloud backup feature doesn't support incremental backups, either? https://news.ycombinator.com/item?id=45175387

greysonp · 4 months ago
Hi! I don't know if we'll have anything super official, but the code is obviously all open source, and the backup file is just a stream of protobufs[1], so it shouldn't be too bad to make a tool. I know have some rough CLI tools sitting around -- I'll see if there's anything we want to clean up and release publicly when the local backup portion of this launches.

Also, as someone else noted, the format is indeed incremental. So while we'll still do the thing where we keep the last two backups on disk, because those two backups will share almost all the same media files, the size on disk will be much much smaller. As someone with a 50 GB backup file, this was very much a goal for me :)

[1] https://github.com/signalapp/Signal-Android/blob/main/app/sr...

greysonp commented on Signal Secure Backups   signal.org/blog/introduci... · Posted by u/keyboardJones
codethief · 4 months ago
Hi @greysonp

> Once you’ve enabled secure backups, your device will automatically create a fresh secure backup archive every day, replacing the previous day’s archive.

So IIUC backups will not be incremental and I will have to re-upload my 15 GB backup archive every day? Why is that? What's the security risk here? (Obviously I'm not suggesting encrypting & uploading each message & media file individually but splitting things up into same-sized chunks, like e.g. borgbackup does.)

> At the core of secure backups is a 64-character recovery key that is generated on your device. This key is yours and yours alone; it is never shared with Signal’s servers. This key is different from your Signal PIN, which serves different purposes.

Both recovery key and Signal PIN seem to serve the exact same purpose, though, namely restoring data (conversations, contacts, account, …)? Why not unify them?

greysonp · 4 months ago
Hi there!

> So IIUC backups will not be incremental

Nope! It's very much incremental :) At least the media is. There's one blob of containing all of your messages+metadata which does have to be re-uploaded every night, but for most people that's gonna be somewhere in the low-tens of MB. Your attachments are uploaded incrementally one at a time, typically as they're sent/received, so you usually don't even have to wait to upload them at backup-time.

> Both recovery key and Signal PIN seem to serve the exact same purpose, though, namely restoring data (conversations, contacts, account, …)? Why not unify them?

This was a hard decision and something we went back and forth on. But at the end of the day, we felt the safest thing we could do for now is to use a completely separate strong, random key. We're very aware of all the trade-offs involved, but this is where we landed.

greysonp commented on Signal Secure Backups   signal.org/blog/introduci... · Posted by u/keyboardJones
swores · 4 months ago
Well if somebody has a year of messages backed up on Signal's servers (with this new feature), and one of their linked devices gets turned on after two months of being turned off, they could surely pull the messages from the backup rather than from the normal queue but do it seemlessly so that from a user point of view the device just never got unlinked?

Without backups it makes sense to have a limit, like you said (though I join the person you replied to in wishing there was an option for it yo be more than 30 days), but their point is that once backups contain more than the last 30 days of messages that reason is no longer a blocker.

greysonp · 4 months ago
Hi there, Signal dev here. While we won't do this for you automatically, any time you link a new secondary device, we give the user the option to transfer their message history. It follows the same rules as backups: last 45 days of media for free, or all of it if you're a paid user. And even if you're not a paid user, you can request individual attachments be transferred from your primary device.

One caveat is that we don't offer this if you're re-linking an install that already has data but became unlinked. This is because we don't currently handle merging message histories. But if you cleared the data from the secondary install first, it would work. We're thinking of ways to make this smoother!

u/greysonp

KarmaCake day755November 30, 2016
About
greysonparrelli.com
View Original