SiavashBamshadnia / Laravel-Source-Encrypter

Laravel and Lumen Source Code Encrypter
MIT License
535 stars 124 forks source link

Encryption of gitignore files is not currently supported. These files will be copied without change. #18

Open rickyanwar opened 3 years ago

rickyanwar commented 3 years ago

image how to slove this, and ignoring

SiavashBamshadnia commented 3 years ago

What is your OS? Do you have config/source-encrypter.php file? If you have it, please send it here.

Sophist-UK commented 1 year ago

It is probably possible for Laravel-Source-Encrypter phpBolt to encrypt non-php files using phpBolt, however because phpBolt can only decrypt-and-execute php files (as a single indivisible step), it is not going to be possible to decrypt them again.

The whole point of phpBolt doing decrypt-and-execute as a single indivisible step is to prevent anyone from decrypting the code back into a php file - that is what makes it secure when the encryption key is openly stated at the beginning of each encrypted php file.

So, by changing the code here you can make it encrypt the file, but don't expect ever to get it back again.