Bug ID 1220083
Summary php-composer2: composer has a broken signature
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware All
OS openSUSE Tumbleweed
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter glaser@b1-systems.de
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

Composer 2.7.1 as it is currently available in Tumbleweed crashes due to a
broken signature and is unsuable.

Steps to reproduce:
- launch a container based on docker.io/opensuse/tumbleweed:latest
- install the package `php-composer2`
- run `composer --version`

Expected result:
composer prints on shell: `Composer version 2.7.1 2024-02-09 15:26:28`

Actual result:
composer crashes with:
```
PHP Fatal error:  Uncaught PharException: phar "/usr/bin/composer2" has a
broken signature in /usr/bin/composer2:28
Stack trace:
#0 /usr/bin/composer2(28): Phar::mapPhar()
#1 {main}
  thrown in /usr/bin/composer2 on line 28
```

Affected version:
composer 2.7.1-1.1


Additional Information:
A diffoscope comparison between the composer 2.7.1 executable from upstream
(getcomposer.org) and `/usr/bin/composer2` from openSUSE's package reveals that
`/usr/bin/composer2` differs only by an additional, superfluous `0xa0` at the
end.


You are receiving this mail because: