Skip to content

A companion to pkgsign. A simple utility for verifying package signatures.

License

Notifications You must be signed in to change notification settings

justinjsmith/pkgverify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pkgverify

A companion to pkgsign. A simple utility for verifying package signatures.

The goal of these two utilities is to add cryptographic assurance of file authorship and integrity.

# when relying on a certificate available at a well-known network location
pkgverify -f="/path/to/file/to/verify" -u="http://example.com/cert"
# when relying on a certificate on disk
pkgverify -f="/path/to/file/to/verify" -c="/path/to/cert"

If the file to verify is foo.tar.gz, then the manifest generated by pkgsign must be named foo.tar.gz.manifest.

A successful verification means:

  1. The SHA1 in the manifest matches the SHA1 of the file.
  2. The manifest has not been altered since it was signed with the certificate's companion private key.

The combination of these two facts mean the file has not been altered since the manifest was generated and signed.

About

A companion to pkgsign. A simple utility for verifying package signatures.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages