GSoC/GCI Archive
Google Code-in 2014 Copyleft Games

Waf: Generic script signing utility

completed by: Eeshan Garg

mentors: ita, Arc Riley

The Waf file is a complex python script which contains its entire library and is often redistributed along the projects using it. In order to make sure that the file was issued by the Waf project, a digital signature (gnupg) is included at the end of the file. This signature can be verified through a separate python script which is relatively generic, yet signing any python script is not possible at the moment though.

The goal is to create a generic python utility that can create signed python files, this utility must leave the original file unmodified and output the target file either in the current folder or in another location on the filesystem. It must also prevent overwriting the original file unless a specific command-line option is given. It must also work on both Python 2 and 3, and with the encodings iso8859-1 and utf-8.

Add this standalone script next to the "" script, commit your changes with a signed commit (git -S), then create a patch by using git-format and submit an enhancement request to the Waf bug tracker on googlecode, then post the resulting URL to this task

While working on this task you should join and remain in #CopyleftGames and #Waf on Freenode to get help, feedback, and guidance from mentors and other developers.

When you've done, post the resulting tool this task.