Skip to content

Instantly share code, notes, and snippets.

🐰
What's up, Doc?

Tobias Hagemann tobihagemann

🐰
What's up, Doc?
Block or report user

Report or block tobihagemann

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cryptomator-vault-format-7.md

Beginning with vault format v7, filenames are encoded with base64url so that name shortenings are less likely. The ciphertext filename threshold has been increased to 220 characters. The ciphertext file layout has been redesigned.

This is an example of the new vault structure:

.
├─ d
│  ├─ BZ
│  │  └─ R4VZSS5PEF7TU3PMFIMON5GJRNBDWA
│  │     ├─ 5TyvCyF255sRtfrIv__83ucADQ==.c9r  # regular file
View cryptomator-vault-structure.md
.
├─ d
│  ├─ BZ
│  │  └─ R4VZSS5PEF7TU3PMFIMON5GJRNBDWA
│  │     ├─ 0USJ7VD36K7YU2RARYJMEFTABZOGN6LUH63VRH5MADVOZ433VZ7EPSM2PLJPHTBL6
│  │     ├─ 0YWVRCCROEC3ZECD2UTJR7BGYERU3LG6R7QODBGMZ7EQ3BXGY24======
│  │     ├─ ...
│  │     ├─ YWBBP7RC6FFX6ZN4YBLN4WXD6IIBTMKXHFFDQEZNYTQLNZWOGDT22EY=
│  │     └─ ZTNHMICOWU6ZSNIR72ESLQSGDMLQYQ42XEKGOWSYYX5II===
View keybase.md

Keybase proof

I hereby claim:

  • I am tobihagemann on github.
  • I am tobihagemann (https://keybase.io/tobihagemann) on keybase.
  • I have a public key whose fingerprint is B6A3 38A2 F6C1 4F09 6C1A 8525 69CE FAD5 1959 8989

To claim this, I am signing this object:

@tobihagemann
tobihagemann / THWeak.h
Created Jun 4, 2015
weakify & strongify
View THWeak.h
#define weakify(var) __weak typeof(var) THWeak_##var = var;
#define strongify(var) \
_Pragma("clang diagnostic push") \
_Pragma("clang diagnostic ignored \"-Wshadow\"") \
__strong typeof(var) var = THWeak_##var; \
_Pragma("clang diagnostic pop")
You can’t perform that action at this time.