Giter Site home page Giter Site logo

laravel-encryptable's People

Contributors

dependabot[bot] avatar enricodelazzari avatar frestifo avatar github-actions[bot] avatar laravel-shift avatar riccardodallavia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-encryptable's Issues

Values are not encrypted on update

If I create a new model the data will be encrypted but when i update the same model the values are stored in plain text in the database.

I'm casting the values in the model as "Encryptable". It would be unfortunate if I had to manually encrypt the data when updating a model

Issue using library on text containing colon (:)

Encrypting a string already containing a colon : causes an issue when decrypting it.
It always throws Maize\Encryptable\Exceptions\UnserializationException

<?php
use Maize\Encryptable\Encryption;     

$e = Encryption::php()->encrypt("test:string"); 
$p = Encryption::php()->decrypt($e);

openssl_encrypt (IV) error

openssl_encrypt (IV) error

I got this error when trying this code $encrypted = Encryption::php()->encrypt($value); :

openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended
vendor / maize-tech / laravel-encryptable / src / PHPEncrypter.php : 82

I found the potential reason here :
https://stackoverflow.com/questions/11821195/use-of-initialization-vector-in-openssl-encrypt

Am i doing something wrong ? or is it a real issue ?

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.