Aki Sasaki: signtool py3 support
|
|
Пятница, 08 Июля 2016 г. 20:35
+ в цитатник
Mozilla RelEng uses a tool called
signtool for its signing. Historically, this has been part of the
build/tools repo, which we've been wanting to move away from.
I recently
ported build-tools to py3, essentially porting the libraries and unittests but ignoring most of the scripts.
Signing in a py3 scriptworker was the impetus behind this. However, after the port, I noticed signtool stopped working; I suspect I had hacked my virtualenv to debug, and something about that got it working in py3.
After getting permission to hard fork signtool, I ported it to use
requests
, and refactored it a bit to make it a little easier to test. There are still some overly complex functions and I only have 65% test coverage right now, but it's working in py3.
The code is
here and the latest package is
here.

comments
http://escapewindow.dreamwidth.org/247717.html
-
Запись понравилась
-
0
Процитировали
-
0
Сохранили
-