Helge Heß
dc1b0d9c54
Put public kit headers to own dir for SPM
...
SPM expects the public headers dir to only have a single
directory. Which is why we can't use "xcode" as the pubdir
header.
We also can't use OLMKit as the dir, because then imports
will fail due to "<OLMKit/" not being available.
2020-04-10 18:55:37 +02:00
Helge Heß
4c51a48aa7
Add SPM test target, rename tests to .mm for C++
...
Doesn't link yet though, need to check why.
2020-04-10 18:26:43 +02:00
Helge Heß
84d33563c5
Use proper format specifier for uint_8 values
...
%hhu, as suggested by Xcode.
2020-04-10 18:13:24 +02:00
Helge Heß
f4ab61fa46
Add remaining explicit C++ void casts necessary
...
OLMKit now compiles fine.
2020-04-10 18:12:30 +02:00
Helge Heß
8deccb9c51
Add explicit C++ casts when assigning from void*
...
C++ requires explicit casts when assign void * return
types like from `malloc`, to a more specific pointer.
2020-04-10 17:26:34 +02:00
Helge Heß
1e5910a681
Properly mark ObjC++ files as such by using .mm
...
.m is plain Objective-C and can't import C++ headers
as provided by libolm.
2020-04-10 17:13:32 +02:00
manuroe
51ce62fce0
OLMKit: Make podspec point to new https://gitlab.matrix.org/matrix-org/olm
2019-04-19 11:59:22 +02: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
739f3c0391
OLMKit: Maintenance: Update Podfile.lock
2018-10-23 15:48:53 +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
20ee3858b9
Update Xcode test project
2018-06-27 12:26:26 -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
e19b7f54dc
OLMKit: Improve wording
2016-11-17 14:43:04 +01:00
manuroe
32a5424971
OLMKit: Podfile.lock++
2016-11-17 14:33:41 +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
3cb01fd279
OLMKit: Fixed typo in test
2016-10-11 16:54:56 +02:00
manuroe
7ae6410f37
OLMKit: Add tests for OLMInboundGroupSession and OLMOutboundGroupSession
2016-10-10 18:01:02 +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