2
0
Commit Graph

134 Commits

Author SHA1 Message Date
Maarten Billemont
d0dc393d70 Gradle update. 2020-01-23 16:10:05 -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
57f77e4f8e Fix leak of encryption buffer. 2020-01-23 16:06:41 -05:00
Maarten Billemont
360c0ade66 Improved maintenance of marshal file & abort on ftl. 2020-01-23 16:06:36 -05:00
Maarten Billemont
bf572a5e62 Missing accessory, fixes for data object lookup. 2020-01-23 16:06:26 -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
fc1e86f0ca File holds data. 2020-01-23 16:06:02 -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
a19df80a03 Enable annotation of library imports. 2020-01-23 16:03:40 -05:00
Maarten Billemont
0bbc6de2ab NULL if marshal content can't be understood. 2020-01-23 16:03:02 -05:00
Maarten Billemont
2af541a4d7 API documentation clarification. 2020-01-23 16:00:35 -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
f0acd1fed1 Use a rolling buffer of 10 for mpw_str too.
This way we can pass mpw_str results into mpw_strs, as we do with the
identicon marshalling.
2020-01-23 15:58:59 -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
4166e88f92 Use compound literals. 2020-01-23 15:54:24 -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
070f909a7f Clarify. 2020-01-23 15:51:57 -05:00
Maarten Billemont
65ad628641 Add avatar and lastUsed to marshal info. 2020-01-23 15:50:36 -05:00
Maarten Billemont
c11b63912d Harmonize naming of state variables. 2020-01-23 15:49:54 -05:00
Maarten Billemont
68e58cddd4 Fix loading user from flat format without sites. 2020-01-23 15:49:25 -05:00
Maarten Billemont
39eb0027b5 More flexible API for providing marshalling master key. 2020-01-23 15:48:51 -05:00
Maarten Billemont
44a9ee0f15 Well-defined initial identicon color. 2020-01-23 15:47:44 -05:00
Maarten Billemont
7f7910f0a9 Abbreviated type names. 2020-01-23 15:45:22 -05:00
Maarten Billemont
98d0d7a497 Present site details. 2020-01-23 15:42:54 -05:00
Maarten Billemont
91b89aaf39 Pearl & API update. 2020-01-14 13:59:32 -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
06ebe954f1 Clarify the interface a bit. 2018-09-22 14:13:00 -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
0558176847 Fix dependencies in native mpw DLLs. 2018-08-27 13:07:38 -04:00
Maarten Billemont
f0b1f0c9e0 Build for older glibc. 2018-08-02 12:19:49 -04:00
Maarten Billemont
d185a0af14 Add mpw native binary for windows 32-bit. 2018-08-02 01:37:10 -04:00
Maarten Billemont
4275a6cc61 Fix build on Windows. 2018-08-02 01:32:55 -04:00
Maarten Billemont
c94ff429e8 Switch linux build of libmpw to debian for glibc instead of musl libc. 2018-08-01 20:13:42 -04:00
Maarten Billemont
00744cb264 Statically link the mpw library. 2018-08-01 14:20:47 -04:00
Maarten Billemont
f5c0c4d787 Fix offsetting local time back to UTC. 2018-07-31 12:44:49 -04:00
Maarten Billemont
86775f1c75 Standardize epoch time calculation. 2018-07-31 09:27:41 -04:00
Maarten Billemont
7c83a62f91 Support for building with JDK 10. 2018-07-26 15:07:17 -04:00
Maarten Billemont
3403449ca2 Cleanup and fix some warnings. 2018-07-18 15:46:06 -04:00
Maarten Billemont
529f1feace Omit empty _mpw_ext & unneeded escaping. 2018-07-09 01:12:28 -04:00
Maarten Billemont
81358c16f9 Omit questions if none present and fix parsing sites with no questions. 2018-07-08 20:49:42 -04:00
Maarten Billemont
4a555748cd UTC times were parsed in as local time by mktime. 2018-07-08 20:49:31 -04:00
Maarten Billemont
64a69856ac Fix libsodium include paths. 2018-07-04 14:14:49 -04:00
Maarten Billemont
4b3662bbe9 Support for x86 Linux. 2018-07-04 12:16:37 -04:00
Maarten Billemont
b25130f4d2 Tweak include paths & add clean support to android libs. 2018-07-03 11:21:48 -04:00
Maarten Billemont
d6617563fc Clean libs when cleaning build. 2018-07-01 21:20:56 -04:00
Maarten Billemont
30dac64d5d Support for building on Linux. 2018-06-30 23:35:29 -04:00
Maarten Billemont
e4e2aaad95 Ensure GitLab CI does clean builds. 2018-06-30 20:53:29 -04:00
Maarten Billemont
c3f6796833 Pre-built library files for different platforms. 2018-06-30 12:35:40 -04:00
Maarten Billemont
86f4e8ec06 Fix gradle build. 2018-06-30 11:57:36 -04:00
Maarten Billemont
0dddcef28e libsodium and masterpassword-core must be linked statically + windows build configuration fixes. 2018-06-27 02:54:31 -04:00
Maarten Billemont
cc583c789d Merge branch 'master' of gitlab.com:MasterPassword/MasterPassword 2018-06-25 13:22:36 -04:00
Maarten Billemont
42d78da74e Fix some bugs in the new mpw_strings & mpw_strncasecmp. 2018-06-25 13:19:26 -04:00
Maarten Billemont
b5040a7786 Harmonize standardized platform naming between Native class and gradle. 2018-06-25 12:25:38 -04:00
Maarten Billemont
b1698ee339 C type fixes. 2018-06-25 12:25:17 -04:00
Maarten Billemont
8ffc0ae350 Execute gradle scripts with bash. 2018-06-25 10:34:56 -04:00
Maarten Billemont
8276d2f4e5 Build dependencies with a task & all windows archs. 2018-06-25 02:02:51 -04:00
Maarten Billemont
5084511404 Merge branch 'master' of gitlab.com:MasterPassword/MasterPassword 2018-06-24 16:31:22 -04:00
Maarten Billemont
fffec56d4e Build support for Microsoft Windows. 2018-06-24 16:20:42 -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
a8263b276c Fix handling of nullable parameters in native code. 2018-06-19 01:31:52 -04:00
Maarten Billemont
b6e6dce9f0 Added some missing build files. 2018-06-17 01:48:36 -04:00
Maarten Billemont
1cbb584011 Android support for new native masterpassword-core. 2018-06-17 01:11:16 -04:00
Maarten Billemont
f9289a3e9e Standardize TRUE to true. 2018-06-17 00:36:31 -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
1d06dd65ed Ensure maven.lyndir.com is accessed securely. 2018-06-10 19:11:22 -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
190a241a25 Java relocation. 2018-06-05 20:19:10 -04:00
Maarten Billemont
c2aafd8602 Reorganize core source and add Docker support to CLI. 2018-06-05 20:04:43 -04:00