Giter Site home page Giter Site logo

sjay23 / doctrineencryptbundle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from doctrineencryptbundle/doctrineencryptbundle

0.0 0.0 0.0 393 KB

Encrypted symfony entities by verified and standardized libraries

Home Page: https://packagist.org/packages/doctrineencryptbundle/doctrine-encrypt-bundle

License: MIT License

PHP 100.00%

doctrineencryptbundle's Introduction

Logo

Build status License Latest version Latest Unstable Version Total downloads Downloads this month

Introduction

This version of the DoctrineEncryptBundle was initially forked from: integr8rs/DoctrineEncryptBundle

This version was created due to be maintained and managed by a GitHub organization (DoctrineEncryptBundle) due to all previous versions that were installable not being actively maintained any longer. This includes the most popular on as well: michaeldegroot/doctrine-encrypt-bundle

The original bundle created by ambta can be found here: -ambta/DoctrineEncryptBundle

This bundle has updated security by not rolling its own encryption and using verified standardized library's from the field.

Using Halite

All deps are already installed with this package

// Config.yml
ambta_doctrine_encrypt:
    encryptor_class: Halite

Using Defuse

You will need to require Defuse yourself

composer require "defuse/php-encryption ^2.0"

// Config.yml
ambta_doctrine_encrypt:
    encryptor_class: Defuse

Secret key

The secret key should be a max 32 byte hexadecimal string ([0-9a-fA-F]).

Secret key is generated if there is no key found. This is automatically generated and stored in the folder defined in the configuration

// Config.yml
ambta_doctrine_encrypt:
    secret_directory_path: '%kernel.project_dir%'   # Default value

Filename example: .DefuseEncryptor.key or .HaliteEncryptor.key

Do not forget to add these files to your .gitignore file, you do not want this on your repository!

Documentation

Demo

Two demo-installations, one using symfony 4.4 and one using symfony 6.x, can be found in this repository in demo. This demonstrates how to use the application using both annotations and, when using php > 8.0, attributes.

doctrineencryptbundle's People

Contributors

absolute-quantum avatar dev-marcel avatar sh41 avatar vmelnik-ukraine avatar flavou45 avatar zombaya avatar andheiberg avatar michaelfeinbier avatar ambta avatar encreinformatique avatar benr77 avatar metadan avatar r3hp1c avatar mkraemer avatar maks-rafalko avatar andreybolonin avatar dbu avatar jeordy avatar wassafr avatar jongotlin avatar bboykeen avatar ph-lars avatar mendicantbias90 avatar paragonie-scott avatar valegar avatar westinpigott avatar jr-k avatar wcoppens avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.