X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=onak-conf.h;h=5d39f6ab2a44bcdd06af245d178b4742474adb3f;hb=76f079e5ebdb34acaaa2462a8d915ee06d3c8425;hp=8d469e98f5af368963c1c302bc488b3504c884eb;hpb=0c120d1895d25b59abe338862189be1b87447569;p=onak.git diff --git a/onak-conf.h b/onak-conf.h index 8d469e9..5d39f6a 100644 --- a/onak-conf.h +++ b/onak-conf.h @@ -14,15 +14,16 @@ * more details. * * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * this program. If not, see . */ #ifndef __ONAK_CONF_H_ #define __ONAK_CONF_H_ #include +#include +#include "keyarray.h" #include "ll.h" /** @@ -89,8 +90,11 @@ struct onak_config { /** Pointer to the initialisation function for our loaded DB backend */ struct onak_dbctx *(*dbinit)(struct onak_db_config *, bool); - /** Should we verify signature hashes match? */ - bool check_sighash; + /** Blacklist of fingerprints to reject */ + struct keyarray blacklist; + + /** What policies should we use for cleaning keys? */ + uint64_t clean_policies; /* * Options used by the email handling script.