Showing posts with label open standards. Show all posts
Showing posts with label open standards. Show all posts

2009-05-27

Analysis of Adobe RTMPE


A recently published analysis of RTMPE comes to the conclusion that, although the algorithm "provides end-to-end secrecy in exactly the same way that SSL provides end-to-end secrecy, it provides no security and uses no authentication of any kind." Nowhere is a secret key, a password or even a pass phrase required in order to decrypt the content: only a 32-byte hash value plus the size of the SWF file and publicly exchanged information, specifically the last 32 bytes of the first response from the streaming server, are involved.

Following this line of argument, it could be concluded that RTMPE is only a proprietary streaming protocol with encrypted transmission. It seems at least questionable whether Adobe could call this a circumvention of copy protection and thus be in a position to invoke the DMCA and prevent distribution of the software.

http://www.h-online.com/open/Adobe-acts-against-Flash-video-stream-recorder--/news/113370

2008-06-05

Linux package differences

I put a long comment under the article Ubuntu 7.10 to PCLinuxOS 2008. Here's a copy of it:

It's not so easy to create a unified, centralized repository for all Linux distros as you might think.

The distros exist because all these people have different opinions on how a Linux system should work. I'd say this is a real-time experiment, a Darwinian effort to see which approach works best. This is the price of innovation. At the other end is stagnation, and I don't think any of Linux users would like it to stagnate.

Reasons for why it's hard to create universal packages:
1) Improvements/differences in GCC compiler and so called "toolchain".
2) Different init systems and services management.
3) Different config files locations and syntax.
4) Different package formats and package management systems.

Explanations:

1) All binary programs that constitute a working system have to be compiled (translated from human-readable form into a form suitable for CPU to execute). In case of Linux the kernel, basic GNU tools and other useful programs (be it X Window System, GNOME/KDE/XFCE/etc, Firefox, K3B, and so on), this is done by a suite of GCC compilers and a set of tools like: automake, linkers, loaders, binutils and so on.

These tools are not set in stone, they are improved, changed, restructured over time, not to mention the occasional bugfixing. Sometimes these changes are INCOMPATIBLE, like changing the GCC from version 2.95 to 3.x line and then to 4.x series. The same is for accompanying tools. They all change as their requirements change (according to the user's demand).

So when a particular distro or a package developer decide to use a specific set of tools and libraries, with their specific versions and behaviour, these decisions can be a source of incompatibility across distros and package maintainers. So for example, an mplayer package from distro A may *NOT* work at all in distro B, because of so called ABI differences (Application Binary Interface). The compatibility is maintained at the source level instead. So it's the distro maintainers that worry about this, so they just recompile a problematic package and put a new version for use.

2) Even when the package is compatible at the binary level (which is true for most packages and distros), distro creators may have different views on how their systems work internally and how they handle system services. I mean the locations of service scripts (/etc/rc.d versus /etc/rc0.d versus /etc/init.d), their configuration files' locations (/etc/default versus /etc/conf.d) and structure, where they place working directories of services, and so on.

This may not apply to the end-user applications like web browser, multimedia player or CD/DVD burning application. But for things like cups (printing service) or apache (web server) it is a serious concern. Each distro may offer a unique approach here, because of people disagreeing on the details. So it may happen that a specific package from distro A would not work in distro B or may even break its installation. That's why users are advised *NOT* to install foreign packages on their own without thinking about consequences.

Compiling a package manually under a given distro typically yields in a working package that's tailored to this distro (and honestly it's not so hard as one can imagine). But since then it is the user that's responsible for maintaining such package and upgrading it when some bugs are found.

3) Sometimes even a basic structure of config files may be radically different. From my experience the network configuration varies wildly between distros (e.g. Debian, Mandriva, RedHat and Gentoo have it completely different). Apache configuration files are also well known to be differently separated and placed in different directories and under different names in distros. Just because people have different opinions and vision on how it should be done.

[Note: this section has been added here] Also, KDE installations may vary between distros: there can be different directory names, different number of config files, application launchers and so on. These are the parameters that can be set at the compilation time. So when people pick different values here, incompatibilities arise. For instance, Debian/(K)Ubuntu and PCLinuxOS have it completely different.

4) Package formats of DEB, RPM, TGZ, .recipe, .ebuild are different enough to be incompatible. In some packages there are little programs (maintainer scripts) that are run at the beginning of the installation or after a package is installed.

Each package format has a different way of describing dependencies (which other packages need to be installed first before a given package would run correctly). Even RPM or DEB packages from different distros may describe dependencies incompatibly. Even packages from different releases of the same distro may be incompatible!

Package formats also evolve, for example recently Ubuntu and Debian introduced the concept of package triggers, independently of pre-inst or post-inst scripts. Yes, this mechanism is backward compatible, but you get the idea.

Concluding, there are incentives to minimize the differences, like the noble FHS (Linux Filesystem Hierarchy Standard) or LSB (Linux Standard Base). So the problems are worked on, but for now it's really hard to create a package that would run unchanged in a number of distros. I don't say this would not change in the future, but I hope you now understand the problems here.

2008-05-01

Computer languages and beards

So it seems like if you really want the computer language you've created to succeed, you'd better grow a beard!

http://blogs.microsoft.co.il/blogs/tamir/archive/2008/04/28/computer-languages-and-facial-hair-take-two.aspx

One especially interesting aspect is that I intend to learn Python in its 3rd incarnation (so called Python 3000) when it is finished later this year. So hooray for Guido!

OOXML ISO aftermath in Poland

Not even ordinary people and experts in the field find the OOXML standardization procedure scandalous. Even members of the country standardization committees have concerns. Just read the letter to the president of the Polish Standardization Committee:
http://polishlinux.org/poland/ooxml-iso-aftermath-in-poland/

Here's the original letter (in Polish):
http://jakilinux.org/stuff/pkn/pismo_do_prezesa_PKN_21-03-2008.pdf

And here's the original answer (in Polish):
http://jakilinux.org/stuff/pkn/odpowiedz_prezesa_PKN_na_pismo_21-03-2008.pdf

2008-01-24

OOXML Payback Time as Global Standards Work in SC 34 "Grinds to a Halt"

Q: What do you get when you add too many new members to a committee and those members later refuse to vote?
A: A committee where work grinds to a halt.

The "original" members still try to vote, but the "fresh" members do not vote, yet still:

at least 50% of the P [Principal] members eligible to vote must in fact return a ballot.

So if the "fresh" members do not behave, the work stops. Nice? Not much. In my opinion they should be kicked out strong, after they receive an appropriate warning and do not respond to it either.

http://www.consortiuminfo.org/standardsblog/article.php?story=20071016092352827

Burton Group's response to Ars Technica's Article on the ODF/OOXML Report

http://ccsblog.burtongroup.com/collaboration_and_content/2008/01/response-to-ars.html

And the best quote:

ALL experts [...] who have REVIEWED [...] the OOXML specification have CONCLUDED that it is a memory dump of Microsoft Office binary data structures.

I wholeheartedly agree 100% - I have also concluded the same, not long ago after I've read the technical objections on the:
http://ooxmlisdefectivebydesign.blogspot.com/
(a nice reading, by the way).