Page 1 of 1

Invalid signature

Published: October 11, 2016 - 4:33 PM
by gaelds
Good morning,

Since I switched PCs to create the WAPT packages, I get this kind of error message after modifying them:

Code: Select all

Errors:
    42 - 2016-10-11T15:41:36.017000 - Installation de dst-scratch (=2.0.450.1-2) (task #42): http://172.16.80.4/wapt/dst-scratch_2.0.450.1-2_all.wapt : 11770937 / 61952364 (19%) (10906 KB/s)
    http://172.16.80.4/wapt/dst-scratch_2.0.450.1-2_all.wapt : 24161397 / 61952364 (39%) (10633 KB/s)
    http://172.16.80.4/wapt/dst-scratch_2.0.450.1-2_all.wapt : 36551857 / 61952364 (59%) (9710 KB/s)
    http://172.16.80.4/wapt/dst-scratch_2.0.450.1-2_all.wapt : 48942317 / 61952364 (79%) (9881 KB/s)
    http://172.16.80.4/wapt/dst-scratch_2.0.450.1-2_all.wapt : 61332777 / 61952364 (99%) (9923 KB/s)
    http://172.16.80.4/wapt/dst-scratch_2.0.450.1-2_all.wapt : 61952364 / 61952364 (100%) (9615 KB/s)
    Exception: Package file C:\wapt\cache\dst-scratch_2.0.450.1-2_all.wapt signature is invalid
    Traceback (most recent call last):
    File "C:\wapt\waptservice\waptservice.py", line 2031, in run
    self.running_task.run()
    File "C:\wapt\waptservice\waptservice.py", line 1291, in pwrapper
    return func(*arg, **kwargs)
    File "C:\wapt\waptservice\waptservice.py", line 1351, in run
    self._run()
    File "C:\wapt\waptservice\waptservice.py", line 1753, in _run
    self.result = self.wapt.install(self.packagename,force = self.force)
    File "C:\wapt\common.py", line 3720, in install
    raise Exception(u'Package file %s signature is invalid' % ensure_unicode(fname))
    Exception: Package file C:\wapt\cache\dst-scratch_2.0.450.1-2_all.wapt signature is invalid
I installed the Wapt-dev package on the new PC, copied the certificate file from the old PC, and configured its path in the options. Is there anything else I need to do to ensure the signature is correct?

Re: Invalid signature

Published: October 11, 2016 - 4:53 PM
by htouvet
You need to put the path to the private key in the file c:\wapt\wapt-get.ini

Code: Select all

[global]
private_key=c:\private\macleprivee.pem

Re: Invalid signature

Published: October 12, 2016 - 08:16
by gaelds
Thank you! I will test it again with this modification.

Re: Invalid signature

Published: October 12, 2016 - 10:00 AM
by Matthew
Yes, it's actually a strange procedure because the console offers to make this change using the GUI but does not reflect the changes in the ini file.