17 ms·
Blur Tools for Signal
- chinesempire 6y agowouldn't it be easier and more secure to put a noise filled rectangle over the faces?
- rtkwe 6y agoYou can but it looks bad and is distracting, a good blur doesn't distract from the rest of the photo and looking good enough people are more likely to actually use it which is also important. You can also build a blur that discards enough information that it's not reversible and it /looks/ like they did that, Signal has been pretty thoughtful about security so far so I doubt they missed the research about simple blurs being insufficient to defeat facial recognition.
- chinesempire 6y agoYou can always apply blur on the noise afterwards. It took me less than a minute to do this with Gimp (and I'm very bad at Gimp). It's a simple median blur over a random noise. https://i.imgur.com/f81JIRP.png https://i.imgur.com/f81JIRP.png
- thaumasiotes 6y agoYes.
- easterncalculus 6y agoThis is rather silly, you could always draw solid colors over someone's face and it works better than blurring. A rather frivolous update, from a software standpoint. The sentiment is nice.
- hiq 6y agoAutomation is a big part though, having to do it manually on 5 faces is tedious, pressing a button is not.
- easterncalculus 6y agoI see the point in this, but if you're going to automate something it should be automated right! In most cases, getting specific people's faces in shot isn't a good idea in general. If you're getting five people's faces in center frame for a photo just to blur their faces out, then it's probably fair to ask why you'd even take a photo at all.
- sitkack 6y agoRecording and sharing are different things. If I take a picture of a cop pulling masks off of protestors, I sure as hell want to record the incident, but not necessarily share images of the victims.
- goatsi 6y ago>then it's probably fair to ask why you'd even take a photo at all. There are many cases (such as the recent protests) where you might want to document something and it is infeasible to ask everyone else in the area to leave first.
- xwowsersx 6y agoI don't know much about image processing, but can't blur from some area in an image be "removed" so as to recover the original image underneath or am I just totally mistaken about how images/pixels work?
- deleted 6y ago[deleted]
- haarts 6y agoThink of it this way; there is less information in a blurred image (less colour, less lines, less areas). You can not* conjure information out of thin air thus making the unblurred image. * Recent advances in AI actually make this possible to an extend. The AI delves into it's massive memory and extrapolates a likely image/face.
- regularfry 6y agoThat entirely depends on how the image is blurred. The default gaussian blur in an image editing tool can be reversed without leaning on magic AI to do it.
- miglmj 6y agoNot completely mistaken, I think you're confusing blurring with "blending", where pixels are displaced in tight irregular spirals. These images have been successfully unscrambled as part of criminal investigations into child exploitation cases.
- billme 6y agoWithout sold proof this is not possible to circumvent, this maybe more dangerous than not. Here’s an example of AI being able to identify a blurred face: https://twitter.com/ak92501/status/1267609424597835777 https://twitter.com/ak92501/status/1267609424597835777 Identifying an individual is not just about a face, but number of factors that are much more complex and very hard to account for in a systematic way. —- If Signal is really concerned about allowing individuals to control the information they leak, they need to prioritize releasing the feature that will allow users to use Signal without providing phone numbers; one of their staff recently publicly stated this is finally likely to become a feature. Not to mention stop repeatedly asking for the user to provide their name, access to contacts lists, etc.
- StavrosK 6y agoThat's not removing blur, that's making a face (out of millions) that matches the same pixellization. There's no telling what the original face was, and it's disingenuous that they don't show you the original photo.
- deleted 6y ago[deleted]
- tommyderami 6y agoThey have a sandbox you can run the code yourself--I don't think we're at dystopian surveillance level just yet https://imgur.com/a/IfdLWau https://imgur.com/a/IfdLWau
- felideon 6y agoAt the end of the video they posted[1], they show the original photos of the authors, the downscaled inputs, and the outputs. [1] https://twitter.com/ak92501/status/1267609090689323008 https://twitter.com/ak92501/status/1267609090689323008
- StavrosK 6y agoAh, thanks, I missed that in the Tweet.
- Vinnl 6y agoI've seen it said that blurs can relatively easily be reversed. I wouldn't expect that to be unknown to the Signal team, so I wonder if anyone knows how they dealt with that. A different blur method that is not reversible?
- rbinv 6y agoThe blurs shown on the page can most certainly not be reversed because the information has been lost. Things like swirls can, though: https://thelede.blogs.nytimes.com/2007/10/08/interpol-untwirls-a-suspected-pedophile/ https://thelede.blogs.nytimes.com/2007/10/08/interpol-untwir...
- teekert 6y agoCertain blurs can be undone indeed [0] is just one link, search for something like "undo guassian blur point spread function". There are limits though. [0] https://en.wikipedia.org/wiki/Deblurring https://en.wikipedia.org/wiki/Deblurring
- nullc 6y agoThat's like saying that JPEGs can never be displayed because information has been lost. The belief that you cannot identify someone from a blurred face is an extremely strong assumption that is just begging to be demolished using some sufficiently advanced technology. In particular, if you only need to go from a list of 10,000 candidate persons (thanks cellphone mass surveillance) to three or four candidate persons (shoot them all and let god sort it out) then I am think it is fairly that you could do so with more or less existent technology. (essentially, use machine learning to transplant faces from DMV photos into the scene and then redo the blur and select the most likely matches). Think of it this way: if you want to winnow 10k candidates down to four people you need to extract less than 12 bits of entropy. It's not trivial because the scene, pose, lighting, etc. make all your measurements noisy and non-independent.
- futurix 6y agoAn actual blur that directly modifies multiple pixel values cannot be reversed. Things like swirls and motion "blurs" potentially can be - but I wouldn't even call those blurs as they are more of a directional transformations.
- kodisha 6y agoHonestly, I can't keep up with acquisitions, full e2e encryption claims, then those claims get debunked, and you can't find out what the truth is. Based on all information out there, in year 2020, what is the most secure IM app? What do you recommend to your friends if they care about privacy?
- teekert 6y agoI recommend Signal. Sure, something selfhosted would be nicer (provided I can be trusted to get encrytion rightly implemented and my server updated etc) but Signal hits the best balance for me between trust, hassle and features.
- quantummkv 6y agoMatrix is selfhosted and has e2e encryption support.
- egberts1 6y agoI’ve pulled down both the backend for Matrix and Signal and find that the LOC is a lot simpler with Signal. Plus with a bit of work, selfhosting Signal would require the mobile apps to be configurable (or fixedly reconfigured) toward your own backend server.
- alias_neo 6y agoYou can self-host Signal if you want. It's not easy, or fun, and you'll need to replace the dependencies on cloud tools if you want to host it on bare metal, but it can be done (I have done it). Bear in mind, the server is open source only in name, the state of documentation and configurability is extremely hostile towards running it yourself, to the point that the only way to configure it to run correctly requires reading the code to find the type, size, syntax and everything else about every piece of configuration because none of it is documented or clear.
- wizzwizz4 6y ago
- itchyjunk 6y agoThey are also distributing physicals masks? It's not even a filtering type mask is it? How odd. Is the blurring some type of encryption that the user can unblurr or is this a one way road? I am just thinking off some odd circumstance where say they realize they had a picture of a vandal somewhere. But I guess you can then be forced to unblurr everything by law enforcement which might be undesirable in some cases. Slight off topic from the article, I was reading about the sting ray discussion here on HN yesterday. Signal supports some sort of mesh network communication right? Is that a work around for sting rays? Thanks.
- rtkwe 6y agoI don't think Signal has any mesh networking there are other apps like Firechat and Bridgify (haven't used either of them just googling). As for the mask it'll do a little bit for CS and mace probably with eye protection but the goal is mostly protecting protesters by keeping them from being identified and retaliated against later. It's also way easier to make a buff style covering and it can be worn over many types of filtering masks.
- Myce 6y agoI was also surprised by the physical masks. It seems they are intended to 'encrypt your face' which gives me the impression it should make you unidentifiable. When peacefully protesting, I can't imagine why you would need to hide your face. If not peacefully protesting and/or looting, such a mask has use for criminals, but I can't imagine that's the intention of Signal. I think in free, democratic countries, you shouldn't be allowed to hide your face, so you can be held accountable for your deeds. In non-free countries I can imagine you would need to hide your identity, but would Signal be able to distribute them there? Questions, questions ;)
- elliekelly 6y agoSaying only criminals would want to cover their face is the equivalent of saying only criminals worry about privacy. The old "if you aren't doing anything wrong then you have nothing to worry about" argument. I've never looted a store in my life and I don't ever plan to but I still don't want images of my face stored in a police database or used in facial recognition software. Wanting to protect my right to privacy is not and cannot become a presumption of criminal intent.
- noodlesUK 6y agoWhat kind of blur is used? Blurs are annoyingly bad at obscuring things like faces. They may be good at making faces unrecognisable to people, but they’re not nearly as good at making faces unrecognisable to machines.
- dbrgn 6y agoI tend to pixelate regions I want to make unrecognizable in photos instead of using a gaussian blur due to this reason. Pixelation should be safe as long as the pixels are large enough, right? I wonder why Signal didn't do something like that...
- ReactiveJelly 6y agoI think there's a way to do super-resolution on pixellated video. It's okay for still images, but videos have a lot of information to leak. Just black everything out.
- laughinghan 6y agoYou should also discretize the pixel colors. Note that if you blur the pixelated region, it'll be just as aesthetically pleasing as the reversible Gaussian blur.
- 2OEH8eoCRo0 6y agoA good blur sheds far too much information to be meaningfully reversible.
- laughinghan 6y agoBut a bad blur doesn't. That's why your parent comment asks what kind of blur they use. Edit: Turns out it's a 25px Gaussian blur. There's some downsampling beforehand, but not much, and no color discretization. In other words, they use a bad blur, but compensate with a large security margin. I wouldn't be surprised if this was vulnerable to "if I have a thousand photos of faces and I think one of them matches the blurred face, I can figure out which one with high confidence", and they can get basically the same aesthetic effect if they heavily pixelate and discretize colors before blurring. https://news.ycombinator.com/item?id=23415600 https://news.ycombinator.com/item?id=23415600
- fit2rule 6y agoIn case anyone feels like playing around with it, a friend and I made a project to do auto-blurring of faces with OpenCV a few years ago, with both iOS and node frontends .. iOS module: https://gitlab.com/seclorum/groupie/-/tree/master/ios/groupieFace https://gitlab.com/seclorum/groupie/-/tree/master/ios/groupi... Main node.js app: https://gitlab.com/seclorum/groupie/ https://gitlab.com/seclorum/groupie/
- gregsadetsky 6y agoThe first URL doesn't seem to work, and the second URL brings to an "empty" project. Just to make sure -- maybe it's just me?
- fit2rule 6y agoHmm, I guess I got the URL's wrong, and can't edit now: https://gitlab.com/seclorum/groupie/ https://gitlab.com/seclorum/groupie/ Works on Linux and Darwin, just type 'make'. ;)
- JosephRedfern 6y agoThe project is public, but the repository is probably private. We can't see any of the code.
- fit2rule 6y agoHmm, dunno how that happened .. maybe its better now?
- JosephRedfern 6y agoYes, fixed!
- mercora 6y agono. i don't know gitlab well enough but maybe the project is not really set up as public.
- noeltock 6y agoImpressive how quickly they've reacted.
- zeeone 6y agoThey probably had worked on this feature for some time and are using the current times as an opportunity to introduce it. It's hard to believe they had the capacity to react to the traffic increase and develop a sharp new feature in less than a week.
- simias 6y agoIf you look at the code it's not that far fetched. The facial recognition uses "off the shelf" third party libraries and a gaussian blur isn't exactly rocket science. I don't know how much work goes into making a new Signal release but it terms of raw coding it's like two days of work.
- sjwright 6y agoWould it be practical to take a facial recognition algorithm and use it to warp the identifying characteristics of faces in a scene such that the faces lose enough uniqueness to make facial recognition ineffective? My understanding of facial recognition is that it operates on relative positions of facial elements. If you can "delete" this uniqueness from the source material by warping faces towards a limited handful of generic shapes, you make the video less useful to Government intelligence. You could still blur the result, but you might be able to get away with less blur. Remember that it's important to see that people have faces otherwise they can be more easily dehumanised.
- Doxin 6y agoIdeally you'd run something like thispersondoesnotexist to generate random faces to paste overtop people before blurring it. That way if you somehow manage to revert the blur there's still no chance of revealing the original person. Of course humans are pretty good at filling in detail, so with a sufficient blur you can get away with surprisingly poor approximations of a human face.
- sjwright 6y agoI’m thinking more about targeted distortions to maximally thwart fingerprinting while minimally dehumanising.
- regularfry 6y agoJust DeepFake Nicolas Cage onto everyone.
- sitkack 6y agoExcellent idea, but I think Snowden would be more appropriate.
- thrasumachos 6y agoMalkovich Malkovich, Malkovich?
- seemslegit 6y agoCool ! Now stop with the forced contact discovery.
- exo762 6y agoMay I ask you to elaborate? AFAIK the only thing they are leaking about you is "is this phone number using Signal?". A single bit of information.
- seemslegit 6y agoThe fact that I've started using signal might not be an information I wish to share with other people who are also using signal and have my contact.
- Marsymars 6y agoOne of the best features of Signal, and one that massively helps adoption with the less tech-savvy crowd, is that you can set it as the default SMS app on Android, and it then uses Signal for contacts with Signal. If you can't tell if a contact has Signal, it would have to default to SMS - and when sending a Signal message (to either a phone number, or in the future, a non-phone identifier), there'd be no way to tell if you're sending it to someone with Signal, or sending it into the void. Maybe that's a trade-off you'd be willing to make, I don't think it's cut-and-dry though.
- seemslegit 6y agoNot saying it is cut-and-dry, but atm the users doesn't get to make that tradeoff for themselves - signal made it on their behalf when it could have allowed the users to choose on activation to which of their contacts they wish to be discoverable.
- cjf101 6y agoNot the OP, but from my perspective, encryption is helpful, but a good portion of security is anonymity, and Signal requires that you use and leak personally identifiable information to even start using it. It also informs you when people in your contact list are using Signal. It's probably not scanning through all of the phone numbers in Signal's database locally, so it is exfiltrating your contact list as well, exposing your network. Personally, I'd prefer a model where I am not required to place even that much trust in the messaging provider.
- simias 6y agoIs the pattern on these masks meant to confuse facial recognition algorithms or is it just for looks?
- ciarannolan 6y agoProbably the latter. The pattern doesn't really matter when 85% of the facial features are covered by cloth.
- yters 6y agoWhy would peaceful demonstrators need to hide their identity? I have been to numerous peaceful protests in the US, even been attacked by observers, and have never had to hide my identity. Additionally, in a large crowd where most will not hide identities, this app is useless. Only use case I can imagine is a one to many communication likely to be frowned on by authorities, which sounds like the coordination of illegal activity, such as violence and looting. I wonder if any website where such techniques are popularized would consequently be considered an accessory to whatever illegal activity is being coordinated? And even if not, as owner of such a platform, it would not rest easy on my conscience to know my site is being used to help coordinate activity that will hurt and harm a great many innocent people.
- 2OEH8eoCRo0 6y agoDevil's advocate here but if I were a Nazi and wanted to peacefully protest I'd hide my face. If I were protesting for any socially unacceptable fringe group I'd rather hide my face.
- yters 6y agothat is precisely the sort of group i was protesting with, hence why i was attacked, and i had no need to hide my face because we were not doing anything illegal and the US is not nazi germany or the ccp. if it were, face blur filters would be the least of your concerns. this only makes sense in the context of conducting illegal activity in a lawful democracy
- regularfry 6y agoOnly if you think the lawful democracy is perfectly implemented, and we know that's not true.
- yters 6y agono place is perfect, but if we compare to say ccp us is still orders of magnitude better
- _wldu 6y agoI don't understand the need for this. There is nothing criminal or embarrassing about being in public or participating in a peaceful protest. Why is this feature needed?
- simias 6y agoAt the risk of veering slightly off-topic I really dislike the modern internet culture that judges that it's perfectly acceptable to post people's face on public websites for all to see without their explicit consent. I'd hate to find myself at the top of the Reddit frontpage or in the latest viral video, even if I don't do anything particularly embarrassing. Although I suppose that if you're participating in a protest that's not really the same thing, the whole point is to be seen after all. And signal is generally used for private messaging so it's less of an issue. So overall I guess I agree with you, I guess the Signal devs feel strongly about the current events and wanted to do something to help.
- episode0x01 6y agoWhy is encryption needed? Or privacy in general? If you have nothing to hide, you have nothing to fear. /s
- seebetter 6y agoThere is no purpose for this. I was in the protests and amid the looting in LA. You’re being photographed for dozens of different angles. I love Signal but it’s so klunky and broken. Telegram is much more fluid despite it being less secure. And the Mayors in LA let the looting happen purposely.
- lm28469 6y ago> There is nothing criminal or embarrassing about being in public or participating in a peaceful protest. Then why are they beat up, gassed and arrested ?
- stevehawk 6y agohow else am i going to get to my local church for a bible photo op?
- erikbye 6y agoYou can be identified by gait alone.
- anigbrowl 6y agoUnreliably, and only if they have a clear view of your whole body, which isn't likely in crowds.
- erikbye 6y agoI disagree... this is an area I research, working on a surveillance system. But even so, if gait alone was not enough, modern recognition software can easily single out a subject in a crowd with just seconds of footage, and through thousands of cameras track said subject throughout the city. Footage will be plenty. At some point during tracking the subject is likely to reveal his face, too, or other critical information. If your voice is picked up it too will be used for positive identification. When you add in the people in close proximity to the subject things get even easier, recognize one of the other collaborators the target subject affiliates with and identification is often a simple narrowing scan of enmassed OSINT away, done real-time, of course. Or simply track the subject to an address, maybe even his home, and swoop in. I want to also clarify what gait recognition is, for those not that familiar with it a common misconception is thinking it is limited to analysis of how you walk. It is not; factors of gait recognition: height, weight, build and proportions, sex, age, clothes (including type—-dress, shirt, etc.—-shape and colors), emotions displayed, facial tics, unique mannerisms. The analysis of your actual walk/gait is incredibly deep and consists of hundreds of variables, too many for me to care mention here, I might blog about it if it is of interest to anyone, but a few examples: cadence, the angles of just about anything you can imagine possible to measure, spacing between feet, knees, arm swing distance, etc. For anyone familiar with Haar-like features it should be easy enough to understand that with enough features within threshold you can id just about anything. This is all yesterday’s tech, by the way. My point, be very cautious of attending anything that might destroy your future. Do not think a mask or blurring protects your identity, that is extremely naive.
- deleted 6y ago
- lanevorockz 6y agoAt some point he have to assume this is about defending people that are committing crimes. Nice to see that the radicalisation caused by left wing social media is finally getting to its final conclusion.
- supernihil 6y agoinstead of bluring faces we should be replacing them with computer generated faces, double up on fuzzyness and destroying the possibility of easily detecting "its been blurred, i must then take out my best guessing tools then"
- dominotw 6y agowhat about videos.
- vsareto 6y agoCan someone school me as to why we'd use blur when you can just put a solid block of pixels of the same color over the face? The hard part is face detection, right?
- ahelwer 6y agoBlur looks better.
- bryanmgreen 6y agoI wonder how hard it would be to replace the face with something akin to Photoshop smart fill then blur the box into obscurity? Keeps the aesthetics of the image but also removes the face entirely.
- yingw787 6y agoAs a software engineer: screw software-based solutions. Too hard to communicate to people, too easily compromised without notice, just blegh for things like this. I remember the Mueller report being printed out, inked over, and then scanned before exported as PDF just to make sure there's no software shenanigans. I really like this idea. If you wanted to implement that in the field, you could purchase a Polaroid camera, ink over faces manually, and then use your iPhone and take a picture of that picture and destroy the film afterwards.
- raziel2p 6y agoThis strikes me as ridiculously paranoid. Are you worried that a JPG/PNG contains the original non-blurred picture or something? Nevermind the fact that in your examples, the physical originals can be stolen before you have a chance to redact/blur them, or your blurring done by hand isn't good enough and you can get the original by increasing contrast or whatever.
- yingw787 6y ago...isn't the whole reason of this discussion revolving around events causing "ridiculous paranoia" being realized? No, I don't think I'm being too paranoid. Even if Signal is open source, it means smack if you don't know what's actually running on the servers, or what's in each AppImage and running on your phone. If you have your servers and employees where the government can reach you, you can be compromised, because ethics and morality go out the window when it's about your safety and that of those you love. Analog is always safest, because it's what the world is grounded in. If you don't like inking over an image, then burn the faces of it using a blowtorch, or if you're worried the ink is still there, you can stamp out the faces using a hole punch.
- deleted 6y ago[deleted]
- Welaa 6y agoWww.linkdin.com
- lelandbatey 6y agoI've tried this feature out and found that it doesn't do as good a job of blurring faces as I'd like, especially when those faces take up more of the frame. I posted some pictures here: http://lelandbatey.com/projects/signal_blur_comparison/ http://lelandbatey.com/projects/signal_blur_comparison/ Basically, I think they're using a constant blur size which fails to adequately obscure faces that take up a lot of the image because when a face takes up a lot of the image then the features of that face become large, which would require even MORE blurring to obscure. And they're not doing "more blurring" when the area which needs blurring grows, or at least they aren't doing enough additional blurring.
- danShumway 6y agoI don't doubt that Signal has put a significant amount of effort into making sure its blurs can't be reversed. But when I look at the results in the photo, I don't understand why they would put in that effort. Why derive a blur from the base photo at all? Things that seem way easier to me: A) blacking out the face entirely with a solid color, B) if that looks ugly, replacing it with some kind of clip-art, C) if that still looks ugly, replacing it with a gradient D) if that still looks ugly, replacing it with a pre-blurred face from a generic set of buckets. I sort of get the aesthetic argument, but I also really don't, because the way Signal is blurring faces is ugly, at least in the photo they show. It's not a seamless thing that blends into the background and looks way better than a solid color. It's giant squares, and the amount of blurring means that the contents are basically indistinguishable from a radial gradient to my eyes anyway. Am I missing something? Would a gradient really look any worse than this? Is there some kind of use-case where blurs give aesthetically much better results than what we're seeing in the photo? Are the concerns I'm seeing below about de-masking just fear-mongering? Are blurs in general just pretty safe, fast, and easy to do? Moxie isn't stupid, I assume in situations like this he knows what he's doing.
- matmann2001 6y agoAlso consider the social effect. To the ordinary eye, it's not obvious that this blur is resistant to reversal, unlike standard blur effects. However, someone seeing the use of this blur effect, without understanding what it is, may come to the false conclusion that a non-Signal blur is safe too.
- danShumway 6y agoThat's a good point. I've already seen at least one other person on this post comment to a Github repo that blurs faces. It might be secure, it might not be. I wouldn't trust it by default. With a static overlay, the method is simple enough that I can evaluate the security. With a blur, I don't know the difference between a good one and a bad one, so I can only trust the reputation of the author. I like to be able to look at the output of an anonymizer and to be able to tell myself at a glance whether it worked.
- 6y ago
- RedComet 6y agoSo an organization that gets millions of dollars from the US government is supporting people that wish to overthrow the government, many of whom are outright anarchists. Seems like a poor investment. Unless....
- billme 6y agoSource? Here’s 2018 990: https://pp-990.s3.amazonaws.com/12_2019_prefixes_82-86/824506840_201812_990_2019121216951146.pdf https://pp-990.s3.amazonaws.com/12_2019_prefixes_82-86/82450...
- alex-wallish 6y agoHow is Signal getting money from the US government? I don't know much about them, but that seems rather surprising.
- giancarlostoro 6y agoWhy not just block it out instead of blur? Like all out white or black block, or any color, or a 'redacted' button?
- WC3w6pXxgGd 6y agoIf you decide to block traffic and scream things in public, why should those images be modified? How is that not historical revisionism, like 1984?
- liquid153 6y agowhy not use a black square
- Someone 6y agoI doubt blurring faces on photos you take helps much in hiding your identity from the government. In events like these, they likely have access to quite a few image sources that do not blur faces. So, given an image with blurred-out faces, they can look in those sources for images showing persons with similar skin color, hair, length, and clothing to the person(s) they’re interested in, and from there find your face. If they are willing to make an effort, even individuals may be able to do that, using photos that people who don’t blur faces upload to the internet.