-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: nuxeo-connect-client
Currently there is no checksum performed on a package downloaded by Nuxeo from Connect.
Connect client should:
- download the package
- compute an MD5 checksum of the downloaded file
- compare this sum to the digest property
All is here to do so:
- on Connect side there is the digest property containing a MD5 checksum of the attached package
- in the JAVA APIs it is also available:
https://docs.oracle.com/javase/8/docs/api/java/security/MessageDigest.html
a practical example:
https://www.mkyong.com/java/java-md5-hashing-example/