Valere
3c91c66ee2
Unpublished fallback key bindings + forget
2022-04-08 13:16:37 +00:00
Johannes Marbach
bce4f007b1
Use classic instead of semantic import
...
This replaces the semantic import for the Security framework with a
classic one. Semantic imports are currently not compatible with Kotlin
Multiplatform Mobile projects which makes OLMKit (and consequently
the iOS Matrix SDK) unusable in KMM.
Fixes: https://github.com/matrix-org/olm/issues/67
Signed-off-by: Johannes Marbach <n0-0ne@mailbox.org>
2021-11-08 15:15:46 -05:00
Stefan Ceriu
91a619b745
Added ObjC fallbackKey support and updated tests.
2021-08-18 16:44:34 +03:00
manuroe
09fbb9e966
Xcode: Add support of Swift Package Manager
...
Made by Johennes at https://github.com/matrix-org/olm/issues/51#issuecomment-809128833
2021-04-02 19:16:11 +02:00
manuroe
4be7cc367b
OLMKit: Forgot to implement pickle v2 for OLMSession
2021-02-19 12:00:03 +01:00
manuroe
b69b56d0bb
OLMKit: New pickle version using a pickle key provided externally
...
Improve ObjC wrappers so that they can use a pickle key provided by the olm lib user.
This new behavior is optional to not break existing usage.
It is retro compatible and use pickle versioning already in place.
Existing key will be unpickled with pickle v1 and pickled with pickle v2 if an external pickle key is provided.
2021-02-19 09:23:36 +01:00
manuroe
5147349fea
OLMKit: OMLPkSigning: Zero mutableSeed
2019-04-12 11:17:53 +02:00
manuroe
89357b6a49
OLMKit: OlmPkEncryption: Fix typos in sanity checks
...
(cherry picked from commit add1bd6e4250012dcfa30a40d763dba82f53c254)
2019-04-10 23:27:27 +02:00
manuroe
809793c9ba
OLMKit: SAS: Add PK signing
...
(cherry picked from commit ff31d489c68d5d9e597bd55a6f6a64f3fe4c7ecc)
2019-04-10 23:27:14 +02:00
manuroe
4057f59453
OLMKit: SAS: Added macLongKdf support
...
(cherry picked from commit 934d516eb35c488ee197e1bab78a4c81e3c8241d)
2019-04-10 23:27:00 +02:00
manuroe
5de295da3e
OLMKit: add Short Authentication String verification
...
(cherry picked from commit 3e954ca2729d3333ea853c878602d1696f616573)
2019-04-10 23:26:02 +02:00
manuroe
c0d118f407
OLMKit: Fix typo in license header
2018-10-23 16:07:34 +02:00
manuroe
4e120a0eeb
OLMKit: Fix file name case
2018-10-23 15:55:52 +02:00
manuroe
59076a6bda
OLMKit: Expose PK private key length
2018-10-23 15:47:46 +02:00
manuroe
cc9a97f0cb
OLMKit: Zero buffers out in all pickle & unpickle methods
2018-10-17 11:29:34 +02:00
manuroe
90bbdec8ad
OLMKit: Zero only critical buffers out
2018-10-17 11:25:20 +02:00
manuroe
9fd50c8eb5
OLMKit: Add objc wrappers for pk encryption/decryption
2018-10-16 15:51:31 +02:00
manuroe
36fd68c818
OLMAccount: Fix use of object after its memory was released
2018-06-27 12:26:44 -04:00
manuroe
2e84f7552a
Fix obj-c warnings
2018-06-27 12:26:01 -04:00
Greg Hughes
86c6af943a
OLMKit: Fixed type of messageIndex argument in exportSessionAtMessageIndex
...
Signed-off-by: Greg Hughes <greg@ghughes.com>
2017-02-27 17:24:17 +00:00
Avery Pierce
757be9aeba
OLMKit: Change OLMKitVersionString from a C function to an Obj-C static method
2017-01-18 10:46:37 +00:00
Richard van der Hoff
a45c3cc809
Merge pull request #44 from matrix-org/manuroe/olmkit-backup
...
OLMKit: Add wrappers for export/import of inbound group sessions
2017-01-17 15:16:16 +00:00
manuroe
ded15597c6
OLMKit: Reset intermediate buffer to zeroes
2017-01-17 16:14:22 +01:00
manuroe
885b85f516
OLMKit: Add wrappers for export/import of inbound group sessions
2017-01-17 14:47:41 +01:00
Avery Pierce
b2b93d7a1f
Strip down to Foundation (no need to include UIKit or Cocoa)
2017-01-14 20:13:35 -06:00
Avery Pierce
30851905b5
Add macOS support to the Podspec
2017-01-14 14:57:46 -06:00
manuroe
46ad79517e
OLMKit: More zeroing
2016-12-20 11:46:57 +01:00
manuroe
3540926b98
OLMKit: Reset intermediate buffers to zeroes
2016-12-19 18:10:37 +01:00
manuroe
aa12cbcac2
OLMKit: Make returned NSError provide the raw olm error string (ex:"UNKNOWN_MESSAGE_INDEX") in their NSLocalizedDescriptionKey.
...
NSLocalizedFailureReasonErrorKey can contain more contextual information.
2016-11-24 11:45:59 +01:00
manuroe
93926e9047
OLMKit: Fixed warnings in objc wrapper
2016-11-18 11:39:39 +01:00
manuroe
29de7825c9
OLMKit: Update Copyrights
2016-11-17 15:50:23 +01:00
manuroe
7ee17a2957
OLMKit: Add missing implementations for matchesInboundSession matchesInboundSessionFrom
2016-11-14 17:35:24 +01:00
manuroe
aa70c8afbc
OLMKit: Fix warning in OLMUtility
2016-11-14 17:06:34 +01:00
manuroe
bc697bf5e2
OLMKit: Fixed type-cast of messageIndex of [OLMInboundGroupSession decryptMessage] for 32 and 64bits platforms
2016-11-14 17:02:56 +01:00
manuroe
cf66af6f2e
OLMKit: Replaced NSAsserts by NSErrors
2016-11-14 16:54:51 +01:00
manuroe
27a8c28da4
OLMKit: Update obj-c wrapper to 2.0.0
2016-11-07 17:27:09 +01:00
manuroe
a9be04fa4b
OLMKit: Add [OLMUtility sha256:]
2016-10-17 15:47:52 +02:00
manuroe
4a2aac5800
OLMKit: Add signature tests
2016-10-14 15:57:12 +02:00
manuroe
d1060af8f0
OLMKit: Renamed [OLMAccount markKeysAsPublished] into [OLMAccount markOneTimeKeysAsPublished] and implemented it
2016-10-13 16:10:00 +02:00
manuroe
2bd912990f
OLMKit: Add megolm api: OLMInboundGroupSession and OLMOutboundGroupSession
2016-10-10 17:58:22 +02:00
manuroe
2ca67ace60
OLMKit: OLMAccount: Replace a olm_session_last_error by olm_account_last_error
2016-09-30 08:16:58 +02:00
manuroe
45ecaaedd1
OLMKit: Add [OLMUtility ed25519Verify]
2016-09-28 16:07:39 +02:00
manuroe
f29eabde8b
OLMKit: Use the same version as libolm
2016-09-28 16:06:45 +02:00
manuroe
103de50518
OLMKit: Implement missing [OLMAccount signMessage:]
2016-09-28 16:06:11 +02:00
manuroe
6f113dd7b3
OLMKit: Make the project build
...
Make OLMKit CocoaPods expose the obj-c wrapper of libolm
2016-09-27 14:07:30 +02:00
Chris Ballinger
daab2a58af
OLMAccount and OLMSession serialization
2016-04-13 16:53:47 -07:00
Chris Ballinger
f505113fb7
Initial test passing
2016-04-09 14:00:30 -07:00
Chris Ballinger
719eb543a8
Xcode, podspec, wrapper
2016-04-08 17:26:12 -07:00