Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Commit d1f2b14

Browse files
committed
elocryptfive migration instructions
1 parent 9808557 commit d1f2b14

30 files changed

+762
-134
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,25 @@ the encrypted value as needed.
265265

266266
No! The same issue with searching also applies to authentication because authentication requires search.
267267

268+
### Is this package compatible with [elocryptfive](https://github.com/delatbabel/elocryptfive) out-of-the-box?
269+
270+
No! While it _is_ a (more modern) replacement, it is not compatible directly out of the box. To migrate to this package from elocryptfive, you must:
271+
272+
1. Decrypt all the data in your database encrypted by elocryptfive.
273+
2. Remove any calls to elocryptfive from your models/code.
274+
3. Remove elocryptfive from your `composer.json` and run `composer update`.
275+
4. At this point you should have no encrypted data in your database and all calls/references, but make sure elocryptfive is completely purged.
276+
5. Follow the installation instructions above.
277+
6. ???
278+
7. Profit!
279+
280+
A pull request for automated migrations is more than welcome but is currently out of the scope of this project's goals.
268281

269282
## Notable Implementations
270283

271284
The following decently-trafficed sites use this package in production:
272285

273-
- [`security.txt` registry & whois - securitytext.org](https://securitytext.org/)
286+
- [securitytext.org - `security.txt` document registry and whois server](https://securitytext.org/)
274287

275288
## Credits
276289

docs/checkstyle.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<?xml version="1.0"?>
22
<checkstyle version="1.3.0">
33
<file name="EncryptionFacade.php"/>
4-
<file name="helpers.php">
4+
<file name="Traits/HasEncryptedAttributes.php">
55
<error line="0" severity="error" message="No summary was found for this file" source="phpDocumentor.file.PPC:ERR-50000"/>
66
</file>
7-
<file name="EncryptionDefaults.php">
7+
<file name="EncryptionHelper.php">
88
<error line="0" severity="error" message="No summary was found for this file" source="phpDocumentor.file.PPC:ERR-50000"/>
99
</file>
10-
<file name="EncryptionHelper.php">
10+
<file name="EncryptionDefaults.php">
1111
<error line="0" severity="error" message="No summary was found for this file" source="phpDocumentor.file.PPC:ERR-50000"/>
1212
</file>
13-
<file name="Console/Commands/MigrateEncryptionCommand.php">
13+
<file name="EncryptionServiceProvider.php"/>
14+
<file name="helpers.php">
1415
<error line="0" severity="error" message="No summary was found for this file" source="phpDocumentor.file.PPC:ERR-50000"/>
1516
</file>
16-
<file name="Traits/HasEncryptedAttributes.php">
17+
<file name="Console/Commands/MigrateEncryptionCommand.php">
1718
<error line="0" severity="error" message="No summary was found for this file" source="phpDocumentor.file.PPC:ERR-50000"/>
1819
</file>
19-
<file name="EncryptionServiceProvider.php"/>
2020
</checkstyle>

docs/classes.svg

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)