signatureGenerator.init(PGPSignature.BINARY_DOCUMENT, signer.getPrivateKey());
for(int i = 0; i <=1; i++){
File deb = File.createTempFile("jdeb", ".deb");
DebMaker maker = new DebMaker(new NullConsole(), Arrays.asList(data), null);
maker.setControl(new File(getClass().getResource("../deb/control").toURI()));
maker.setDeb(deb);
if(i==0)
maker.setSignMethod("debsig-verify");