LibreSign / LibreSign/libresign

Invalid hash for aarch64 Java binary on Nextcloud 31

Open
#5,453 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
818
Forks
146
Avg merge
11h 31m
Merged PRs (30d)
326

Description

Describe the bug

Invalid hash for aarch64 Java binary on Nextcloud 31

To reproduce

Hello,

I am running Nextcloud on an aarch64 (ARM64) server and am unable to get LibreSign to validate its dependencies.

Problem:
The setup page shows an "Invalid hash of binaries files" error for the java resource. This prevents the jsignpdf dependency from working as well.

Steps Taken:
I have run the occ libresign:install --all command inside the Docker container. The command line reports "Finished with success" after downloading the java aarch64 linux... binary. However, the error in the Nextcloud UI persists even after re-validating.

This indicates that the hash of the downloaded aarch64 Java binary does not match the expected hash in the app's source code.

I am attaching screenshots of the UI error and the successful terminal command output.

Thank you!

Expected behavior

No response

Screenshots
Image Image
Environment information
  • OS: Ubuntu 24.04 LTS
  • Architecture: aarch64
  • Installation: Nextcloud via Docker (on CapRover)
  • Nextcloud Version: 31.0.0
  • LibreSign App Version: 11.4.1
Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the occ libresign:install --all entry point and trace the Java binary download and hash validation for the aarch64 Linux resource. Reproduce the installation on an ARM64 environment, then verify that the downloaded binary passes validation and that the jsignpdf dependency works without the setup-page error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.