Maarten Billemont
6a635491bd
Fix MPW_COLOR test, if set to 0.
2020-04-04 17:33:32 -04:00
Maarten Billemont
fa0c80d6b3
Log out active user and key when user is changed or deleted or unset.
2020-04-04 16:30:14 -04:00
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
c4abdb6d49
Test result output in export files.
2020-04-02 16:11:30 -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
0fcdb2a5e6
Algorithm version C files need to be separately compiled now.
2020-01-23 16:23:48 -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
55e30cb454
Build fixes.
2020-01-23 16:07:30 -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
ad4081be61
Improved error checking, NULL handling and API documentation.
2020-01-23 15:55:03 -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
22796663dc
Fix missing arguments.
2019-01-05 13:54:27 -05:00
Maarten Billemont
dbda330543
Portability fixes for Blowfish's code.
2019-01-05 13:48:29 -05:00
Maarten Billemont
ef2494118b
Minor cleanup of askpass code.
2018-11-20 11:58:38 -05:00
Maarten Billemont
8f35ac5f64
Improved libxml2 cflags/ldflags.
2018-09-26 00:43:23 -04:00
Maarten Billemont
3070967d34
Convenience flag for building a debuggable binary.
2018-09-22 14:22:17 -04:00
Maarten Billemont
e4837a284a
Fall back to getline if ncurses cannot be initialized (eg. TERM not set).
2018-09-22 14:14:18 -04:00
Maarten Billemont
48d4668575
Ensure all read utilities yield constant string pointers for safety.
2018-09-22 14:12:53 -04:00
Maarten Billemont
f83896d89d
Ignore build files.
2018-06-19 01:59:28 -04:00
Maarten Billemont
4c48bfb1af
Rename native lib to libmpw & native library loading for eg. Android.
2018-06-19 01:32:07 -04:00
Maarten Billemont
9a37253461
Make dependencies private since they're only used by the implementation.
2018-06-16 19:47:53 -04:00
Maarten Billemont
50a48ae092
Migrate docker from ubuntu to alpine.
2018-06-05 21:25:38 -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