-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Florent Morselli
committed
Jan 2, 2015
1 parent
8e1b5cd
commit 37a6675
Showing
15 changed files
with
1,421 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
vendor/ | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
before_commands: | ||
- "composer install --no-interaction" | ||
|
||
tools: | ||
php_sim: false | ||
php_changetracking: true | ||
php_cpd: true | ||
php_mess_detector: true | ||
php_code_sniffer: true | ||
php_analyzer: true | ||
sensiolabs_security_checker: true | ||
php_code_coverage: true | ||
php_pdepend: | ||
excluded_dirs: [vendor, doc] | ||
external_code_coverage: | ||
timeout: 3600 | ||
runs: 1 | ||
filter: | ||
excluded_paths: [vendor/*, doc/*] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
language: php | ||
|
||
php: | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- hhvm | ||
|
||
before_script: | ||
- composer --dev install | ||
|
||
script: | ||
- vendor/bin/phpunit --coverage-clover=coverage.clover | ||
|
||
after_script: | ||
- wget https://scrutinizer-ci.com/ocular.phar | ||
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# PHP AES Key Wrap | ||
|
||
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Spomky-Labs/aes-key-wrap/badges/quality-score.png?s=fe3d53cad6f5f4bb08937b8fd3a130724f870a42)](https://scrutinizer-ci.com/g/Spomky-Labs/aes-key-wrap/) | ||
[![Code Coverage](https://scrutinizer-ci.com/g/Spomky-Labs/aes-key-wrap/badges/coverage.png?s=e7e3e9b9cbcdf8fa798c3b326fea459e1ad90bc0)](https://scrutinizer-ci.com/g/Spomky-Labs/aes-key-wrap/) | ||
|
||
[![Build Status](https://travis-ci.org/Spomky-Labs/aes-key-wrap.svg?branch=master)](https://travis-ci.org/Spomky-Labs/aes-key-wrap) | ||
[![HHVM Status](http://hhvm.h4cc.de/badge/spomky-labs/aes-key-wrap.png)](http://hhvm.h4cc.de/package/spomky-labs/aes-key-wrap) | ||
|
||
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/e61c91cf-1860-4416-946b-4c7b74ea01a5/big.png)](https://insight.sensiolabs.com/projects/e61c91cf-1860-4416-946b-4c7b74ea01a5) | ||
|
||
[![Latest Stable Version](https://poser.pugx.org/spomky-labs/aes-key-wrap/v/stable.png)](https://packagist.org/packages/spomky-labs/aes-key-wrap) | ||
[![Latest Unstable Version](https://poser.pugx.org/spomky-labs/aes-key-wrap/v/unstable.png)](https://packagist.org/packages/spomky-labs/aes-key-wrap) | ||
[![Total Downloads](https://poser.pugx.org/spomky-labs/aes-key-wrap/downloads.png)](https://packagist.org/packages/spomky-labs/aes-key-wrap) | ||
[![License](https://poser.pugx.org/spomky-labs/aes-key-wrap/license.png)](https://packagist.org/packages/spomky-labs/aes-key-wrap) | ||
|
||
|
||
This library provides an implementation of the [RFC 3394](https://tools.ietf.org/html/rfc3394). | ||
|
||
## The Release Process ## | ||
|
||
We manage the releases of the library through features and time-based models. | ||
|
||
- A new patch version comes out every month when you made backwards-compatible bug fixes. | ||
- A new minor version comes every six months when we added functionality in a backwards-compatible manner. | ||
- A new major version comes every year when we make incompatible API changes. | ||
|
||
The meaning of "patch" "minor" and "major" comes from the Semantic [Versioning strategy](http://semver.org/). | ||
|
||
This release process applies for all versions. | ||
|
||
### Backwards Compatibility | ||
|
||
We allow developers to upgrade with confidence from one minor version to the next one. | ||
|
||
Whenever keeping backward compatibility is not possible, the feature, the enhancement or the bug fix will be scheduled for the next major version. | ||
|
||
## Prerequisites ## | ||
|
||
This library needs at least `PHP 5.4` | ||
|
||
## Installation ## | ||
|
||
The preferred way to install this library is to rely on Composer: | ||
|
||
{ | ||
"require": { | ||
// ... | ||
"spomky-labs/aes-key-wrap": "dev-master" | ||
} | ||
} | ||
|
||
## Licence | ||
|
||
This software is release under MIT licence. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"name": "spomky-labs/aes-key-wrap", | ||
"description": "AES Kew Wrap for PHP.", | ||
"type": "library", | ||
"license": "MIT", | ||
"keywords": ["A128KW", "A192KW", "A256KW", "AES", "Key", "Wrap", "RFC3394"], | ||
"homepage": "/~https://github.com/Spomky-Labs/aes-key-wrap", | ||
"authors": [ | ||
{ | ||
"name": "Florent Morselli", | ||
"homepage": "/~https://github.com/Spomky-Labs/aes-key-wrap/contributors" | ||
} | ||
], | ||
"autoload": { | ||
"psr-4": { | ||
"AESKW\\": "lib/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"AESKW\\Tests\\": "tests/" | ||
} | ||
}, | ||
"require": { | ||
"php": ">=5.4", | ||
"ext-openssl": "*", | ||
"ext-mcrypt": "*" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "4.*" | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "0.0.x-dev" | ||
} | ||
} | ||
} |
Oops, something went wrong.