When faced with the choice between unverifiable secret work or highly visible work (open source, name brand employer, etc.), be sure your compensation expectations are weighted to match the future marketability of the experience you stand to gain on the job.
It would be nice if prospective employers could just know that you are out there and that you are competent. Realistically they are going to prefer the safe bet presented by a known-good contributor with an impressive public portfolio.
Edit: rephrased to clarify my work sorting heuristic.
I don't really believe that exposure to open source projects has that much market value, though. I also think it's probably very hard to run a dev hiring pipeline that expects to primarily recruit people from open source projects. There are a whole lot of very talented developers who have spent their careers doing closed-source (i.e.: normal) software development.
For most of the "normal" closed source work, it's easy to say that you worked on X product or feature, and can talk about some of the challenges that you encountered with it.
Contrast that with defense contract work that requires classified clearance. If you're a developer on that, you will most likely never be able to talk about it to most recruiters or interviewers before you retire. There is no way to actually talk about what you've done with the general public. That can hurt a career, especially if it puts a black hole in your experience on a resume.
I don't know of any reqs within my company (GlobalDefenseCorp) that indicate salary is increased when you go dark. Your compensation is that you get to work on cool shit, which will likely lead to another project in the same vein.
This is common inside the Valley and outside it. Around here, a certain fruit-based computer company advises its employees not to reveal specifically to outsiders exactly what it is they work on. People who write code for big, technical but non-software firms (defense contractors etc) similarly have nothing to show (publicly) for their efforts.
It's nice to imagine that everyone works for some fun little startup that lets you blog and contribute to open source and has everything up on github, but the reality is that if you limit the search to those candidates, you will find the talent pool pretty insular. Some highly competent and very desirable people are locked away in big companies where they're not allowed to make a big fuss about what they're doing. For them, the traditional resumé is still very valuable.