lepiaf / sapient-bundle
Symfony bundle that wrap sapient library
Installs: 78
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 2
Forks: 0
Open Issues: 0
Language:HTML
Type:symfony-bundle
Requires
- paragonie/sapient: ^1.0
- symfony/config: ^4.0|^3.4
- symfony/console: ^4.0|^3.4
- symfony/dependency-injection: ^4.0|^3.4
- symfony/event-dispatcher: ^4.0|^3.4
- symfony/http-kernel: ^4.0|^3.4
- symfony/psr-http-message-bridge: ^1.0
- symfony/yaml: ^4.1
- zendframework/zend-diactoros: ^1.7
Requires (Dev)
- guzzlehttp/guzzle: ^6.3
- phpunit/phpunit: ^7.0
- roave/security-advisories: dev-master
Suggests
- csa/guzzle-bundle: Allow to unseal and verify response from sapient api automatically.
README
Sapient is a toolkit to secure API exchange.
HTTPS encrypts the transmission channel and its content indirectly. But there is one weak link in this process: the certification authority. This organization, in charge of providing certificates, can be attacked, and fake certificates can be generated to divert traffic to the attacker's server.
Sapient allows you to quickly and easily add application-layer cryptography to your API requests and responses.
This bundle wrap this toolkit and integrate it in Symfony in an easy way.
Main abilities are:
- Sign and verify response
- Seal and unseal response
- Sign and verify request
- Seal and unseal request
Demo
You can check out this project and run demo locally sapient-bundle-demo
Documentation
Follow documentation http://sapient-bundle.readthedocs.io/en/latest/
or src/Resources/doc/index.rst