2017 © Pedro Peláez
 

library gpg-verifier

Simple library to verify a file with gpg signature.

image

tm/gpg-verifier

Simple library to verify a file with gpg signature.

  • Thursday, August 11, 2016
  • by tommymuehle
  • Repository
  • 1 Watchers
  • 0 Stars
  • 310 Installations
  • PHP
  • 2 Dependents
  • 2 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

php-gpg-verifier

Latest Stable Version Total Downloads Build Status Code Climate Test Coverage Minimum PHP Version GitHub license GitHub issues, (*1)

No Maintenance Intended, (*2)

Simple library to verify a file with gpg signature. Look at the documentation for more information., (*3)

Requirements

Except PHP and composer you need an accessible GPG binary in your $PATH variable., (*4)

Install

composer require tm/gpg-verifier ^1.0

Basic usage

use TM\GPG\Verification\Verifier;

$verifier = new Verifier;
$verifier->verify('my-file.sig', 'my-file');

Advanced usage

use TM\GPG\Verification\Verifier;
use TM\GPG\Verification\Exception\FailedVerificationException;
use TM\GPG\Verification\Exception\ExecutableException;
use TM\GPG\Verification\Exception\NotExistException;

$verifier = new Verifier('/path/to/gpg');

try {
    $verifier->verify('my-file.sig', 'my-file');
} catch(FailedVerificationException $exception) {
    // verification failed
} catch(NotExistException $exception) {
    // missing signature- or source-file
} catch(ExecutableException $exception) {
    // something with the executable is wrong
}

Changelog

See here the full changelog., (*5)

Contributing

Please refer to CONTRIBUTING.md for information on how to contribute., (*6)

The Versions

11/08 2016

dev-master

9999999-dev https://github.com/tommy-muehle/php-gpg-verifier

Simple library to verify a file with gpg signature.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

signature verification gpg verifier

09/08 2016

1.1.0

1.1.0.0 https://github.com/tommy-muehle/php-gpg-verifier

Simple library to verify a file with gpg signature.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

signature verification gpg verifier

03/08 2016

1.0.0

1.0.0.0 https://github.com/tommy-muehle/php-gpg-verifier

Simple library to verify a file with gpg signature.

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

signature verification gpg verifier