Scott Weber
6cd64a86d2
428 message send response handler that doesn't work
2023-07-19 00:17:08 -04:00
Scott Weber
b9b021a90b
I think this sends to a group, but i got spam blocked
...
(rate limited with 428 "pushChallenge")
2023-07-18 23:45:42 -04:00
Scott Weber
9090da3643
Decrypt group data
2023-07-17 16:06:48 -04:00
Scott Weber
f20a67d6ff
Refactor out most packages, and successfully decrypt group title :O
2023-07-16 23:31:38 -04:00
Scott Weber
58e64d885d
Fetching group metadata from server!
...
Had to use storage.signal.org, and had to ignore a very misleading
AuthCredentialPresentation lengths in the FFI header, it was leading me
to improperly truncate the presentation before sending >:(
2023-07-16 17:33:28 -04:00
Scott Weber
0b9df4ffde
Successfully fetching and unmunging group auth credentials
2023-07-14 15:00:25 -04:00
Scott Weber
84e7ab7f85
Fix end of files (linter)
2023-07-10 11:45:45 -04:00
Scott Weber
c8efd9de16
Send decrypted group messages to a new portal (and get correct puppets!)
2023-07-10 11:28:23 -04:00
Scott Weber
2755008f4b
Decrypting group messages!!! (but going to the wrong portal)
2023-07-10 00:07:44 -04:00
Scott Weber
58afee173f
Tidy incoming message handler and fix sender_key_store
2023-07-09 23:38:13 -04:00
Scott Weber
9f592956e0
Almost decrypting group message, but getting an error
...
"ciphertext version was too old <2>"
2023-07-09 09:39:45 -04:00
Scott Weber
a3b2056df7
Decrypt profiles!!!!!
2023-07-03 10:15:30 -04:00
Scott Weber
82634e2a15
Fetching encrypted profile data and ProfileKeyCredential!
...
Had to use the right UUID, and convert it to bytes :S
2023-06-29 21:36:09 -04:00
Scott Weber
68c4f2085d
Successfully create and send credential request, but it doesn't help get a profile
2023-06-29 17:12:47 -04:00
Scott Weber
5653b2bd50
Move profile code to it's own file
2023-06-26 10:47:21 -04:00
Scott Weber
f7b62677ba
Add a new unauthed websocket, and use it to fetch parts of a profile
...
but the server won't even send me the encrypted bits yet
2023-06-26 10:43:33 -04:00
Scott Weber
bd401ca051
Fetch a profile without any encrypted fields
2023-06-25 17:21:19 -04:00
Scott Weber
177cb62577
Lots of fixes
...
- Store profile keys
- Fix DB users
- Fix puppets
- Fix prekey bundles (Kyber)
2023-06-22 17:28:11 -04:00
Scott Weber
6b4fb75095
WIP: (doesn't compile) ProfileKey FFI (to load numbers on new puppets)
2023-06-17 10:22:22 -04:00
Scott Weber
7bc9a08975
DIRTY HACKS, but reply is working?
2023-06-17 10:09:43 -04:00
Scott Weber
709c5e8dae
Rewrite websocket handling again
2023-06-09 12:28:19 -04:00
Scott Weber
bfe713c5b1
WIP: hooking up signalmeow receive loop to signalgo
...
Fix TXs and get a message in a log
2023-06-09 12:28:08 -04:00
Scott Weber
4c8a4dc87c
Receiving (sealed sender) and sending (not sealed sender) in signalmeow!
2023-05-31 16:43:08 -04:00
Scott Weber
60d2f1cfdb
Improve response sending
2023-05-09 17:39:47 -04:00
Scott Weber
5c8ad458d4
Add capabilities that Signal Desktop is sending
2023-05-09 17:09:15 -04:00
Scott Weber
67c558853f
Receiving unencrypted messages, but not in real time
2023-05-09 16:34:16 -04:00
Scott Weber
f91b2e4d0a
Successfully open message receiving WS, but nothing comes down it
2023-05-08 14:47:00 -04:00
Scott Weber
e44fb2d95a
Tidy up URLs
2023-05-08 13:47:01 -04:00
Scott Weber
8a651c8000
Tidy up URLs
2023-05-08 09:29:17 -04:00
Scott Weber
ce691eed84
Better error handling during provisioning (was getting rate limited)
2023-05-07 22:15:46 -04:00
Scott Weber
d3b811b197
Store prekeys in sqlite, and refactor storage layer some more
2023-05-07 17:40:36 -04:00
Scott Weber
241eaa68fe
Store refactoring
2023-05-07 14:01:01 -04:00
Scott Weber
3680c45f47
Register prekeys as part of PerformProvisioning
2023-05-07 11:40:46 -04:00
Scott Weber
cecf4dbd69
Hook up "meowstore" to signalgo bridge
2023-05-07 10:41:30 -04:00
Scott Weber
9a7d13c2c8
Add an SQL store, and store device data in stub.go
2023-05-07 10:07:48 -04:00
Scott Weber
fb97fdfcf5
Improve bot response to login
2023-05-05 10:26:34 -04:00
Scott Weber
d36fc20826
Very rough first pass of QR code in bridge bot, no persistance
2023-05-04 23:11:50 -04:00
Scott Weber
feed418a31
Generate and register ACI and PNI prekeys with Signal servers
2023-05-04 12:29:29 -04:00
Scott Weber
0c1158e4d9
Small refactor and tidy
2023-05-02 17:52:42 -04:00
Scott Weber
859936ac0d
Successfully confirm device on new authed websocket at /v1/devices/
2023-05-02 17:14:12 -04:00
Scott Weber
730f0ef049
Successuflly verify and unmarshall ProvisioningMessage!!!
2023-04-26 17:06:51 -04:00
Scott Weber
a5e06910da
Print a QR code and have Signal Android scan it!
...
But the ProvisioningEnvelope it returns isn't parsed correctly yet
2023-04-26 14:40:52 -04:00
Scott Weber
a229905341
Tidy up
2023-04-25 12:18:01 -04:00
Scott Weber
585d79f167
Implement provisioning_cipher and receive 2nd WS message (not working atm)
2023-04-24 19:33:48 -04:00
Scott Weber
a563190d4e
goimports -w
2023-04-24 14:06:39 -04:00
Scott Weber
1887081f88
Unmarshal provisioning message and send a response
2023-04-24 10:33:53 -04:00
Scott Weber
88ebbd1d97
go.work.sum and remove old commented-out code
2023-04-21 10:51:03 -04:00
Scott Weber
ca16a8e1c4
WIP: can read from Signal provisioning WS and unmarshall into PB
2023-04-21 10:49:54 -04:00
Scott Weber
7abfae2ad5
WIP: Still incomplete, but it compiles!
2023-04-06 15:02:56 -04:00
Scott Weber
d692cc051b
VERY WIP: Added lots of broken files!
2023-03-29 04:57:31 -04:00