manifest.sha1 file

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
growth
Messages: 4
Registration: June 22, 2017 - 2:52 PM

June 22, 2017 - 2:56 PM

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.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 22, 2017 - 4:27 PM

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
growth
Messages: 4
Registration: June 22, 2017 - 2:52 PM

June 27, 2017 - 10:43

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.
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

June 27, 2017 - 12:35

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
growth
Messages: 4
Registration: June 22, 2017 - 2:52 PM

June 27, 2017 - 4:00 PM

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.
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

June 27, 2017 - 5:28 PM

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
growth
Messages: 4
Registration: June 22, 2017 - 2:52 PM

June 28, 2017 - 10:51

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
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

June 28, 2017 - 2:16 PM

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
Locked