0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-20 03:52:17 +02:00
Commit Graph

382 Commits

Author SHA1 Message Date
Jordan Rose
1d00de7cdc Rust: don't build any bridge/* crates by default
Some of them have external requirements that may not be installed.
2020-11-12 10:30:07 -08:00
Jordan Rose
7018432cc1
Merge pull request #48 from signalapp/jrose/swift-remote-registration-id
Swift: Expose SessionRecord.remoteRegistrationId()
2020-11-11 12:39:26 -08:00
Jordan Rose
e91163022d Swift: Expose SessionRecord.remoteRegistrationId() 2020-11-11 12:09:41 -08:00
Jordan Rose
910453db3f
Merge pull request #47 from signalapp/jrose/swift-pr-testing-cleanup
Fix CocoaPod build to use rust-toolchain
2020-11-11 12:02:27 -08:00
Jordan Rose
7b37cf0547 Fix CocoaPod build to respect rust-toolchain
Also stop checking out libsignal-ffi.git for no reason during PR
testing.
2020-11-11 11:47:30 -08:00
Jordan Rose
becd44f531
Merge pull request #20 from signalapp/jrose/node-wrapper
Start on a Node wrapper for the Desktop client
2020-11-11 11:32:29 -08:00
Jordan Rose
932d4a3438 Move wrapper-specific shell scripts into subfolders
And use bash instead of plain sh for stricter checking.
2020-11-11 11:15:25 -08:00
Jordan Rose
011bae46d5 Mark the package as private so it doesn't get published to NPM 2020-11-11 11:06:05 -08:00
Jordan Rose
7bfee717bf Switch ESLint configuration to more closely match Signal-Desktop 2020-11-11 11:06:05 -08:00
Jordan Rose
23bbf7ab11 Node: Enforce license header in ESLint 2020-11-11 11:06:05 -08:00
Jordan Rose
9a8265bfc7 Switch from TSLint to ESLint, which now supports TypeScript
TSLint was deprecated in 2019, and this gives us more of a clean slate
for linting options.
2020-11-11 11:06:05 -08:00
Jordan Rose
b4a34f48ad node: Support for electron-rebuild
This allows the Desktop client to add this module as a dependency and
have its existing build process take care of building it against the
correct version of Electron. (Within the repo, `yarn build` calling
`electron-build-env` is still necessary; a plain `electron-rebuild`
seems to get confused.)
2020-11-11 11:06:05 -08:00
Jordan Rose
f493188942 GitHub: PR testing for Node 2020-11-11 11:06:05 -08:00
Jack Lloyd
aa9eb2122f
Merge pull request #46 from signalapp/jack/bump-java-version
Bump Java .jar to 0.1.3
2020-11-11 13:27:08 -05:00
Jack Lloyd
d3cb29547a Bump Java .jar to 0.1.3 2020-11-11 13:11:34 -05:00
Jack Lloyd
768c264d20
Merge pull request #45 from signalapp/jack/jni-fixes
Fixes for Android
2020-11-11 13:10:59 -05:00
Jack Lloyd
c3fd6fcf6a Use a better name
Unrelated, remove an unused import
2020-11-11 13:00:48 -05:00
Jack Lloyd
54835b0a03 Fixes for Android
- Allow info to be null/empty in HKDF arguments. This is used during
  KBS attestation.
- Allow creating an ECPublicKey from the un-typed key bytes, also used
  when talking to KBS.
