datasafe
datasafe copied to clipboard
Secure, Encrypted and Versioned Data Storage Library
``` package de.adorsys.datasafe.examples.business.filesystem; import de.adorsys.datasafe.business.impl.service.DaggerVersionedDatasafeServices; import de.adorsys.datasafe.business.impl.service.VersionedDatasafeServices; import de.adorsys.datasafe.directory.impl.profile.config.DefaultDFSConfig; import de.adorsys.datasafe.encrypiton.api.types.UserID; import de.adorsys.datasafe.encrypiton.api.types.UserIDAuth; import de.adorsys.datasafe.metainfo.version.impl.version.types.DFSVersion; import de.adorsys.datasafe.storage.impl.fs.FileSystemStorageService; import de.adorsys.datasafe.types.api.actions.ListRequest; import de.adorsys.datasafe.types.api.actions.ReadRequest; import de.adorsys.datasafe.types.api.actions.WriteRequest; import de.adorsys.datasafe.types.api.resource.AbsoluteLocation; import de.adorsys.datasafe.types.api.resource.PrivateResource; import de.adorsys.datasafe.types.api.resource.ResolvedResource; import...
This is a complete example of how to create partial path encryption, one starting path segment will be unencrypted. Like this: `C:\Projects\Server\Adorsys\users\root-user\private\files\inner-user\SIV\X-ABgFmR0RJuiVsR0S5iUZEgadMamHU` Here, when writing to `inner-user\file.txt` `inner-user` is unencrypted...
"GCM cipher cannot be reused for encryption" is thrown when trying to use ``` os = privateService.write(...) ObjectMapper mapper = new ObjectMapper(); mapper.writeValue(os, new HashMap()) ``` Yields "GCM cipher cannot...
Currently, Datasafe requires manual addition of BouncyCastle when Keystore modification operations are not called: `Security.addProvider(new BouncyCastleProvider());` we need to fix that - this should not be required
To support https://github.com/adorsys/open-banking-gateway/issues/507 with the clean implementation, we need to add function in the user profile that checks that private and secret key from KeyStore can be read using provided...
Currently some String based constructors, factory methods that are intended for internal use (i.e. Uri, BasePrivateResource.forPrivate ...) are not safe to use with non-url safe Strings. While it does not...
- Fixed old v1.x package structure to new package stucture for AWS SDK for Java v2.x - Changed constructor parametters to builder patterns for stronger immutablity and enhanced readability -...
- add used undeclared dependencies - remove all unused declared dependencies