@blackrainbowlabs/cli-darwin-x64 1.0.33 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/inillucent CHANGED
Binary file
Binary file
Binary file
Binary file
@@ -179,6 +179,16 @@ int32_t inillucent_supports(const char *name);
179
179
  int32_t inillucent_open(const char *path, uint32_t flags, inillucent_db **out,
180
180
  inillucent_error **error);
181
181
 
182
+ /* Opens (and by default creates) a database encrypted with `key`: the file,
183
+ * its log and its journals are encrypted with XChaCha20-Poly1305. `key` is
184
+ * UTF-8 text: "x'<64 hex digits>'" is a raw 32 byte key and anything else is
185
+ * a passphrase, stretched with PBKDF2-HMAC-SHA256. A NULL key is
186
+ * inillucent_open. A wrong key, a key for a plaintext file and no key for an
187
+ * encrypted file all fail with INILLUCENT_CORRUPT. */
188
+ int32_t inillucent_open_with_key(const char *path, uint32_t flags,
189
+ const char *key, inillucent_db **out,
190
+ inillucent_error **error);
191
+
182
192
  /* Checkpoints and closes. Refuses with INILLUCENT_INVALID_STATE while any
183
193
  * connection on it is still open, rather than leaving them dangling. */
184
194
  int32_t inillucent_close(inillucent_db *db, inillucent_error **error);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blackrainbowlabs/cli-darwin-x64",
3
- "version": "1.0.33",
3
+ "version": "2.0.1",
4
4
  "description": "The inillucent binaries for darwin-x64. Installed automatically by the 'inillucent' package; there is no reason to depend on this directly.",
5
5
  "homepage": "https://github.com/Black-Rainbow-Labs/Inillucent#readme",
6
6
  "repository": {