humbug / phar-updater

A thing to make PHAR self-updates easy and secure
BSD 3-Clause "New" or "Revised" License
368 stars 27 forks source link

Unsigned PHAR testing #49

Open padraic opened 7 years ago

padraic commented 7 years ago

If testing a phar configured to be updated from a signed phar, but unsigned for testing purposes only, phar-updater throws an exception due to missing pubkey. We can make testing easier by deferring the pubkey check to an actual self-update op.