Sigchecker can still import keys from the user's keyring, so there is no
need to hardcode fingerprint and key of the index hosted on
libguestfs.org (which is now pointed to using a .conf file).
---
builder/sigchecker.ml | 79 --------------------------------------------------
builder/sigchecker.mli | 2 --
2 files changed, 81 deletions(-)
diff --git a/builder/sigchecker.ml b/builder/sigchecker.ml
index 67d1600..ae8e413 100644
--- a/builder/sigchecker.ml
+++ b/builder/sigchecker.ml
@@ -24,78 +24,6 @@ open Unix
let quote = Filename.quote
-(* These are the public key and fingerprint belonging to
- * Richard W.M. Jones who signs the templates on
- *
http://libguestfs.org/download/builder.
- *)
-let default_fingerprint = "F777 4FB1 AD07 4A7E 8C87 67EA 9173 8F73 E1B7 68A0"
-let default_pubkey = "\
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v1.4.14 (GNU/Linux)
-
-mQINBE6UMMEBEADM811hfTulaF4JpkVpAI10FImyb4ArvOiu8NdcUwTFo+cyWno3
-U85B86H1Bsk/LgLTYtthSrTgsCtdxy+i5OaMjxZDIwKQ2+IYI3FCn9T3Mn28Idyh
-kLHzrO9ph0Dv0BNfrlDZhQEC53aAFe/QxN7+A49BNBV7D1VAOOCsHjxMEDzcZkCa
-oCrtXw1aNm2vkkj5ukbfukHAyLcQL7kow0qKPSVa1G4lfQP0WiG259Ydy+sUmbVb
-TGdb6MEC84PQRDuw6/ZeoV04tn7ZNtQEMOS0uiciHOGfr2hBxQf9VIPNrHg42yaL
-dOv51D99GuaxZ9E0HSoH/RwB1oXgd6rFdqVNYaBIQnnkwJANUEeGBArtIOZNCADT
-Bt8vkSDm+lLEAFS+V8CACyW/LMIrGCvLdHeqtoAv0GDVyR2GPxldYfdtEmCUMWcb
-Jlf71V9iAse2gUdoiHp5FfpGMkA5j7idKuxIws11XxRZJXXbBqiBqmVEAQ/v0m6p
-kdo0MYTHydmecLuUK2bAGhpysfX97EfTSrxfrYphYWjTfKRD9GrADeZNfuz1DbKs
-7LSqVaQJSjQrfgAwcnZLRaU0V4P5zxiz50gz1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dDq00E348pm
-=neBW
------END PGP PUBLIC KEY BLOCK-----
-"
-
type gpgkey_type =
| No_Key
| Fingerprint of string
@@ -162,13 +90,6 @@ let rec create ~debug ~gpg ~gpgkey ~check_signature =
| _ -> ()
) status;
!fingerprint
- | Fingerprint fp when equal_fingerprints default_fingerprint fp ->
- let filename, chan = Filename.open_temp_file "vbpubkey"
".asc" in
- unlink_on_exit filename;
- output_string chan default_pubkey;
- close_out chan;
- ignore (import_keyfile gpg tmpdir debug filename);
- fp
| Fingerprint fp ->
let filename = Filename.temp_file "vbpubkey" ".asc" in
unlink_on_exit filename;
diff --git a/builder/sigchecker.mli b/builder/sigchecker.mli
index ab44a5c..8c6ba7f 100644
--- a/builder/sigchecker.mli
+++ b/builder/sigchecker.mli
@@ -16,8 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*)
-val default_fingerprint : string
-
type t
type gpgkey_type =
--
1.8.3.1