Living Flash Free: Part 2

I’m trying to live Flash-free on my desktop. In Part 1, I got YouTube and Vimeo working (although the addon I use to make YouTube work seems to make the player bigger than the video sometimes).

The Flash-based Vidyo doesn’t work, of course. When using Vidyo (which Mozilla uses quite a lot), I need to use the Vidyo client. This is not free software, so I’m trying to avoid installing that on my main machine too. Instead, at home, I have a tablet which I use almost exclusively for Vidyo. That’s fine (and also allows me to see and type on my main machine at the same time), but it doesn’t work when I’m on the road, as I was quite a bit in December. So I had to scramble to find some other machine or room with Vidyo support.

I can’t watch Air Mozilla streams live very easily. There are rumours of changes in the works, but for now AirMo live streaming requires Flash. And Flash seems not to be working in Firefox or the stock browser on my tablet, although it is installed. The only workaround is (ironically) if it’s also connected to a Vidyo room, when I can join that. But because Vidyo have not yet implemented our long-open feature request to allow rooms to have participants muted automatically when joining, doing that leads to everyone hearing a “ping!” and getting a brief flash of my face. Which is not ideal.

Some things, I can watch later – AirMo’s archived streaming uses HTML5. But if I want to interact with the presenter or the audience, that’s not an option.

Video doesn’t work on the BBC either, and I’ve not figured out how to make that work yet. The mobile site does UA sniffing to keep out desktop browsers; if you spoof, you can see it, but video won’t play (perhaps it’s using some mobile-OS-specific mechanism). Any ideas welcome.

about:credits – Name Order and Non-ASCII Characters

The Mozilla project credits those who have “made a significant investment of time, with useful results, into Mozilla project-governed activities”, and who apply for inclusion, in the about:credits list, which appears in every browser product Mozilla has ever made.

Historically, the system of scripts which I used to manage the list were not as internationalized as they could be. In particular, it did not support sorting on a name component other than the last-written one. Also, although I don’t know of technical reasons why this is so, many non-English names are present without the appropriate accents on the letters.

But I’m pleased to say that any issues here are now fixed. So, if your name is not rendered or sorted as you would like on about:credits (either due to name component ordering or lack of accents) please email me and I will correct it for you.

How To Run a Productive Community Discussion

I ran a session at the Mozilla Summit with the (wordy) title of “Building a Framework to Enable Mozilla to Effectively Communicate Across Our Community”.

The outcome of the Brussels session, cleaned up, was this document which explains how to run a useful and productive community consultation and discussion. So if you propose something to a colleague, they say “you should ask the community about that”, and a cold sweat breaks out on your forehead, this is the document for you.

Many thanks for Zach Beauvais for doing the initial wrangling of the session notes. Feedback on the current document is very welcome.

Between Three And Six What?

The other way the project can lower tensions around release planning is to make releases fairly often. When there’s a long time between releases, the importance of any individual release is magnified in everyone’s minds; people are that much more crushed when their code doesn’t make it in, because they know how long it might be until the next chance. Depending on the complexity of the release process and the nature of your project, somewhere between every three and six months is usually about the right gap between releases, though maintenance lines may put out micro releases a bit faster, if there is demand for them.

— Karl Fogel, Producing Open Source Software

Living Flash Free: Part 1

I’m trying to live Flash-free on my desktop. The first thing that didn’t work was Vimeo. I use Aurora, and so I set media.gstreamer.enabled to true, to turn on the gstreamer backend for the <video> tag. However, this still didn’t work. I tried installing more codec packs, but no luck. It turns out Ubuntu 13.10 comes with both gstreamer-1.0 and gstreamer-0.10, and Firefox only supports gstreamer-0.10. So I had to find the appropriate codec packs for 0.10 and install those also. Then, Vimeo worked (using H.264).

YouTube seems to work fine using WebM. :-) I do have the YouTube Flash to HTML5 addon installed so I don’t need to keep opting back in to the ‘trial’.

Voting at OASIS

Mozilla are members of OASIS, in order to take part in a particular standards group which is chartered there. However, we have not been involved with any of their other work.

OASIS has a rule that at least 15% of members must affirmatively vote to approve a new standard. Therefore, by being a member and not participating in such votes, we make it slightly harder for standards to be approved. Recently, I was emailed by the implementers of an open source version of one such standard asking for my vote in order to reach this threshold.

However, I do not have time to evaluate the purpose and technical merits of all the standards OASIS produces.

Here is my proposed attitude to such requests; comments welcome:

“If the OASIS proposal is under a proper royalty-free IPR policy (known in OASIS-speak as “RF on limited terms”), and does not obviously harm Mozilla’s mission or the open web, I will vote Yes if specifically requested. Otherwise, I will not normally vote. Any member of the Mozilla community is welcome to make the case to me for a different vote in a particular case.”

The Naming of Hackers

The Naming of Hackers – a difficult matter,
It isn’t just one of your holiday games;
You may think at first I’m as mad as a hatter
When I tell you, a hacker has THREE DIFFERENT NAMES.

