Upgrading 3.14 -> 3.15 breaks sending messages -- java.lang.NoSuchMethodError: saveIdentity
See
https://github.com/AsamK/signal-cli/issues/1769
AsamK thinks this is a packaging error. From the systemd-log:
Mai 10 14:53:36 mail.cafev.de signal-cli[3135966]: java.lang.NoSuchMethodError: saveIdentity
Mai 10 14:53:36 mail.cafev.de signal-cli[3135966]: at org.signal.libsignal.internal.Native.SessionCipher_EncryptMessage(Native Method)
Mai 10 14:53:36 mail.cafev.de signal-cli[3135966]: at org.signal.libsignal.protocol.SessionCipher.lambda$encrypt$0(SessionCipher.java:103)
Mai 10 14:53:36 mail.cafev.de signal-cli[3135966]: at org.signal.libsignal.internal.FilterExceptions.filterExceptions(FilterExceptions.java:207)
Mai 10 14:53:36 mail.cafev.de signal-cli[3135966]: at org.signal.libsignal.protocol.SessionCipher.encrypt(SessionCipher.java:99)
Mai 10 14:53:36 mail.cafev.de signal-cli[3135966]: at org.signal.libsignal.protocol.SessionCipher.encrypt(SessionCipher.java:82)
...
I have the same problem on an AMD64 and a RaspberryPI / ARM64 system. Fortunately, I still had .debs for the RPI. Downgrading to 3.14 just made the things work again.
Is there an archive of old packages? After the upgrade to 3.15 I can no longer use signal-cli on a Nextcloud server where it is used to generate a 2nd factor for login. Downgrading to 3.14 on the Raspberry PI was not a problem and "solved" the error.