- Updated
libsodium
to1.*
which is currently 1.0.2 - Updated travis build script
- Updated
phpunit
to4.*
which is currently 4.8
symfony/serializer
symfony/debug
symfony/stopwatch
CaveatUnsatisfiedException
SignatureMismatchException
InvalidMacaroonKeyException
- Added Caveat#__toString
- Fixed an issue with binary serialization/deserialization with third party caveats
- Switched to using the official php-coveralls
- Updated TODO.md
- Caveat#toArray
- Test that multiple first party caveats are serialized correctly
- Macaroon#serializeJSON
- Macaroon::deserializeJSON
- Added tests for JSON serialization/deserialization
- Added Utils::startsWith
- Added a test for verifying first party caveats using a callback
- Removes finishes TODOs
- Test for Macaroon#getFirstPartyCaveats
- Test for Macaroon#getThirdPartyCaveats
- Test for invalid macaroon keys
- Fixes bug in Macaroon#getFirstPartyCaveats
- Fixes bug in Macaroon#getThirdPartyCaveats
- Caveat#setCaveatLocation
- Caveat#setVerificationId
- Macaroon#getCaveats
- Macaroon#getFirstPartyCaveats
- Macaroon#getThirdPartyCaveats
- Macaroon#prepareForRequest
- Macaroon#bindSignature
Verifier
class- Verifier#satisfyExact
- Verifier#satisfyGeneral
- Verifier#verifyCaveats
- Verifier#verifyFirstPartyCaveat
- Verifier#verify
- Verifier#verifyDischarge
- Added LICENSE file
- Added watchr script for TDD
- Use array_push for code readability
- Split out base64 utility methods
- Fixed bugs with argument checking
- Fixed a bug when deserializing third party caveats
- Fixed libsodium integration
- Fixed missing pad in Utils::base64_url_decode
- Fixed issues using
strtr
by usingstr_replace
instead
- Increased test coverage of
Utils
class
- Fixes
Verifier
skeleton test error
- Added type hinting to
Packet
methods - Added test skeleton for
Verifier
- Added test skeleton for JSON serialization/deserialization
- Added tests for
Caveat
class
- Remove unnecessary environment variables script for coveralls
- Fixes coveralls reporting
- Fixes coveralls reporting
- Add Travis CI, Coveralls, Packagist badges to README
- Added documentation about HHVM to README
- Added .coveralls.yml
- Fixed
Packet
class to be PHP 5.3 compatible when using array_map
- HHVM from .travis.yml build matrix
- Changed size argument for Utils::truncateOrPad to be optional (defaults to 32)
Adds binary serialization and deserialization
- Utils::base64_strict_encode
- Utils::base64_url_encode
- Utils::base64_url_decode
Packet
class for packet data- Packet#getKey
- Packet#getData
- Packet#packetize
- Packet#encode
- Packet#decode
- Macaroon#setSignature
- Macaroon#setCaveats
- Macaroon#serialize
- Macaroon::deserialize
- .travis.yml
- Utils::hex renamed to Utils::hexlify
- Utils::unhex renamed to Utils::unhexlify
- phpunit.xml changed to add code coverage reporting
- Added composer installation instructions to README
Adds first and third party caveats
- Caveat#getVerificationId
- Utils::truncateOrPad
- Utils::signFirstPartyCaveat
- Utils::signThirdPartyCaveat
- Macaroon#addFirstPartyCaveat
- Macaroon#addThirdPartyCaveat
- Add description field to
composer.json
- Add repositories field to
composer.json
- Caveat#getId renamed Caveat#getCaveatId
- Caveat#getLocation renamed Caveat#getCaveatLocation
- Caveat identifier was not being set correctly
Adds macaroon creation
- Utils::hex
- Utils::unhex
- Utils::hmac
- Utils::generateDerivedKey
Caveat
class for first and third party caveats- Caveat#isFirstParty
- Caveat#isThirdParty
Macaroon
class- Macaroon initial signature test
- Macaroon initial signature generation
- File with TODOs
- Updated README
libsodium-php
installation instructions- Updated command to run tests
- Created composer project
- Setup test suite and
phpunit.xml
- Changed namespace from
Macaroon
toMacaroons
- Fixed autoloading