Today I received a very polite email from a citizen of a non-Western country asking that about:credits be updated to put the components of his and his colleagues names in the order customary in that country (family name first), while still sorting them by family name with the others. I use scripts to manage additions to about:credits, and the page is generated from a CSV file which contains fields for “family name” and “first/common/Christian name”. The system does indeed currently make some Western assumptions about the order of names, and so fulfilling his request requires changing it significantly.

Before I rewrite it, I want to make sure I rewrite it only once. I am aware of falsehoods programmers believe about names, and I’m glad that we don’t have to make a system which copes with every edge case. We are not planning to serve, for example, people without names or people whose names use non-Unicode characters. But we do want to serve people with one name, as I know of hackers in that category.

Here is my design. To test it: can anyone think of a hacker (on any project, not just Mozilla) whose name would not fit into this scheme?

Fields:

  • Name: name as they wish it to be printed
  • Sortkey: part of the name that they wish to be used for sorting; would be the component corresponding to “family name” in almost all cases

The charset is Unicode. The sort is by base Latin letter. If a submission does not contain details of how they want their name to be sorted, I will make my best guess based on my knowledge of customs in their part of the world.

The other policies I have been implementing for about:credits (on which comments are also welcome) are:

  • Names normally written in non-Latin letters should be in romanized form. (This is a common practice, makes them easier for everyone to read, and no-one has objected thusfar.)
  • I include a family name, plus a person’s common/first/Christian name, that they normally use. I am Gervase Richard Markham, but most people know me as Gerv, so my entry would say Gerv Markham or Gervase Markham, at my option. But if someone’s name is John Mark Smith, and he is known as “John Mark”, then I would list him as John Mark Smith.
  • I use initial caps for consistent presentation.
  • I don’t include initials – names are either present in full or not present.
  • Unless someone officially only has one name (e.g. on their passport), I ask for at least two so that names are as distinctive as possible (knowing that names are not unique in general).

Microsoft ‘Mortally Wounds’ SHA-1

Microsoft has announced that CAs in its root program may not issue certs signed using the SHA-1 algorithm, starting just over two years from now, and that Windows will start refusing to recognise such certs starting just over 3 years from now.

Make no mistake, this is a huge move and an aggressive timetable. 98% of certificates in use on the Internet today use SHA-1. Any certificate being used on the public web today which has an expiry date more than 3 years in the future will not be able to live out its full life. And it’s also an important and necessary move. SHA-1 is weak, and as computing power increases, is only getting weaker. If someone came up with a successful preimage attack on SHA-1, they could preimage a commonly-used intermediate cert from a popular CA and impersonate any website in a way only detectable by someone who examines certificates very, very carefully.

I strongly welcome this, and want to use it as an opportunity to make further improvements in the CA ecosystem. Currently, the maximum lifetime of a certificate under the Baseline Requirements is 5 years. It is due to reduce to 39 months in April 2015. Given that 98% of the certificates on the Internet are going to need to be thrown away 3 years from now anyway, I want to take the opportunity to reduce that figure early.

Long-lived certificates are problematic because CAs understandably strongly resist having to call their customers up and tell them to replace their working certificates before they would naturally expire. So, if there are certificates out there with a lifetime of N years, you can only rely on 100% coverage or usage of an improved security practice after N years. With N = 5, that reduces the speed at which the industry can move. N = 3 isn’t awesome, but it’s a whole lot better than N = 5.

So I will be bringing forward a motion at the CAB Forum to update the Baseline Requirements to reduce the maximum certificate lifetime to 3 years, effective from January 1st 2014.

Links To mozillians.org: Omit Language Identifier

If you are putting a link to a mozillians.org profile in a wiki page, web page or other location, remove the language tag.

If you write https://mozillians.org/en-US/u/myk/, everyone gets the en-US-localized version of Mozillians, whatever language they speak. If you put https://mozillians.org/u/myk/, then people will get the version in the language their browser says they speak. Much better.

THBAPSA.

What Does ‘Mozillian’ Mean?

Six Summit sessions (2 in each location) tried to determine “What does ‘Mozillian’ mean?”. (For the tl;dr, skip to the bottom.) This blog post explains what the groups in Brussels came up with[0].

The proposed session plan tried to get the group to come up with statements about what does, or does not, make someone a Mozillian. The planned output was one, two or three bullet points under each of four headings – Task/Role, Opinions, Character and Actions. Here is the output from the two Brussels sessions, which I facilitated; I have tried to align similar ideas across the two columns.

Category Brussels 1 Brussels 2
Task/Role Must promote Mozilla values regularly  
  Job title does not have to include “Mozilla“ Must be unrelated to employment
    Must be unrelated to technical skills
     
Opinions Must share Mozilla values Must believe in open web.
  Must believe that users should be in control of their online presence  
     
Character Must be open-minded Must be respectful to people of different opinions.
  Must be a team-worker Should be conscious of and interact with community.
  Must not want all the credit  
     
