Page 1 of 1
manifest.sha1 file
Published: June 22, 2017 - 2:56 PM
by grooth
Hello everyone
, here's my problem: I can't find the manifest.sha1 file or the signature file in my WAPT folder.
Is there a way to regenerate these files?
Thank you for your help.
Re: manifest.sha1 file
Published: June 22, 2017 - 4:27 PM
by sfonteneau
Hello,
the manifest.sha1 file is automatically generated during the package build.
https://www.wapt.fr/fr/doc/CreationPaqu ... oad-direct
When you edit a package, it is deleted.
Simon
Re: manifest.sha1 file
Published: June 27, 2017 - 10:43
by grooth
hello
I did wap-get -i built-upload
at the end I got this message:
1 packages successfully built
0 packages failed
WAPT Server user: *****
WAPT Server password:
Uploading sfa-geogebra5_5.0.367.0-2 all.wapt
Package upload successfully: sfa-geogebra5_5.0.367.0-2 all.wapt upload,1 packages analyzed
and I got this error message;
Exception: Package file C:\wapt\cache\sfa-geogebra5_5.0.367.0-2_all.wapt signature is invalid
Traceback (most recent call last):
File "C:\wapt\waptservice\waptservice.py", line 2100, in run
self.running_task.run()
File "C:\wapt\waptservice\waptservice.py", line 1360, in pwrapper
return func(*arg, **kwargs)
File "C:\wapt\waptservice\waptservice.py", line 1420, in run
self._run()
File "C:\wapt\waptservice\waptservice.py", line 1822, in _run
self.result = self.wapt.install(self.packagename,force = self.force)
File "C:\wapt\common.py", line 4108, in install
raise Exception(u'Package file %s signatureDo
Exception: Package file C:\wapt\cache\sfa-geogebra5_5.0.367.0-2_all.wapt signature is invalid.
you have any idea what this error is?
Thank you.
Re: manifest.sha1 file
Published: June 27, 2017 - 12:35
by agauvrit
Good morning
Code: Select all
Exception: Package file C:\wapt\cache\sfa-geogebra5_5.0.367.0-2_all.wapt signature is invalid
This means that the package present in the local WAPT cache is incorrect (in C:\wapt\cache)
Delete this file and try building your package again
Also ensure that the certificate in C:\wapt\ssl matches the private key used to sign the package.
Sincerely
Alexander
Re: manifest.sha1 file
Published: June 27, 2017 - 4:00 PM
by grooth
Hello,
thank you for your help.
I've verified that the certificate is the same in both the private and SSL folders, which it is.
I've also cleared the cache and tried reinstalling, but nothing changes; I still get the same error.
If you have any other ideas, I'd appreciate it.
Re: manifest.sha1 file
Published: June 27, 2017 - 5:28 PM
by agauvrit
A few points to ensure everyone is talking about the same thing
- The private key and the associated public certificate (the *.pem and *.crt files) are in the same folder outside the WAPT installation folder (e.g., C:\private\).
- These two elements were generated only once on the administrator's workstation for the creation of the installation agent
- The Geogebra package is signed with the private key located in the C:\private\ , e.g., C:\private\macle.pem
- configuration file waptconsole.ini does indeed contain the private_key which points to the private key in the C:\private (https://www.wapt.fr/fr/doc/Installation ... onsole-ini)
- The machine where you install the package has the public certificate in C:\wapt\ssl\ because you installed the agent generated from the WAPT console.
If all these conditions are met, we are starting from a good base.
If you regenerated a private key/certificate pair between steps, it is normal that it crashes.
Let us know if this solves your problem
Alexander
Re: manifest.sha1 file
Published: June 28, 2017 - 10:51
by grooth
Hello,
well, I checked everything one by one, and when I got to the last one, surprise, the key doesn't match.
So how can I get him the right key?
Anthony
Re: manifest.sha1 file
Published: June 28, 2017 - 2:16 PM
by agauvrit
In this case :
- Regenerate the agent from the administrator workstation
- Reinstall the agent on the machine where you want to deploy GeoGebra
- Edit and re-upload the package to your repository
- reinstall the package
Following this procedure should resolve your issue
Sincerely,
Alexander