Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Thursday, 30 August 2012

e-tax 2012 on Mac and Linux FOI Part 2

I have received a reply to my freedom of information request for the source code of the etax client. The letter is dated the 9th of August 2012, but I have been too busy to blog about it because I am a candidate in the upcoming Parramatta council election. I also have not had time to reply to it.

In short it was refused.

It was a two page letter (I will scan it later) but the key paragraph is:
"I consider there is an increased likelihood of hacking if the source code is released and the serious ramifications of this outweigh the public factors in favour of release. I have therefore exempted the source code from release under Section 47E of the FOI Act."

In my appeal I will point out that various open-source software is developed with the source code publicly available and is just as secure as closed source equivalents - for example Apache and Linux. I will point out that Apache is used by the majority of webservers and Linux is widely deployed without any greater number of security issues.

Another key paragraph is:
"Section 11C of the FOI Act requires the office to publish details of information released under the Act on our website and make the information availble to the public unless it would result in the unreasonable release of personal or business information or it would be unreasonable to publish the information. If we were to release the code to you, we would be obliged to release it to the general public also."

While this is true that section 11C subsection 3 does require the release of the material, no mention is made of section 11C subsection 1c and subsection 2 which states that the Information Commissioner may make a determination that the information should not be published to the general public.

So my avenues of approach will be:
  • Appeal on the basis that numerous open-source projects are as secure as closed-source projects
  • During appeal clarify that request is only for etax client
  • I was also referred to a press release stating that a Mac OSX client is planned for 2013 but a cross-platform version was promised in 2007 - how can we be sure a Mac OSX version will be completed
  • Consult with the Office of the Information Commisioner to get a publication exception, so there is no chance of source code falling into the hands of "hackers"
  • If this FOI request fails, then launch a new FOI which requests a list of Windows function calls which are used during the pre-fill and lodgement processes
I have 30 days in which to appeal for a review by the ATO - so the 8th of September 2012. I have 60 days in which to appeal for a review by the OIC - so the 8th of October.

Tuesday, 14 August 2012

Using ISO 8601 Date on Ubuntu

Ubuntu ships with GNU's date version 8.13, which has an option --iso-8601. This is a great format for appending to logs. It is internationally unambiguous and english sorting order is the same as chronological order.

Unfortunately this option is not documented in Ubuntu's man page or info page for date.

The example output of "date --iso-8601=seconds" is
 

2012-08-14T20:40:55+1000


Alternatively with GNU date you can use "date +%FT%R:%S%z". 

Of course there is always the POSIX standard "date +%Y-%m-%dT%H:%M:%S%z"

Wednesday, 16 May 2012

Brother QL-500 on Ubuntu 12.04

It looks like the newest Ubuntu 12.04 breaks the Brother QL-500 printer driver.

After a lot of fiddling, including trying to use Brother's official driver, I found a solution.

Based on this forum post I edited /etc/cups/ppd/QL-500.ppd, changing "rastertoptch" to  "/usr/lib/x86_64-linux-gnu/cups/filter/rastertoptch". This is slightly different to the change in the forum post, but it is the same idea.

Update: it appears that a recent update has moved rastertoptch to /usr/lib/cups/filter/rastertoptch