Add feature of autosigning widgets
[src/app-framework-main.git] / src / wgtpkg-digsig.h
index 7bcb18f..a1cc32d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- Copyright (C) 2015-2018 IoT.bzh
+ Copyright (C) 2015-2020 IoT.bzh
 
  author: José Bollo <jose.bollo@iot.bzh>
 
@@ -24,5 +24,8 @@ extern int verify_digsig(struct filedesc *fdesc);
 extern int create_digsig(unsigned int index, const char *key, const char **certs);
 
 /* check the signatures of the current directory */
-extern int check_all_signatures();
+extern int check_all_signatures(int allow_none);
+
+/* create a digital signature(s) from environment data */
+extern int create_auto_digsig();