querdos/qfile-encryption-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

querdos/qfile-encryption-bundle

Composer 安装命令:

composer require querdos/qfile-encryption-bundle

包简介

A bundle for file encryption under symfony

README 文档

README

The QFileEncryption Bundle is a symfony bundle that attempts to ease files encryption

  • GnuPG is used to encrypt/decrypt files
  • Automatically rename and associate encrypted files
  • Can be used to generate a download link and immediately delete the decrypted file

The main goal is to provide a simple PHP interface between the well known GnuPG and your application. For a brief description on how the bundle handle the procedures:

  • It can generate a key pair for a given user (with a passphrase of course) and store them in the specified gnupg home (in the config.yml). The point is that it will not store the keypair in the main GPG database but will create a local trust database for each user and will not perturb the main functionning of the host with these keys.
  • For the encryption part, the bundle take the actual path of the file we want to encrypt, store the original name and generate a new one for this file, encrypt and remove the original file. The association is then stored in database
  • For the decryption part, the bundle takes a stored encrypted file (QFile), a user associated key (QKey) and a passphrase (which is checked before trying decryption). It then try to decrypt the file, store it the /tmp directory generate a BinaryFileResponse (a response you can use to generate a download link in your application) and then remove the temporary decrypted file.

Documentation

For usage documentation, see:
Resources/doc/index.md

统计信息

  • 总下载量: 85
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-04-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固