2 vim:set ts=4 sw=4 tw=82 noet:
12 signal-cli - A commandline interface for the Signal messenger
16 *signal-cli* [--config CONFIG] [-h | -v | -a ACCOUNT | --dbus | --dbus-system] command [command-options]
20 signal-cli is a commandline interface for libsignal-service-java.
21 It supports registering, verifying, sending and receiving messages.
22 For registering you need a phone number where you can receive SMS or incoming calls.
23 signal-cli was primarily developed to be used on servers to notify admins of important events.
24 For this use-case, it has a dbus and a JSON-RPC interface, that can be used to send messages from other programs.
26 For some functionality the Signal protocol requires that all messages have been received from the server.
27 The `receive` command should be regularly executed.
28 In daemon mode messages are by default continuously received.
33 Show help message and quit.
36 Print the version and quit.
39 Raise log level and include lib signal logs.
41 *--log-file* LOG_FILE::
42 Write log output to the given file.
43 If `--verbose` is also given, the detailed logs will only be written to the log file.
46 Scrub possibly sensitive information from the log, like phone numbers and UUIDs.
47 Doesn't work reliably on dbus logs with very verbose logging (`-vvv`)
50 Set the path, where to store the config.
51 Make sure you have full read/write access to the given directory.
52 (Default: `$XDG_DATA_HOME/signal-cli` (`$HOME/.local/share/signal-cli`))
54 *-a* ACCOUNT, *--account* ACCOUNT::
55 Specify your phone number, that will be your identifier.
56 The phone number must include the country calling code, i.e. the number must start with a "+" sign.
58 This flag must not be given for the `link` command.
59 It is optional for the `daemon` command.
60 For all other commands it is only optional if there is exactly one local user in the config directory.
62 *--service-environment* ENVIRONMENT::
63 Choose the server environment to use:
69 Make request via user dbus.
72 Make request via system dbus.
75 Connect to another D-Bus bus name than the default.
77 *-o* OUTPUT-MODE, *--output* OUTPUT-MODE::
78 Specify if you want commands to output in either "plain-text" mode or in "json".
79 Defaults to "plain-text"
81 *--trust-new-identities* TRUST-MODE::
82 Choose when to trust new identities:
83 - `on-first-use` (default): Trust the first seen identity key from new users, changed keys must be verified manually
84 - `always`: Trust any new identity key without verification
85 - `never`: Don't trust any unknown identity key, every key must be verified manually
87 *--disable-send-log*::
88 Disable message send log (for resending messages that recipient couldn't decrypt).
94 Register a phone number with SMS or voice verification.
95 Use the verify command to complete the verification.
97 If the account is just deactivated, the register command will just reactivate account, without requiring an SMS verification.
98 By default the unregister command just deactivates the account, in which case it can be reactivated without sms verification if the local data is still available.
99 If the account was deleted (with --delete-account) it cannot be reactivated.
102 The verification should be done over voice, not SMS.
103 Voice verification only works if an SMS verification has been attempted before.
105 *--captcha* CAPTCHA::
106 The captcha token, required if registration failed with a captcha required error.
107 To get the token, go to https://signalcaptchas.org/registration/generate.html
108 For the staging environment, use: https://signalcaptchas.org/staging/registration/generate.html
109 After solving the captcha, right-click on the "Open Signal" link and copy the link.
112 Register even if account is already registered.
116 Verify the number using the code received via SMS or voice.
119 The verification code.
121 *-p* PIN, *--pin* PIN::
122 The registration lock PIN, that was set by the user.
123 Only required if a PIN was set.
127 Disable push support for this device, i.e. this device won't receive any more messages.
128 If this is the primary device, other users can't send messages to this number anymore.
129 Use "updateAccount" to undo this.
130 To remove a linked device, use "removeDevice" from the primary device.
133 Delete account completely from server.
134 Cannot be undone without loss.
135 You will have to be readded to each group.
137 CAUTION: Only delete your account if you won't use this number again!
139 === deleteLocalAccountData
141 Delete all local data for this account.
142 Data should only be deleted if the account is unregistered.
144 CAUTION: This cannot be undone.
146 *--ignore-registered*::
147 Delete the account data even though the account is still registered on the Signal servers.
151 Update the account attributes on the signal server.
152 Can fix problems with receiving messages.
154 *-n* NAME, *--device-name* NAME::
155 Set a new device name for the primary or linked device
157 *-u* NAME *--username* NAME::
158 Specify a username that can then be used to contact this account.
159 This can either be just the nickname (e.g. test) or the complete username with discriminator (e.g. test.000).
160 Returns the new username with discriminator and the username link.
162 *--delete-username*::
163 Delete the username associated with this account.
165 *--unrestricted-unidentified-sender* {true,false}::
166 Enable if anyone should be able to send you unidentified sender messages.
168 *--discoverable-by-number* {true,false}::
169 Enable/disable if the account should be discoverable by phone number
171 *--number-sharing* {true,false}::
172 Indicates if Signal should share its phone number when sending a message.
174 === startChangeNumber
176 Change an account to a new phone number with SMS or voice verification.
177 Use the finishChangeNumber command to complete the verification.
180 The new phone number.
183 The verification should be done over voice, not SMS.
184 Voice verification only works if an SMS verification has been attempted before.
187 The captcha token, required if registration failed with a captcha required error.
188 To get the token, go to https://signalcaptchas.org/registration/generate.html
189 For the staging environment, use: https://signalcaptchas.org/staging/registration/generate.html
190 After solving the captcha, right-click on the "Open Signal" link and copy the link.
192 === finishChangeNumber
194 Verify the number using the code received via SMS or voice.
197 The new phone number.
199 *-v*, *--verification-code*::
200 The verification code.
202 *-p* PIN, *--pin* PIN::
203 The registration lock PIN, that was set by the user.
204 Only required if a PIN was set.
206 === updateConfiguration
208 Update signal configs and sync them to linked devices.
209 This command only works on the primary devices.
211 *--read-receipts* {true,false}::
212 Indicates if Signal should send read receipts.
214 *--unidentified-delivery-indicators* {true,false}::
215 Indicates if Signal should show unidentified delivery indicators.
217 *--typing-indicators* {true,false}::
218 Indicates if Signal should send/show typing indicators.
220 *--link-previews* {true,false}::
221 Indicates if Signal should generate link previews.
225 Set a registration lock pin, to prevent others from registering this number.
227 REGISTRATION_LOCK_PIN::
228 The registration lock PIN, that will be required for new registrations (resets after 7 days of inactivity)
232 Remove the registration lock pin.
236 Link to an existing device, instead of registering a new number.
237 This shows a "sgnl://linkdevice?uuid=..." URI.
238 If you want to connect to another signal-cli instance, you can just use this URI.
239 If you want to link to an Android/iOS device, create a QR code with the URI (e.g. with qrencode) and scan that in the Signal app.
241 *-n* NAME, *--name* NAME::
242 Optionally specify a name to describe this new device.
243 By default "cli" will be used.
247 Link another device to this device.
248 Only works, if this is the primary device.
251 Specify the uri contained in the QR code shown by the new device.
252 You will need the full URI such as "sgnl://linkdevice?uuid=..." (formerly "tsdevice:/?uuid=...") Make sure to enclose it in quotation marks for shells.
256 Show a list of linked devices.
260 Remove a linked device.
261 Only works, if this is the primary device.
263 *-d* DEVICE_ID, *--device-id* DEVICE_ID::
264 Specify the device you want to remove.
265 Use listDevices to see the deviceIds.
269 Uses a list of phone numbers to determine the statuses of those users.
270 Shows if they are registered on the Signal Servers or not.
271 In json mode this is outputted as a list of objects.
273 [NUMBER [NUMBER ...]]::
274 One or more numbers to check.
278 Send a message to another user or group.
281 Specify the recipients’ phone number.
284 Send the message to self without notification.
286 *-g* GROUP, *--group-id* GROUP::
287 Specify the recipient group ID in base64 encoding.
289 *-u* USERNAME, *--username* USERNAME::
290 Specify the recipient username or username link.
292 *-m* MESSAGE, *--message* MESSAGE::
295 *--message-from-stdin*::
296 Read the message from standard input.
298 *-a* [ATTACHMENT [ATTACHMENT ...]], *--attachment* [ATTACHMENT [ATTACHMENT ...]]::
299 Add one or more files as attachment.
300 Can be either a file path or a data URI.
301 Data URI encoded attachments must follow the RFC 2397.
302 Additionally a file name can be added:
303 e.g.: `data:<MIME-TYPE>;filename=<FILENAME>;base64,<BASE64 ENCODED DATA>`
305 *--sticker* STICKER::
306 Send a sticker of a locally known sticker pack (syntax: stickerPackId:stickerId).
307 Shouldn't be used together with `-m` as the official clients don't support this.
308 e.g.: `--sticker 00abac3bc18d7f599bff2325dc306d43:2`
311 Mention another group member (syntax: start:length:recipientNumber) In the apps the mention replaces part of the message text, which is specified by the start and length values.
312 e.g.: `-m "Hi X!" --mention "3:1:+123456789"`
315 Style parts of the message text (syntax: start:length:STYLE).
316 Where STYLE is one of: BOLD, ITALIC, SPOILER, STRIKETHROUGH, MONOSPACE
318 e.g.: `-m "Something BIG!" --text-style "10:3:BOLD"` or for a mixed text style `-m "Something BIG!" --text-style "0:9:ITALIC" "10:3:BOLD"`
320 *--quote-timestamp*::
321 Specify the timestamp of a previous message with the recipient or group to add a quote to the new message.
324 Specify the number of the author of the original message.
327 Specify the message of the original message.
330 Specify the mentions of the original message (same format as `--mention`).
332 *--quote-text-style*::
333 Style parts of the original message text (same format as `--text-style`).
335 *--quote-attachment*::
336 Specify the attachments of the original message (syntax: contentType[:filename[:previewFile]]), e.g. 'audio/aac' or 'image/png:test.png:/tmp/preview.jpg'.
339 Specify the url for the link preview.
340 The same url must also appear in the message body, otherwise the preview won't be displayed by the apps.
343 Specify the title for the link preview (mandatory).
345 *--preview-description*::
346 Specify the description for the link preview (optional).
349 Specify the image file for the link preview (optional).
351 *--story-timestamp*::
352 Specify the timestamp of a story to reply to.
355 Specify the number of the author of the story.
357 *-e*, *--end-session*::
358 Clear session state and send end session message.
361 Specify the timestamp of a previous message with the recipient or group to send an edited message.
363 === sendMessageRequestResponse
365 Send response to a message request to linked devices.
368 Specify the recipients’ phone number.
370 *-g* GROUP, *--group-id* GROUP::
371 Specify the recipient group ID in base64 encoding.
373 *-u* USERNAME, *--username* USERNAME::
374 Specify the recipient username or username link.
377 Type of message request response (accept, delete)
379 === sendPaymentNotification
381 Send a payment notification.
384 Specify the recipient’s phone number.
386 *--receipt* RECEIPT::
387 The base64 encoded receipt blob.
390 Specify a note for the payment notification.
394 Send reaction to a previously received or sent message.
397 Specify the recipients’ phone number.
399 *-g* GROUP, *--group-id* GROUP::
400 Specify the recipient group ID in base64 encoding.
402 *-u* USERNAME, *--username* USERNAME::
403 Specify the recipient username or username link.
405 *-e* EMOJI, *--emoji* EMOJI::
406 Specify the emoji, should be a single unicode grapheme cluster.
408 *-a* NUMBER, *--target-author* NUMBER::
409 Specify the number of the author of the message to which to react.
411 *-t* TIMESTAMP, *--target-timestamp* TIMESTAMP::
412 Specify the timestamp of the message to which to react.
418 React to a story instead of a normal message
422 Send a read or viewed receipt to a previously received message.
425 Specify the sender’s phone number.
427 *-t* TIMESTAMP, *--target-timestamp* TIMESTAMP::
428 Specify the timestamp of the message to which to react.
431 Specify the receipt type, either `read` (the default) or `viewed`.
435 Send typing message to trigger a typing indicator for the recipient.
436 Indicator will be shown for 15seconds unless a typing STOP message is sent first.
439 Specify the recipients’ phone number.
441 *-g* GROUP, *--group-id* GROUP::
442 Specify the recipient group ID in base64 encoding.
445 Send a typing STOP message.
449 Remotely delete a previously sent message.
452 Specify the recipients’ phone number.
454 *-g* GROUP, *--group-id* GROUP::
455 Specify the recipient group ID in base64 encoding.
457 *-u* USERNAME, *--username* USERNAME::
458 Specify the recipient username or username link.
460 *-t* TIMESTAMP, *--target-timestamp* TIMESTAMP::
461 Specify the timestamp of the message to delete.
465 Query the server for new messages.
466 New messages are printed on standard output and attachments are downloaded to the config directory.
467 In json mode this is outputted as one json object per line.
469 *-t* TIMEOUT, *--timeout* TIMEOUT::
470 Number of seconds to wait for new messages (negative values disable timeout).
471 Default is 5 seconds.
474 Maximum number of messages to receive, before returning.
476 *--ignore-attachments*::
477 Don’t download attachments of received messages.
480 Don’t receive story messages from the server.
483 *--send-read-receipts*::
484 Send read receipts for all incoming data messages (in addition to the default delivery receipts)
488 Join a group via an invitation link.
491 The invitation link URI (starts with `https://signal.group/#`)
495 Create or update a group.
496 If the user is a pending member, this command will accept the group invitation.
498 *-g* GROUP, *--group-id* GROUP::
499 Specify the recipient group ID in base64 encoding.
500 If not specified, a new group with a new random ID is generated.
502 *-n* NAME, *--name* NAME::
503 Specify the new group name.
505 *-d* DESCRIPTION, *--description* DESCRIPTION::
506 Specify the new group description.
508 *-a* AVATAR, *--avatar* AVATAR::
509 Specify a new group avatar image file.
511 *-m* [MEMBER [MEMBER ...]], *--member* [MEMBER [MEMBER ...]]::
512 Specify one or more members to add to the group.
514 *-r* [MEMBER [MEMBER ...]], *--remove-member* [MEMBER [MEMBER ...]]::
515 Specify one or more members to remove from the group
517 *--admin* [MEMBER [MEMBER ...]]::
518 Specify one or more members to make a group admin
520 *--remove-admin* [MEMBER [MEMBER ...]]::
521 Specify one or more members to remove group admin privileges
523 *--ban* [MEMBER [MEMBER ...]]::
524 Specify one or more members to ban from joining the group.
525 Banned members cannot join or request to join via a group link.
527 *--unban* [MEMBER [MEMBER ...]]::
528 Specify one or more members to remove from the ban list
531 Reset group link and create new link password
533 *--link* LINK_STATE::
534 Set group link state: `enabled`, `enabled-with-approval`, `disabled`
536 *--set-permission-add-member* PERMISSION::
537 Set permission to add new group members: `every-member`, `only-admins`
539 *--set-permission-edit-details* PERMISSION::
540 Set permission to edit group details: `every-member`, `only-admins`
542 *--set-permission-send-messages* PERMISSION::
543 Set permission to send messages in group: `every-member`, `only-admins`
544 Groups where only admins can send messages are also called announcement groups
546 *-e* EXPIRATION_SECONDS, *--expiration* EXPIRATION_SECONDS::
547 Set expiration time of messages (seconds).
548 To disable expiration set expiration time to 0.
552 Send a quit group message to all group members and remove self from member list.
553 If the user is a pending member, this command will decline the group invitation.
555 *-g* GROUP, *--group-id* GROUP::
556 Specify the recipient group ID in base64 encoding.
559 Delete local group data completely after quitting group.
563 Show a list of known groups and related information.
564 In json mode this is outputted as an list of objects and is always in detailed mode.
567 Include the list of members of each group and the group invite link.
570 Filter the group list by one or more group IDs.
574 Show a list of known contacts with names and profiles.
575 When a specific recipient is given, its profile will be refreshed.
578 Specify the recipients’ phone number.
580 *-a*, *--all-recipients*::
581 Include all known recipients, not only contacts.
584 Specify if only blocked or unblocked contacts should be shown (default: all contacts)
587 Find contacts with the given contact or profile name.
591 List all known identity keys and their trust status, fingerprint and safety number.
593 *-n* NUMBER, *--number* NUMBER::
594 Only show identity keys for the given phone number.
598 Set the trust level of a given number.
599 The first time a key for a number is seen, it is trusted by default (TOFU).
600 If the key changes, the new key must be trusted manually.
603 Specify the phone number, for which to set the trust.
605 *-a*, *--trust-all-known-keys*::
606 Trust all known keys of this user, only use this for testing.
608 *-v* VERIFIED_SAFETY_NUMBER, *--verified-safety-number* VERIFIED_SAFETY_NUMBER::
609 Specify the safety number of the key, only use this option if you have verified the safety number.
610 Can be either the plain text numbers shown in the app or the bytes from the QR-code, encoded as base64.
614 Update the profile information shown to message recipients.
615 The profile is stored encrypted on the Signal servers.
616 The decryption key is sent with every outgoing messages to contacts and included in every group.
618 *--given-name* NAME, *--name* NAME::
621 *--family-name* FAMILY_NAME::
624 *--about* ABOUT_TEXT::
625 New profile status text.
627 *--about-emoji* EMOJI::
628 New profile status emoji.
630 *--avatar* AVATAR_FILE::
631 Path to the new avatar image file.
636 *--mobile-coin-address*::
637 New MobileCoin address (Base64 encoded public address)
641 Update the info associated to a number on our contact list.
642 This change is only local but can be synchronized to other devices by using `sendContacts` (see below).
643 If the contact doesn't exist yet, it will be added.
646 Specify the contact phone number.
648 *--given-name* NAME, *--name* NAME::
651 *--family-name* FAMILY_NAME::
654 *-e*, *--expiration* EXPIRATION_SECONDS::
655 Set expiration time of messages (seconds).
656 To disable expiration set expiration time to 0.
660 Remove the info of a given contact
663 Specify the contact phone number.
666 Hide the contact in the contact list, but keep the data.
669 Delete all data associated with this contact, including identity keys and sessions.
673 Block the given contacts or groups (no messages will be received).
674 This change is only local but can be synchronized to other devices by using `sendContacts` (see below).
676 [CONTACT [CONTACT ...]]::
677 Specify the phone numbers of contacts that should be blocked.
679 *-g* [GROUP [GROUP ...]], *--group-id* [GROUP [GROUP ...]]::
680 Specify the group IDs that should be blocked in base64 encoding.
684 Unblock the given contacts or groups (messages will be received again).
685 This change is only local but can be synchronized to other devices by using `sendContacts` (see below).
687 [CONTACT [CONTACT ...]]::
688 Specify the phone numbers of contacts that should be unblocked.
690 *-g* [GROUP [GROUP ...]], *--group-id* [GROUP [GROUP ...]]::
691 Specify the group IDs that should be unblocked in base64 encoding.
695 Send a synchronization message with the local contacts list to all linked devices.
696 This command should only be used if this is the primary device.
700 Send a synchronization request message to the primary device (for group, contacts, ...).
701 The primary device will respond with synchronization messages with full contact and group lists.
703 === uploadStickerPack
705 Upload a new sticker pack, consisting of a manifest file and the sticker images. +
706 Images must conform to the following specification: (see https://support.signal.org/hc/en-us/articles/360031836512-Stickers#sticker_reqs )
708 - Static stickers in PNG or WebP format
709 - Animated stickers in APNG format,
710 - Maximum file size for a sticker file is 300KiB
711 - Image resolution of 512 x 512 px
713 The required manifest.json has the following format:
718 "title": "<STICKER_PACK_TITLE>",
719 "author": "<STICKER_PACK_AUTHOR>",
720 "cover": { // Optional cover, by default the first sticker is used as cover
721 "file": "<name of image file, mandatory>",
722 "contentType": "<optional>",
723 "emoji": "<optional>"
727 "file": "<name of image file, mandatory>",
728 "contentType": "<optional>",
729 "emoji": "<optional>"
737 The path of the manifest.json or a zip file containing the sticker pack you wish to upload.
741 Show a list of known sticker packs.
745 Install a sticker pack for this account.
748 Specify the uri of the sticker pack.
749 e.g. https://signal.art/addstickers/#pack_id=XXX&pack_key=XXX
753 Gets the raw data for a specified attachment.
754 This is done using the ID of the attachment the recipient or group ID.
755 The attachment data is returned as a Base64 String.
758 The ID of the attachment as given in the attachment list of the message.
760 *--recipient* [RECIPIENT]::
761 Specify the number which sent the attachment.
762 Referred to generally as recipient.
764 *-g* [GROUP], *--group-id* [GROUP]::
765 Alternatively, specify the group IDs for which to get the attachment.
769 Gets the raw data for a specified contact, contact's profile or group avatar.
770 The attachment data is returned as a Base64 String.
772 *--contact* [RECIPIENT]::
773 Specify the number of a recipient.
775 *--profile* [RECIPIENT]::
776 Specify the number of a recipient.
778 *-g* [GROUP], *--group-id* [GROUP]::
779 Alternatively, specify the group ID for which to get the avatar.
783 Gets the raw data for a specified sticker.
784 The attachment data is returned as a Base64 String.
786 *--pack-id* [PACK_ID]::
787 Specify the id of a sticker pack (hex encoded).
789 *--sticker-id* [STICKER_ID]::
790 Specify the index of a sticker in the sticker pack.
794 signal-cli can run in daemon mode and provides JSON-RPC or an experimental dbus interface.
795 If no `-a` account is given, all local accounts will be loaded.
796 Multiple interfaces can be used at the same time, e.g. `daemon --socket --dbus`
798 *--socket [SOCKET]*::
799 Export a JSON-RPC interface on a UNIX socket (default $XDG_RUNTIME_DIR/signal-cli/socket). +
800 See **signal-cli-jsonrpc**(5) for info on the JSON-RPC interface.
802 *--tcp [HOST:PORT]*::
803 Export a JSON-RPC interface on a TCP socket (default localhost:7583). +
804 See **signal-cli-jsonrpc**(5) for info on the JSON-RPC interface.
806 *--http [HOST:PORT]*::
807 Expose a JSON-RPC interface as http endpoint (default localhost:8080).
808 The JSON-RPC endpoint is `/api/v1/rpc`. +
809 See **signal-cli-jsonrpc**(5) for info on the JSON-RPC interface.
812 Export DBus interface on user bus. +
813 See **signal-cli-dbus**(5) for info on the dbus interface.
816 Export DBus interface on system bus. +
817 See **signal-cli-dbus**(5) for info on the dbus interface.
820 Claim another D-Bus bus name than the default.
822 *--ignore-attachments*::
823 Don’t download attachments of received messages.
826 Don’t receive story messages from the server.
828 *--send-read-receipts*::
829 Send read receipts for all incoming data messages (in addition to the default delivery receipts)
831 *--no-receive-stdout*::
832 Don’t print received messages to stdout.
835 Specify when to start receiving messages (on-start, on-connection, manual)
839 Run in signal-cli in JSON-RPC mode.
840 Reads JSON-RPC requests on stdin and responds on stdout.
841 See **signal-cli-jsonrpc**(5) for info on the JSON-RPC interface.
843 *--ignore-attachments*::
844 Don’t download attachments of received messages.
847 Don’t receive story messages from the server.
849 *--send-read-receipts*::
850 Send read receipts for all incoming data messages (in addition to the default delivery receipts)
853 Specify when to start receiving messages (on-start, manual)
855 === submitRateLimitChallenge
857 When running into rate limits, sometimes the limit can be lifted, by solving a CAPTCHA.
858 To get the captcha token, go to https://signalcaptchas.org/challenge/generate.html
859 For the staging environment, use: https://signalcaptchas.org/staging/registration/generate.html
861 *--challenge* CHALLENGE_TOKEN::
862 The challenge token from the failed send attempt.
864 *--captcha* CAPTCHA::
865 The captcha result, starting with signalcaptcha://
869 Register a number (with SMS verification)::
870 signal-cli -a ACCOUNT register
872 Verify the number using the code received via SMS or voice::
873 signal-cli -a ACCOUNT verify CODE
875 Send a message to one or more recipients::
876 signal-cli -a ACCOUNT send -m "This is a message" [RECIPIENT [RECIPIENT ...]] [-a [ATTACHMENT [ATTACHMENT ...]]]
878 Pipe the message content from another process::
879 uname -a | signal-cli -a ACCOUNT send --message-from-stdin [RECIPIENT [RECIPIENT ...]]
882 signal-cli -a ACCOUNT updateGroup -n "Group name" -m [MEMBER [MEMBER ...]]
884 Add member to a group::
885 signal-cli -a ACCOUNT updateGroup -g GROUP_ID -m "NEW_MEMBER"
887 Accept a group invitation::
888 signal-cli -a ACCOUNT updateGroup -g GROUP_ID
891 signal-cli -a ACCOUNT quitGroup -g GROUP_ID
893 Send a message to a group::
894 signal-cli -a ACCOUNT send -m "This is a message" -g GROUP_ID
896 Trust new key, after having verified it::
897 signal-cli -a ACCOUNT trust -v SAFETY_NUMBER NUMBER
899 Trust new key, without having verified it. Only use this if you don't care about security::
900 signal-cli -a ACCOUNT trust -a NUMBER
904 * *1*: Error is probably caused and fixable by the user
905 * *2*: Some unexpected error
906 * *3*: Server or IO error
907 * *4*: Sending failed due to untrusted key
908 * *5*: Server rate limiting error
912 The password and cryptographic keys are created when registering and stored in the current users home directory, the directory can be changed with *--config*:
914 `$XDG_DATA_HOME/signal-cli/` (`$HOME/.local/share/signal-cli/`)
918 Maintained by AsamK <asamk@gmx.de>, who is assisted by other open source contributors.
919 For more information about signal-cli development, see
920 <https://github.com/AsamK/signal-cli>.