AsamK / signal-cli

signal-cli provides an unofficial commandline, JSON-RPC and dbus interface for the Signal messenger.
GNU General Public License v3.0
3.13k stars 295 forks source link

problems with passbook files #995

Open Henner opened 2 years ago

Henner commented 2 years ago

Hi,

I am appending passbook files as following:

-a /tmp/ticket1.pkpass

the recipient is not able to add it to the Wallet in IOS. If I now forward this ticket from inside Signal to an other user using the share function, I can add it to wallet again... So maybe you are guessing the wrong Content-Typ or set it to application/octet-stream? The correct one should be: application/vnd.apple.pkpass Do you need a pass for testing?

I am running: debian bullseye/sid signal-cli 0.10.9 penjdk 17.0.4 2022-07-19

Henner commented 2 years ago

I solved it for me by adding the mime type to /etc/mime.types

but I would find it useful, if this was fixed as a fallback in signal-cli