mxstbr/pgp.asc

Check if key is valid and throw visible error

Open

#20 aperta il 27 lug 2015

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)HTML (5 fork)github user discovery
Backendbughelp wanted

Metriche repository

Star
 (56 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Currently, in person.rb, if there is a file at domain.tld/pgp.asc which is not a valid PGP key, it still gets imported by GPGME, but the mail fails to send and Heroku throws an error. This could be handled better with a visible error on the webpage, I haven't found a way to check for the validity of a PGP key yet though.

Guida contributor