Repository navigation
3.0.0 API Redesign - #147
Draft
overheadhunter wants to merge 32 commits into
Draft
overheadhunter wants to merge 32 commits into
overheadhunter wants to merge 32 commits into
Conversation
… + 25 multi-release layers - version 3.0.0-SNAPSHOT - bcpkix-jdk18on becomes a regular dependency; maven-shade-plugin removed - add com.nimbusds:nimbus-jose-jwt 10.10 - multi-release jar now has exactly two layers: Java 8 base and a Java 25 layer (src/main/java25) for module-info and, later, sealed API roots; src/main/java9 and src/main/java22 are removed, enforcer requires JDK 25 - module-info: plain requires for BouncyCastle, requires nimbus Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
- api: LockedVault/UnlockedVault (sealed on Java 25 via src/main/java25) with Cvf8LockedVault/Cvf8UnlockedVault and UvfLockedVault/UvfUnlockedVault, VaultDirectory, VaultNode, VaultFile, VaultReader/VaultWriter, CiphertextReader/CiphertextWriter, CipherCombo, UvfRecipient, VaultConfigLoadException/VaultKeyInvalidException; Masterkey renamed to CvfMasterkey - internal: FileLayout arithmetic, VaultFileImpl with positional read/write/truncate (no cache), format-independent channels/streams, AbstractUnlockedVault - cvf8: vault config (nimbus JWS), SIV names + .c9s shortening, directory layout, CTR-MAC and GCM codecs ported from v1/v2 with unchanged on-disk format - tests incl. the existing golden vectors; v1/v2 and the old api types remain until the UVF port is done Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…vf JWE - uvf: UvfSeeds (decrypted payload model incl. custom fields), UvfNames (per-seed AES-SIV keys, unpadded base64url, NFC), UvfContentCodec (32740 byte payload, 4 byte big endian chunk index as AAD, EOF chunk), UvfMetadataCodec (JWE general JSON serialization via nimbus: PBES2-HS512+A256KW, ECDH-ES+A256KW and A256KW recipients sharing one CEK), UvfVault/UvfDirectory/UvfNode, LockedVault.parse dispatch - HKDFHelper ported from the uvf-draft branch - tests with the spec's example payload and the existing UVF vectors Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
- api: Cryptor, CryptorProvider, FileContentCryptor, FileHeader, FileHeaderCryptor, FileNameCryptor removed; package-info rewritten for the new entry point - v1/v2 packages, the public channel classes in common and META-INF/services removed (cvf8 + internal replace them) - module-info: no more uses/provides, Guava no longer transitive - JMH benchmarks re-pointed at the CVF8 and UVF codecs - README: usage section is no longer marked as draft Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
[deploy]
[deploy]
for size changes made through another handle
# Conflicts: # pom.xml # src/main/java/org/cryptomator/cryptolib/common/MasterkeyFileAccess.java [deploy]
overheadhunter
marked this pull request as draft
November 11, 2026 14:30
* reserve only names ending in .shortened.uvf or .original.uvf * nullness of lazy fields, long cast
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant updates and cleanup to the project, including major new features, removals of deprecated APIs and dependencies, and a breaking redesign of the public API for version 3.0.0. It also updates the build workflow by removing coverage-related steps.
Major feature additions:
NameShortenerAPI for ciphertext name shortening independently of name encryption.API and dependency removals:
Breaking API and format changes:
Dependency and build updates:
build.yml).