2020-11-11 11:48:27 -05:00
Jordan Rose
be56945a70 Add a Yarn-based Node package for signal-client
There's very little here yet, just enough to test something.
2020-11-10 11:00:54 -08:00
Jordan Rose
0f8dc2c0bd rust: Add Neon-based Node bridge 2020-11-10 11:00:54 -08:00
Jordan Rose
45fba051d7 Pull some helpers out of bin/build-ffi 2020-11-10 11:00:54 -08:00
Jordan Rose
5ca4693fa7
Merge pull request #44 from signalapp/jrose/strict-pod-lint
Tighten up CocoaPod PR testing now that libsignal-client is public
2020-11-10 09:55:28 -08:00
Jordan Rose
d712408527 Tighten up CocoaPod PR testing now that libsignal-client is public 2020-11-09 13:55:38 -08:00
Jack Lloyd
82dbf03905
Merge pull request #42 from signalapp/jack/pin-the-nightly
Pin nightly to a specific date
2020-11-09 15:55:00 -05:00
Jack Lloyd
8076087e89 Remove override 2020-11-09 15:41:38 -05:00
Jack Lloyd
d9e33d0251 Pin nightly to a specific date 2020-11-09 15:39:29 -05:00
Jack Lloyd
5d15f117a1
Merge pull request #41 from signalapp/jack/fix-a-clippy
Fix a new clippy warning from nightly
2020-11-09 13:07:40 -05:00
Jack Lloyd
fff2efeca4 Fix some new clippy warnings from nightly 2020-11-09 12:46:57 -05:00
Jack Lloyd
2ece8fc4c2
Merge pull request #39 from signalapp/jack/gh-action-ignores
Update workflow ignores
2020-11-09 08:45:20 -05:00
Jordan Rose
753eeb4606
Merge pull request #40 from signalapp/jrose/test-CocoaPod-for-iOS-only
GitHub: Only test CocoaPod for iOS Sim, not macOS
2020-11-06 15:20:56 -08:00
Jack Lloyd
9cdb17f822
Merge pull request #38 from signalapp/jack/remove-java-protobuf
Remove the SenderKey protobufs from Java wrapper (#36)
2020-11-06 18:06:08 -05:00
Jordan Rose
58d6de1a5a GitHub: Only test CocoaPod for iOS Sim, not macOS 2020-11-06 15:05:16 -08:00
Jack Lloyd
57e150948c Update workflow ignores
Rust should ignore Java/Swift only changes

Java should ignore Swift

Swift should ignore Java

Paper beats rock
2020-11-06 17:53:42 -05:00
Jack Lloyd
9ca168a567 Remove the SenderKey protobufs from Java wrapper 2020-11-06 17:47:56 -05:00
Jack Lloyd
cff700585e
Merge pull request #21 from signalapp/jack/new-java-wrapper
New Java/JNI bridge
2020-11-06 17:25:42 -05:00
Jack Lloyd
dd57254f8f Move makefile and docker file into java subdir 2020-11-06 16:40:54 -05:00
Jack Lloyd
3c8d85211b Bump version number 2020-11-06 16:40:54 -05:00
Jack Lloyd
2a2a8a70a8 Fix method signature 2020-11-06 16:40:54 -05:00
Jack Lloyd
a3f5b64257 Add ECPublicKey.generate 2020-11-05 17:59:09 -05:00
Jack Lloyd
4db424c3b2 Don't ignore invalid preKeyIds just because preKey is null 2020-11-05 17:59:09 -05:00
Jack Lloyd
c5a8010bff Update license header 2020-11-05 17:59:09 -05:00
Jack Lloyd
383304573c Remove Curve.isNative 2020-11-05 17:59:09 -05:00
Jack Lloyd
5416ef2c5b Remove debug code 2020-11-05 17:59:09 -05:00
Jack Lloyd
59850b32b2 Add rule dependency 2020-11-05 17:59:09 -05:00
Jack Lloyd
b5e410b0f2 Avoid UTF-8 in java test files
If LANG is not set to a UTF-8 encoding the build will fail.
2020-11-05 17:59:09 -05:00
Jack Lloyd
cc201de173 Add Docker based build for Java .jars 2020-11-05 17:59:09 -05:00
Jack Lloyd
26429e15d1 Remove use of IdentityKeyPair protobuf 2020-11-05 17:59:09 -05:00
Jack Lloyd
5b1bf8b96e Remove some unneeded protobufs from the Java lib 2020-11-05 17:59:09 -05:00
Jack Lloyd
58e023f148 Remove many unused functions from ByteUtil
Not used either in this jar nor in Signal-Android, so no need to keep them.
2020-11-05 17:59:09 -05:00
Jack Lloyd
8624331e77 Clean up some imports, remove empty static blocks, other review comments 2020-11-05 17:59:09 -05:00