Download the PHP package alextartan/flysystem-libsodium-adapter without Composer
On this page you can find all versions of the php package alextartan/flysystem-libsodium-adapter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alextartan/flysystem-libsodium-adapter
More information about alextartan/flysystem-libsodium-adapter
Files in alextartan/flysystem-libsodium-adapter
Package flysystem-libsodium-adapter
Short Description On-the-fly encrypt and decrypt flysystem files
License Apache-2.0
Informations about the package flysystem-libsodium-adapter
Libsodium Adapter for Flysystem
Performing on-the-fly client-side encryption for safe storage of files.
On uploads, the content is encrypted using Poly 1305 with a secret key and stored securely on the filesystem.
On downloads, the content is decrypted.
Current build status
Installation
Usage
Notice;
Due to how AwsS3 (and probably other remote adapters) handle stream uploads,
I had to change the way this lib worked (versions up to v.1.0.0
)
New releases employ a php://temp
stream in which the encryption is done
and once that finishes, the stream is sent to writeStream
/readStream
Performance wise, it handles ok from what i could see.
Versioning
This library adheres to semver
All versions of flysystem-libsodium-adapter with dependencies
ext-sodium Version *
alextartan/helpers Version 2.0.*
league/flysystem Version ^1.0.63
league/flysystem-adapter-decorator Version ^1.0.0
league/flysystem-aws-s3-v3 Version ^1.0.23
monolog/monolog Version ^2.0.2