Maarten Billemont
975743adec
Use the user, not a site algorithm, for generating and testing the keyID.
...
- Order of fall-back formats from most to least preferred.
- The keyID should be based on the user algorithm, not the site algorithm.
- Standardize mpw_format* function names.
2020-04-02 16:15:01 -04:00
Maarten Billemont
9c3e272849
Case insensitive compare values that don't need to rely on exact case.
2020-03-04 12:50:59 -05:00
Maarten Billemont
f32f2a6726
Update CLI API for key providers.
2020-02-12 22:13:55 -05:00
Maarten Billemont
6eaa491d67
Replace Crashlytics/Fabric with Countly & Sentry.
2020-01-27 13:27:10 -05:00
Maarten Billemont
44fa32697a
Huge refactor to do marshalling completely through mpw data object now.
2020-01-23 16:24:08 -05:00
Maarten Billemont
7fd0172815
Refactor in preparation of reading ext data prior to auth.
2020-01-23 16:23:35 -05:00
Maarten Billemont
1c6a5256c1
Log native mpw into Java.
2020-01-23 16:13:58 -05:00
Maarten Billemont
64577d5e0f
API update.
2020-01-23 16:06:47 -05:00
Maarten Billemont
4c6d7ac36c
Marshal data API & fixes.
2020-01-23 16:06:17 -05:00
Maarten Billemont
ddb786c332
Persist unknown JSON properties, expose to API, safety improvements.
2020-01-23 16:06:07 -05:00
Maarten Billemont
9833f02339
Full file marshalling and prepare to make entire document available.
2020-01-23 16:05:55 -05:00
Maarten Billemont
2fdd9d2ca1
Allow marshalling without masterKey and record keyID in user.
2020-01-23 16:05:12 -05:00
Maarten Billemont
1b90b3deea
Allow unauthenticated marshal reading to reset master key.
2020-01-23 16:04:53 -05:00
Maarten Billemont
6d36f17e57
Change marshal API to return output directly.
...
Avoids an ambiguity between return type and out value (eg. true but
NULL), and improves Swift API access.
2020-01-23 15:59:21 -05:00
Maarten Billemont
a37b095a66
site.name -> siteName, add identicon marshalling to iOS, missing resultState
2020-01-23 15:58:32 -05:00
Maarten Billemont
2637e9ba99
Add identicon to export + fix memory leaks for marshal failures.
2020-01-23 15:57:27 -05:00
Maarten Billemont
ccd9763649
Standardize UTF8 mbyte length, identicon encoding, be explicit about storage duration in C API.
2020-01-23 15:57:07 -05:00
Maarten Billemont
b42bc732ac
Ensure buffer is set.
2020-01-23 15:54:45 -05:00
Maarten Billemont
4b73508292
Harmonize API naming.
2020-01-23 15:53:55 -05:00
Maarten Billemont
dd123a431c
Fix masterKeyProvider args & mem bugs + multiple format extensions.
2020-01-23 15:52:28 -05:00
Maarten Billemont
c11b63912d
Harmonize naming of state variables.
2020-01-23 15:49:54 -05:00
Maarten Billemont
39eb0027b5
More flexible API for providing marshalling master key.
2020-01-23 15:48:51 -05:00
Maarten Billemont
98d0d7a497
Present site details.
2020-01-23 15:42:54 -05:00
Maarten Billemont
48d4668575
Ensure all read utilities yield constant string pointers for safety.
2018-09-22 14:12:53 -04:00
Maarten Billemont
c3017069b1
Remove __unused since it's non-standard.
...
1. It breaks compilers without support for __attribute__
2. It breaks system headers that declare variables named __unused (eg. musl libc).
2018-06-05 21:22:40 -04:00
Maarten Billemont
c2aafd8602
Reorganize core source and add Docker support to CLI.
2018-06-05 20:04:43 -04:00