Actions Try not to exclude groups out of Mozilla
  Must have contributed to a Mozilla project in any way Should proactively benefit the mission.
    Should share and/or use open source.

(Table by Tableizer)

It seems to me (and this is borne out by reading the more freeform Etherpads from Toronto) is that participants felt that a Mozillian has three major characteristics. Firstly, they have to believe in the Mozilla mission. Secondly, they have to actually do something to further that mission. People were willing to be generous about what that might be – it didn’t have to be technical and a potential Mozillian certainly didn’t have to be employed – but they had to do something. Further follow-up work might investigate what counts as something; important cases on the edge here are people who simply make a donation, and people who simply use the software – and the answer may be different for Release, Beta, Aurora or Nightly. But thirdly, the answers of both groups assumed (“must be a team worker”, “should interact with community”) that the person is actually part of a Mozillian community. Which would mean that donators, and people who simply ran the software (without e.g. filing any bug reports) would not be Mozillians.

One of the categories was “Character”. An interesting question which only crystallized itself during the session is this: “if someone does not exhibit a particular desirable character trait, does that make them not a Mozillian, or just a flawed human being (as we all are)?” This issue was discussed in groups when talking about points like “must not want all the credit”. Another interesting follow-up might be to explore whether there are any character flaws so severe, or actions so heinous, that they disqualify someone entirely from consideration.

Another key follow-up question, which we also didn’t have time to explore, is: “If someone in the Mozilla community is not a Mozillian by our new definition (e.g. someone who is paid to work on Mozilla, but does not believe in the mission), how do we treat them? Is it any different?”

But, to try and summarise, I think the Brussels groups felt that a Mozillian was someone who:

  1. believed in the Mozilla mission
  2. took action in support of that mission
  3. was an interacting part of the Mozilla community

So how do we produce a million Mozillians like that? :-)

[0] The Santa Clara sessions have not (yet) provided any session notes, and the Toronto sessions did not use the same session plan as the Brussels sessions and so did not have comparable outputs. The six session note Etherpads can be found linked from the master session Etherpad.

Location Services and Privacy

Mozilla is building a location service. This is a server to which you can send details of your (radio frequency) environment and it will respond with its best guess at where you are. The advantage of this is that it’s much quicker and more power efficient than spinning up GPS hardware (which takes a minimum of 30 seconds from cold). It can be fairly accurate; and even if it’s not, a rough location is much better than no location. For example, it lets you get a rough set of driving directions, and then reroute when your exact location is found. Due to AGPS, it also speeds up your GPS lock acquisition, getting you to an exact position faster. Lastly, GPS doesn’t work indoors, whereas this does. Google and other providers (such as Skyhook Wireless) already have such a service, and it’s built into e.g. the Android platform.

Such a service depends on having good data about what is being transmitted where, with what identifiers – mobile networks and WiFi, and maybe even Bluetooth. Our data set is created, at the moment, by people running MozStumbler, which records the RF environment, linked to actual positions obtained from GPS. Download, install and use the app today :-)

Now, as Mozilla, our initial impulse as an open organization would be to release all the raw collected data to the public so people can build awesome things we haven’t even thought of yet. However, it turns out that this data comes with some interesting privacy challenges. And I don’t only mean the privacy of the person stumbling or the person retrieving their location, I mean the privacy of the owners of the transmitting stations (e.g. WiFi access points or mobile phones acting as hotspots).

For example, let’s say someone moves a long way and doesn’t want to be found in their new location (for example, because they are escaping some sort of violence). If they take their wireless access point with them (and many non-technically-minded people might not think that was at all dangerous) then as soon as a stumbler drove by, a public database of raw data would reveal their new location to those who should not know it. Raw data may also contain the location of mobile phone hotspots (and therefore their owners). Other scenarios can be found, for the interested, in the bug report and security forum discussion.

The only way we know of so far to solve this is to tie bits of data together, such that you can only get a location when you submit, as part of your request, the IDs of two or more transmitting sources which the database already knows are close to each other – which means that you must be at that location. This is what Google’s location service does. The disadvantage of this is that if you are in an area with very little RF transmission around – e.g. just one access point, or just a mobile phone signal – the service can’t help you. The team experimented with hashing schemes to try and encode this restriction into a published data set, but we were unable to come up with anything workable. It means that basically, the data needs to be hidden behind an API which enforces this – which means we can’t publish the raw data.

There are other groups who are producing entirely open data of this type; it would be interesting to hear their views on such privacy questions. It would be good if we could make our data available to people who were willing to respect privacy constraints and encode those restrictions in their servers, and hopefully one day we’ll be able to do that. But at the moment, we can’t see any way to make the data set completely public :-( Interesting mathematical suggestions welcome…

Face Keys…

I’m currently in a “Cryptography Usability” session at Mozilla Festival, where someone made the point that crypto terminology is complex, and we should simplify it.

Inspired by this, I wondered: instead of “public key” and “private key”, why not call them “face key” and “arse key”? They are an associated pair, but you show one to the public, and keep the other one well hidden. It’s certainly a metaphor with explanatory power…