got rid of getopt; fixed specifying keyring when verifying