├── .gitmodules ├── Makefile ├── defmissing.bc ├── defmissing.c ├── demo.js ├── demo ├── pubring.gpg ├── secring.gpg └── trustdb.gpg ├── gpg2-worker.js ├── gpg2-worker.min.js ├── index.html ├── kittens.png ├── post.js ├── pre.js └── src ├── ABOUT-NLS ├── AUTHORS ├── COPYING ├── COPYING.LIB ├── ChangeLog ├── ChangeLog-2011 ├── INSTALL ├── Makefile ├── Makefile.am ├── Makefile.in ├── NEWS ├── README ├── README.SVN ├── THANKS ├── TODO ├── VERSION ├── acinclude.m4 ├── aclocal.m4 ├── agent ├── .deps │ ├── gpg_agent-cache.Po │ ├── gpg_agent-call-pinentry.Po │ ├── gpg_agent-call-scd.Po │ ├── gpg_agent-command-ssh.Po │ ├── gpg_agent-command.Po │ ├── gpg_agent-divert-scd.Po │ ├── gpg_agent-findkey.Po │ ├── gpg_agent-genkey.Po │ ├── gpg_agent-gpg-agent.Po │ ├── gpg_agent-learncard.Po │ ├── gpg_agent-pkdecrypt.Po │ ├── gpg_agent-pksign.Po │ ├── gpg_agent-protect.Po │ ├── gpg_agent-trans.Po │ ├── gpg_agent-trustlist.Po │ ├── gpg_protect_tool-minip12.Po │ ├── gpg_protect_tool-protect-tool.Po │ ├── gpg_protect_tool-protect.Po │ ├── preset-passphrase.Po │ ├── protect.Po │ └── t-protect.Po ├── ChangeLog-2011 ├── Makefile ├── Makefile.am ├── Makefile.in ├── agent.h ├── cache.c ├── call-pinentry.c ├── call-scd.c ├── command-ssh.c ├── command.c ├── divert-scd.c ├── findkey.c ├── genkey.c ├── gpg-agent.c ├── learncard.c ├── minip12.c ├── minip12.h ├── pkdecrypt.c ├── pksign.c ├── preset-passphrase.c ├── protect-tool.c ├── protect.c ├── t-protect.c ├── trans.c └── trustlist.c ├── am └── cmacros.am ├── autogen.sh ├── common ├── .deps │ ├── gpgrlhelp.Po │ ├── libcommon_a-asshelp.Po │ ├── libcommon_a-audit.Po │ ├── libcommon_a-b64dec.Po │ ├── libcommon_a-b64enc.Po │ ├── libcommon_a-convert.Po │ ├── libcommon_a-dns-cert.Po │ ├── libcommon_a-estream-printf.Po │ ├── libcommon_a-estream.Po │ ├── libcommon_a-exechelp.Po │ ├── libcommon_a-get-passphrase.Po │ ├── libcommon_a-gettime.Po │ ├── libcommon_a-helpfile.Po │ ├── libcommon_a-homedir.Po │ ├── libcommon_a-http.Po │ ├── libcommon_a-i18n.Po │ ├── libcommon_a-init.Po │ ├── libcommon_a-iobuf.Po │ ├── libcommon_a-localename.Po │ ├── libcommon_a-membuf.Po │ ├── libcommon_a-miscellaneous.Po │ ├── libcommon_a-percent.Po │ ├── libcommon_a-pka.Po │ ├── libcommon_a-session-env.Po │ ├── libcommon_a-sexputil.Po │ ├── libcommon_a-signal.Po │ ├── libcommon_a-srv.Po │ ├── libcommon_a-ssh-utils.Po │ ├── libcommon_a-status.Po │ ├── libcommon_a-sysutils.Po │ ├── libcommon_a-tlv.Po │ ├── libcommon_a-ttyio.Po │ ├── libcommon_a-xasprintf.Po │ ├── libcommon_a-xreadline.Po │ ├── libcommon_a-yesno.Po │ ├── libcommonpth_a-asshelp.Po │ ├── libcommonpth_a-audit.Po │ ├── libcommonpth_a-b64dec.Po │ ├── libcommonpth_a-b64enc.Po │ ├── libcommonpth_a-convert.Po │ ├── libcommonpth_a-dns-cert.Po │ ├── libcommonpth_a-estream-printf.Po │ ├── libcommonpth_a-estream.Po │ ├── libcommonpth_a-exechelp.Po │ ├── libcommonpth_a-gettime.Po │ ├── libcommonpth_a-helpfile.Po │ ├── libcommonpth_a-homedir.Po │ ├── libcommonpth_a-http.Po │ ├── libcommonpth_a-i18n.Po │ ├── libcommonpth_a-init.Po │ ├── libcommonpth_a-iobuf.Po │ ├── libcommonpth_a-localename.Po │ ├── libcommonpth_a-membuf.Po │ ├── libcommonpth_a-miscellaneous.Po │ ├── libcommonpth_a-percent.Po │ ├── libcommonpth_a-pka.Po │ ├── libcommonpth_a-session-env.Po │ ├── libcommonpth_a-sexputil.Po │ ├── libcommonpth_a-signal.Po │ ├── libcommonpth_a-srv.Po │ ├── libcommonpth_a-ssh-utils.Po │ ├── libcommonpth_a-status.Po │ ├── libcommonpth_a-sysutils.Po │ ├── libcommonpth_a-tlv.Po │ ├── libcommonpth_a-ttyio.Po │ ├── libcommonpth_a-xasprintf.Po │ ├── libcommonpth_a-xreadline.Po │ ├── libcommonpth_a-yesno.Po │ ├── libsimple_pwquery_a-asshelp.Po │ ├── libsimple_pwquery_a-simple-pwquery.Po │ ├── t-b64.Po │ ├── t-convert.Po │ ├── t-exechelp.Po │ ├── t-gettime.Po │ ├── t-helpfile.Po │ ├── t-percent.Po │ ├── t-session-env.Po │ ├── t-sexputil.Po │ ├── t-ssh-utils.Po │ └── t-sysutils.Po ├── ChangeLog-2011 ├── Makefile ├── Makefile.am ├── Makefile.in ├── README ├── asshelp.c ├── asshelp.h ├── audit-events.h ├── audit.c ├── audit.h ├── b64dec.c ├── b64enc.c ├── common-defs.h ├── convert.c ├── dns-cert.c ├── dns-cert.h ├── estream-printf.c ├── estream-printf.h ├── estream.c ├── estream.h ├── exaudit.awk ├── exechelp.c ├── exechelp.h ├── exstatus.awk ├── gc-opt-flags.h ├── get-passphrase.c ├── get-passphrase.h ├── gettime.c ├── gpgrlhelp.c ├── gpgrlhelp.o ├── helpfile.c ├── homedir.c ├── http.c ├── http.h ├── i18n.c ├── i18n.h ├── init.c ├── init.h ├── iobuf.c ├── iobuf.h ├── keyserver.h ├── libcommon.a ├── libcommon_a-asshelp.o ├── libcommon_a-audit.o ├── libcommon_a-b64dec.o ├── libcommon_a-b64enc.o ├── libcommon_a-convert.o ├── libcommon_a-dns-cert.o ├── libcommon_a-estream-printf.o ├── libcommon_a-estream.o ├── libcommon_a-exechelp.o ├── libcommon_a-get-passphrase.o ├── libcommon_a-gettime.o ├── libcommon_a-helpfile.o ├── libcommon_a-homedir.o ├── libcommon_a-http.o ├── libcommon_a-i18n.o ├── libcommon_a-init.o ├── libcommon_a-iobuf.o ├── libcommon_a-localename.o ├── libcommon_a-membuf.o ├── libcommon_a-miscellaneous.o ├── libcommon_a-percent.o ├── libcommon_a-pka.o ├── libcommon_a-session-env.o ├── libcommon_a-sexputil.o ├── libcommon_a-signal.o ├── libcommon_a-ssh-utils.o ├── libcommon_a-status.o ├── libcommon_a-sysutils.o ├── libcommon_a-tlv.o ├── libcommon_a-ttyio.o ├── libcommon_a-xasprintf.o ├── libcommon_a-xreadline.o ├── libcommon_a-yesno.o ├── libcommonpth.a ├── libcommonpth_a-asshelp.o ├── libcommonpth_a-audit.o ├── libcommonpth_a-b64dec.o ├── libcommonpth_a-b64enc.o ├── libcommonpth_a-convert.o ├── libcommonpth_a-dns-cert.o ├── libcommonpth_a-estream-printf.o ├── libcommonpth_a-estream.o ├── libcommonpth_a-exechelp.o ├── libcommonpth_a-gettime.o ├── libcommonpth_a-helpfile.o ├── libcommonpth_a-homedir.o ├── libcommonpth_a-http.o ├── libcommonpth_a-i18n.o ├── libcommonpth_a-init.o ├── libcommonpth_a-iobuf.o ├── libcommonpth_a-localename.o ├── libcommonpth_a-membuf.o ├── libcommonpth_a-miscellaneous.o ├── libcommonpth_a-percent.o ├── libcommonpth_a-pka.o ├── libcommonpth_a-session-env.o ├── libcommonpth_a-sexputil.o ├── libcommonpth_a-signal.o ├── libcommonpth_a-ssh-utils.o ├── libcommonpth_a-status.o ├── libcommonpth_a-sysutils.o ├── libcommonpth_a-tlv.o ├── libcommonpth_a-ttyio.o ├── libcommonpth_a-xasprintf.o ├── libcommonpth_a-xreadline.o ├── libcommonpth_a-yesno.o ├── libgpgrl.a ├── libsimple-pwquery.a ├── libsimple_pwquery_a-asshelp.o ├── libsimple_pwquery_a-simple-pwquery.o ├── localename.c ├── membuf.c ├── membuf.h ├── miscellaneous.c ├── mkstrtable.awk ├── openpgpdefs.h ├── percent.c ├── pka.c ├── pka.h ├── session-env.c ├── session-env.h ├── sexp-parse.h ├── sexputil.c ├── signal.c ├── simple-pwquery.c ├── simple-pwquery.h ├── srv.c ├── srv.h ├── ssh-utils.c ├── ssh-utils.h ├── status-codes.h ├── status.c ├── status.h ├── sysutils.c ├── sysutils.h ├── t-b64 ├── t-b64.c ├── t-b64.o ├── t-convert ├── t-convert.c ├── t-convert.o ├── t-exechelp ├── t-exechelp.c ├── t-exechelp.o ├── t-gettime ├── t-gettime.c ├── t-gettime.o ├── t-helpfile ├── t-helpfile.c ├── t-helpfile.o ├── t-percent ├── t-percent.c ├── t-percent.o ├── t-session-env ├── t-session-env.c ├── t-session-env.o ├── t-sexputil ├── t-sexputil.c ├── t-sexputil.o ├── t-ssh-utils ├── t-ssh-utils.c ├── t-ssh-utils.o ├── t-sysutils ├── t-sysutils.c ├── t-sysutils.o ├── tlv.c ├── tlv.h ├── ttyio.c ├── ttyio.h ├── util.h ├── xasprintf.c ├── xreadline.c └── yesno.c ├── config.h ├── config.h.in ├── config.log ├── config.status ├── configure ├── configure.ac ├── doc ├── ChangeLog-2011 ├── DETAILS ├── FAQ ├── HACKING ├── KEYSERVER ├── Makefile ├── Makefile.am ├── Makefile.in ├── OpenPGP ├── TRANSLATE ├── com-certs.pem ├── contrib.texi ├── debugging.texi ├── examples │ ├── README │ ├── gpgconf.conf │ ├── pwpattern.list │ ├── scd-event │ └── trustlist.txt ├── glossary.texi ├── gnupg-card-architecture.eps ├── gnupg-card-architecture.fig ├── gnupg-card-architecture.pdf ├── gnupg-card-architecture.png ├── gnupg-logo.eps ├── gnupg-logo.pdf ├── gnupg-logo.png ├── gnupg.info ├── gnupg.info-1 ├── gnupg.info-2 ├── gnupg.texi ├── gnupg7.texi ├── gpg-agent.texi ├── gpg.texi ├── gpgsm.texi ├── gpgv.texi ├── gpl.texi ├── help.be.txt ├── help.ca.txt ├── help.cs.txt ├── help.da.txt ├── help.de.txt ├── help.el.txt ├── help.eo.txt ├── help.es.txt ├── help.et.txt ├── help.fi.txt ├── help.fr.txt ├── help.gl.txt ├── help.hu.txt ├── help.id.txt ├── help.it.txt ├── help.ja.txt ├── help.nb.txt ├── help.pl.txt ├── help.pt.txt ├── help.pt_BR.txt ├── help.ro.txt ├── help.ru.txt ├── help.sk.txt ├── help.sv.txt ├── help.tr.txt ├── help.txt ├── help.zh_CN.txt ├── help.zh_TW.txt ├── howto-create-a-server-cert.texi ├── howtos.texi ├── instguide.texi ├── opt-homedir.texi ├── qualified.txt ├── samplekeys.asc ├── scdaemon.texi ├── see-also-note.texi ├── specify-user-id.texi ├── stamp-vti ├── sysnotes.texi ├── texi.css ├── tools.texi ├── version.texi └── yat2m.c ├── g10 ├── .deps │ ├── armor.Po │ ├── build-packet.Po │ ├── call-agent.Po │ ├── card-util.Po │ ├── cipher.Po │ ├── compress-bz2.Po │ ├── compress.Po │ ├── cpr.Po │ ├── dearmor.Po │ ├── decrypt.Po │ ├── delkey.Po │ ├── encode.Po │ ├── encr-data.Po │ ├── exec.Po │ ├── export.Po │ ├── free-packet.Po │ ├── getkey.Po │ ├── gpg.Po │ ├── gpgv.Po │ ├── helptext.Po │ ├── import.Po │ ├── kbnode.Po │ ├── keydb.Po │ ├── keyedit.Po │ ├── keygen.Po │ ├── keyid.Po │ ├── keylist.Po │ ├── keyring.Po │ ├── keyserver.Po │ ├── mainproc.Po │ ├── mdfilter.Po │ ├── misc.Po │ ├── openfile.Po │ ├── parse-packet.Po │ ├── passphrase.Po │ ├── photoid.Po │ ├── pkclist.Po │ ├── pkglue.Po │ ├── plaintext.Po │ ├── progress.Po │ ├── pubkey-enc.Po │ ├── revoke.Po │ ├── rmd160.Po │ ├── seckey-cert.Po │ ├── server.Po │ ├── seskey.Po │ ├── sig-check.Po │ ├── sign.Po │ ├── skclist.Po │ ├── t-rmd160.Po │ ├── tdbdump.Po │ ├── tdbio.Po │ ├── textfilter.Po │ ├── trustdb.Po │ └── verify.Po ├── ChangeLog-2011 ├── Makefile ├── Makefile.am ├── Makefile.in ├── armor.c ├── armor.o ├── build-packet.c ├── build-packet.o ├── call-agent.c ├── call-agent.h ├── call-agent.o ├── card-util.c ├── card-util.o ├── cipher.c ├── cipher.o ├── compress-bz2.c ├── compress.c ├── compress.o ├── cpr.c ├── cpr.o ├── dearmor.c ├── dearmor.o ├── decrypt.c ├── decrypt.o ├── delkey.c ├── delkey.o ├── encode.c ├── encode.o ├── encr-data.c ├── encr-data.o ├── exec.c ├── exec.h ├── exec.o ├── export.c ├── export.o ├── filter.h ├── free-packet.c ├── free-packet.o ├── getkey.c ├── getkey.o ├── gpg.c ├── gpg.h ├── gpg.o ├── gpg2 ├── gpg2.bc ├── gpgv.c ├── gpgv.o ├── gpgv2 ├── helptext.c ├── helptext.o ├── import.c ├── import.o ├── kbnode.c ├── kbnode.o ├── keydb.c ├── keydb.h ├── keydb.o ├── keyedit.c ├── keyedit.o ├── keygen.c ├── keygen.o ├── keyid.c ├── keyid.o ├── keylist.c ├── keylist.o ├── keyring.c ├── keyring.h ├── keyring.o ├── keyserver-internal.h ├── keyserver.c ├── keyserver.o ├── main.h ├── mainproc.c ├── mainproc.o ├── mdfilter.c ├── mdfilter.o ├── misc.c ├── misc.o ├── openfile.c ├── openfile.o ├── options.h ├── options.skel ├── packet.h ├── parse-packet.c ├── parse-packet.o ├── passphrase.c ├── passphrase.o ├── photoid.c ├── photoid.h ├── photoid.o ├── pkclist.c ├── pkclist.o ├── pkglue.c ├── pkglue.h ├── pkglue.o ├── plaintext.c ├── plaintext.o ├── progress.c ├── progress.o ├── pubkey-enc.c ├── pubkey-enc.o ├── revoke.c ├── revoke.o ├── rmd160.c ├── rmd160.h ├── rmd160.o ├── seckey-cert.c ├── seckey-cert.o ├── server.c ├── server.o ├── seskey.c ├── seskey.o ├── sig-check.c ├── sig-check.o ├── sign.c ├── sign.o ├── skclist.c ├── skclist.o ├── t-rmd160 ├── t-rmd160.c ├── t-rmd160.o ├── tdbdump.c ├── tdbdump.o ├── tdbio.c ├── tdbio.h ├── tdbio.o ├── textfilter.c ├── textfilter.o ├── trustdb.c ├── trustdb.h ├── trustdb.o ├── verify.c └── verify.o ├── gl ├── .deps │ ├── allocsa.Po │ ├── mkdtemp.Po │ ├── setenv.Po │ ├── strpbrk.Po │ └── unsetenv.Po ├── Makefile ├── Makefile.am ├── Makefile.in ├── alloca.h ├── alloca_.h ├── allocsa.c ├── allocsa.h ├── allocsa.o ├── allocsa.valgrind ├── libgnu.a ├── m4 │ ├── absolute-header.m4 │ ├── alloca.m4 │ ├── allocsa.m4 │ ├── eealloc.m4 │ ├── gnulib-comp.m4 │ ├── gnulib-tool.m4 │ ├── mkdtemp.m4 │ ├── setenv.m4 │ ├── stdint.m4 │ ├── strpbrk.m4 │ └── unistd_h.m4 ├── mkdtemp.c ├── mkdtemp.h ├── setenv.c ├── setenv.h ├── size_max.h ├── stdint.h ├── stdint_.h ├── strpbrk.c ├── strpbrk.h ├── unsetenv.c └── xsize.h ├── include ├── ChangeLog-2011 ├── Makefile ├── Makefile.am ├── Makefile.in ├── _regex.h ├── cipher.h ├── host2net.h └── types.h ├── jnlib ├── .deps │ ├── argparse.Po │ ├── dotlock.Po │ ├── logging.Po │ ├── mischelp.Po │ ├── stringhelp.Po │ ├── strlist.Po │ ├── t-stringhelp.Po │ ├── t-support.Po │ ├── utf8conv.Po │ ├── w32-afunix.Po │ ├── w32-gettext.Po │ └── w32-reg.Po ├── ChangeLog-2011 ├── Makefile ├── Makefile.am ├── Makefile.in ├── README ├── argparse.c ├── argparse.h ├── argparse.o ├── dotlock.c ├── dotlock.h ├── dotlock.o ├── dynload.h ├── libjnlib-config.h ├── libjnlib.a ├── logging.c ├── logging.h ├── logging.o ├── mischelp.c ├── mischelp.h ├── mischelp.o ├── stringhelp.c ├── stringhelp.h ├── stringhelp.o ├── strlist.c ├── strlist.h ├── strlist.o ├── t-stringhelp ├── t-stringhelp.c ├── t-stringhelp.o ├── t-support.c ├── t-support.h ├── t-support.o ├── types.h ├── utf8conv.c ├── utf8conv.h ├── utf8conv.o ├── w32-afunix.c ├── w32-afunix.h ├── w32-gettext.c ├── w32-reg.c └── w32help.h ├── kbx ├── .deps │ ├── kbxutil.Po │ ├── keybox-blob.Po │ ├── keybox-dump.Po │ ├── keybox-file.Po │ ├── keybox-init.Po │ ├── keybox-openpgp.Po │ ├── keybox-search.Po │ ├── keybox-update.Po │ └── keybox-util.Po ├── ChangeLog-2011 ├── Makefile ├── Makefile.am ├── Makefile.in ├── kbxutil.c ├── keybox-blob.c ├── keybox-defs.h ├── keybox-dump.c ├── keybox-file.c ├── keybox-init.c ├── keybox-openpgp.c ├── keybox-search-desc.h ├── keybox-search.c ├── keybox-update.c ├── keybox-util.c ├── keybox.h └── mkerrors ├── keyserver ├── .deps │ ├── gpg2keys_curl-curl-shim.Po │ ├── gpg2keys_curl-gpgkeys_curl.Po │ ├── gpg2keys_curl-ksutil.Po │ ├── gpg2keys_curl-no-libgcrypt.Po │ ├── gpg2keys_finger-gpgkeys_finger.Po │ ├── gpg2keys_finger-ksutil.Po │ ├── gpg2keys_finger-no-libgcrypt.Po │ ├── gpg2keys_hkp-curl-shim.Po │ ├── gpg2keys_hkp-gpgkeys_hkp.Po │ ├── gpg2keys_hkp-ksutil.Po │ ├── gpg2keys_hkp-no-libgcrypt.Po │ ├── gpg2keys_kdns-gpgkeys_kdns.Po │ ├── gpg2keys_kdns-ksutil.Po │ ├── gpg2keys_kdns-no-libgcrypt.Po │ ├── gpg2keys_ldap-gpgkeys_ldap.Po │ ├── gpg2keys_ldap-ksutil.Po │ └── gpg2keys_ldap-no-libgcrypt.Po ├── ChangeLog-2011 ├── Makefile ├── Makefile.am ├── Makefile.in ├── curl-shim.c ├── curl-shim.h ├── gpg2keys_mailto ├── gpg2keys_mailto.in ├── gpg2keys_test ├── gpg2keys_test.in ├── gpgkeys_curl.c ├── gpgkeys_finger.c ├── gpgkeys_hkp.c ├── gpgkeys_kdns.c ├── gpgkeys_ldap.c ├── ksutil.c ├── ksutil.h └── no-libgcrypt.c ├── m4 ├── ChangeLog-2011 ├── Makefile ├── Makefile.am ├── Makefile.in ├── autobuild.m4 ├── codeset.m4 ├── estream.m4 ├── gettext.m4 ├── glibc2.m4 ├── glibc21.m4 ├── gnupg-pth.m4 ├── gpg-error.m4 ├── iconv.m4 ├── intdiv0.m4 ├── intl.m4 ├── intldir.m4 ├── intmax.m4 ├── inttypes-pri.m4 ├── inttypes.m4 ├── inttypes_h.m4 ├── isc-posix.m4 ├── ksba.m4 ├── lcmessage.m4 ├── ldap.m4 ├── lib-ld.m4 ├── lib-link.m4 ├── lib-prefix.m4 ├── libassuan.m4 ├── libcurl.m4 ├── libgcrypt.m4 ├── libusb.m4 ├── lock.m4 ├── longdouble.m4 ├── nls.m4 ├── po.m4 ├── printf-posix.m4 ├── progtest.m4 ├── readline.m4 ├── signed.m4 ├── size_max.m4 ├── socklen.m4 ├── stdint_h.m4 ├── sys_socket_h.m4 ├── tar-ustar.m4 ├── uintmax_t.m4 ├── visibility.m4 ├── wchar_t.m4 ├── wint_t.m4 └── xsize.m4 ├── po ├── ChangeLog-2011 ├── LINGUAS ├── Makefile ├── Makefile.in ├── Makefile.in.in ├── Makevars ├── POTFILES ├── POTFILES.in ├── Rules-quot ├── be.gmo ├── be.po ├── boldquot.sed ├── ca.gmo ├── ca.po ├── cs.gmo ├── cs.po ├── da.gmo ├── da.po ├── de.gmo ├── de.po ├── el.gmo ├── el.po ├── en@boldquot.gmo ├── en@boldquot.header ├── en@boldquot.po ├── en@quot.gmo ├── en@quot.header ├── en@quot.po ├── eo.gmo ├── eo.po ├── es.gmo ├── es.po ├── et.gmo ├── et.po ├── fi.gmo ├── fi.po ├── fr.gmo ├── fr.po ├── gl.gmo ├── gl.po ├── gnupg2.pot ├── hu.gmo ├── hu.po ├── id.gmo ├── id.po ├── insert-header.sin ├── it.gmo ├── it.po ├── ja.gmo ├── ja.po ├── nb.gmo ├── nb.po ├── pl.gmo ├── pl.po ├── pt.gmo ├── pt.po ├── pt_BR.gmo ├── pt_BR.po ├── quot.sed ├── remove-potcdate.sin ├── ro.gmo ├── ro.po ├── ru.gmo ├── ru.po ├── sk.gmo ├── sk.po ├── stamp-po ├── sv.gmo ├── sv.po ├── tr.gmo ├── tr.po ├── uk.gmo ├── uk.po ├── zh_CN.gmo ├── zh_CN.po ├── zh_TW.gmo └── zh_TW.po ├── scd ├── .deps │ ├── apdu.Po │ ├── app-dinsig.Po │ ├── app-geldkarte.Po │ ├── app-help.Po │ ├── app-nks.Po │ ├── app-openpgp.Po │ ├── app-p15.Po │ ├── app.Po │ ├── ccid-driver.Po │ ├── command.Po │ ├── gnupg_pcsc_wrapper-pcsc-wrapper.Po │ ├── iso7816.Po │ └── scdaemon.Po ├── ChangeLog-2011 ├── Makefile ├── Makefile.am ├── Makefile.in ├── apdu.c ├── apdu.h ├── app-common.h ├── app-dinsig.c ├── app-geldkarte.c ├── app-help.c ├── app-nks.c ├── app-openpgp.c ├── app-p15.c ├── app.c ├── ccid-driver.c ├── ccid-driver.h ├── command.c ├── iso7816.c ├── iso7816.h ├── pcsc-wrapper.c ├── scdaemon.c └── scdaemon.h ├── scripts ├── ChangeLog-2011 ├── compile ├── config.guess ├── config.rpath ├── config.sub ├── depcomp ├── install-sh ├── mdate-sh ├── missing ├── mkinstalldirs └── texinfo.tex ├── sm ├── .deps │ ├── base64.Po │ ├── call-agent.Po │ ├── call-dirmngr.Po │ ├── certchain.Po │ ├── certcheck.Po │ ├── certdump.Po │ ├── certlist.Po │ ├── certreqgen-ui.Po │ ├── certreqgen.Po │ ├── decrypt.Po │ ├── delete.Po │ ├── encrypt.Po │ ├── export.Po │ ├── fingerprint.Po │ ├── gpgsm.Po │ ├── import.Po │ ├── keydb.Po │ ├── keylist.Po │ ├── misc.Po │ ├── qualified.Po │ ├── server.Po │ ├── sign.Po │ └── verify.Po ├── ChangeLog-2011 ├── Makefile ├── Makefile.am ├── Makefile.in ├── base64.c ├── call-agent.c ├── call-dirmngr.c ├── certchain.c ├── certcheck.c ├── certdump.c ├── certlist.c ├── certreqgen-ui.c ├── certreqgen.c ├── decrypt.c ├── delete.c ├── encrypt.c ├── export.c ├── fingerprint.c ├── gpgsm.c ├── gpgsm.h ├── import.c ├── keydb.c ├── keydb.h ├── keylist.c ├── misc.c ├── qualified.c ├── server.c ├── sign.c └── verify.c ├── stamp-h1 ├── t ├── tests ├── .deps │ └── asschk.Po ├── ChangeLog-2011 ├── Makefile ├── Makefile.am ├── Makefile.in ├── asschk.c ├── inittests ├── openpgp │ ├── ChangeLog-2011 │ ├── Makefile │ ├── Makefile.am │ ├── Makefile.in │ ├── armdetach.test │ ├── armdetachm.test │ ├── armencrypt.test │ ├── armencryptp.test │ ├── armor.test │ ├── armsignencrypt.test │ ├── armsigs.test │ ├── bug537-test.data.asc │ ├── bug894-test.asc │ ├── clearsig.test │ ├── conventional-mdc.test │ ├── conventional.test │ ├── decrypt-dsa.test │ ├── decrypt.test │ ├── defs.inc │ ├── detach.test │ ├── detachm.test │ ├── encrypt-dsa.test │ ├── encrypt.test │ ├── encryptp.test │ ├── genkey1024.test │ ├── gpg-agent.conf.tmpl │ ├── gpg.conf.tmpl │ ├── import.test │ ├── mds.test │ ├── mkdemodirs │ ├── multisig.test │ ├── plain-1-pgp.asc │ ├── plain-1.asc │ ├── plain-1o.asc │ ├── plain-2.asc │ ├── plain-2o.asc │ ├── plain-3.asc │ ├── plain-3o.asc │ ├── pubdemo.asc │ ├── pubring.asc │ ├── pubring.pkr.asc │ ├── seat.test │ ├── secdemo.asc │ ├── secring.asc │ ├── secring.skr.asc │ ├── signdemokey │ ├── signencrypt-dsa.test │ ├── signencrypt.test │ ├── sigs-dsa.test │ ├── sigs.test │ ├── verify.test │ └── version.test ├── pkits │ ├── ChangeLog-2011 │ ├── Makefile │ ├── Makefile.am │ ├── Makefile.in │ ├── README │ ├── basic-certificate-revocation │ ├── certificate-policies │ ├── common.sh │ ├── delta-crls │ ├── distribution-points │ ├── import-all-certs │ ├── import-all-certs.data │ ├── inhibit-any-policy │ ├── inhibit-policy-mapping │ ├── inittests │ ├── key-usage │ ├── name-constraints │ ├── policy-mappings │ ├── private-certificate-extensions │ ├── require-explicit-policy │ ├── runtest │ ├── signature-verification │ ├── validate-all-certs │ ├── validity-periods │ ├── verifying-basic-constraints │ ├── verifying-name-chaining │ └── verifying-paths-self-issued ├── runtest ├── samplekeys │ ├── 32100C27173EF6E9C4E9A25D3D69F86D37A4F939.key │ ├── cert_g10code_pete1.pem │ ├── cert_g10code_test1.pem │ └── cert_g10code_theo1.pem ├── sm-sign+verify ├── sm-verify ├── text-1.dsig.pem ├── text-1.osig-bad.pem ├── text-1.osig.pem ├── text-1.txt ├── text-2.osig-bad.pem ├── text-2.osig.pem ├── text-2.txt └── text-3.txt └── tools ├── .deps ├── clean-sat.Po ├── gpg-connect-agent.Po ├── gpg_check_pattern-gpg-check-pattern.Po ├── gpgconf-comp.Po ├── gpgconf.Po ├── gpgkey2ssh-gpgkey2ssh.Po ├── gpgparsemail.Po ├── gpgsplit.Po ├── gpgtar-gpgtar-create.Po ├── gpgtar-gpgtar-extract.Po ├── gpgtar-gpgtar-list.Po ├── gpgtar-gpgtar.Po ├── gpgtar-no-libgcrypt.Po ├── make-dns-cert.Po ├── mk-tdata.Po ├── no-libgcrypt.Po ├── rfc822parse.Po ├── symcryptrun.Po └── watchgnupg.Po ├── ChangeLog-2011 ├── Makefile ├── Makefile.am ├── Makefile.in ├── Manifest ├── addgnupghome ├── applygnupgdefaults ├── ccidmon.c ├── clean-sat.c ├── convert-from-106 ├── gpg-check-pattern.c ├── gpg-connect-agent.c ├── gpg-zip ├── gpg-zip.in ├── gpgconf-comp.c ├── gpgconf.c ├── gpgconf.h ├── gpgkey2ssh.c ├── gpgparsemail.c ├── gpgsm-gencert.sh ├── gpgsplit.c ├── gpgtar-create.c ├── gpgtar-extract.c ├── gpgtar-list.c ├── gpgtar.c ├── gpgtar.h ├── lspgpot ├── mail-signed-keys ├── make-dns-cert.c ├── mk-tdata.c ├── no-libgcrypt.c ├── rfc822parse.c ├── rfc822parse.h ├── sockprox.c ├── symcryptrun.c └── watchgnupg.c /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "zlib"] 2 | path = zlib 3 | url = git://github.com/manuels/unix-toolbox.js-zlib.git 4 | [submodule "libgpg-error"] 5 | path = libgpg-error 6 | url = git://github.com/manuels/unix-toolbox.js-libgpg-error.git 7 | [submodule "libassuan"] 8 | path = libassuan 9 | url = git://github.com/manuels/unix-toolbox.js-libassuan.git 10 | [submodule "libksba"] 11 | path = libksba 12 | url = git://github.com/manuels/unix-toolbox.js-libksba.git 13 | [submodule "libgcrypt"] 14 | path = libgcrypt 15 | url = git://github.com/manuels/unix-toolbox.js-libgcrypt.git 16 | [submodule "toolbox-base"] 17 | path = toolbox-base 18 | url = git://github.com/manuels/unix-toolbox.js-base.git 19 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | UTIL_PATH=./src/g10/ 2 | ZLIB_PATH=./zlib/src 3 | LIBGCRYPT_PATH=./libgcrypt/src 4 | LIBASSUAN_PATH=./libassuan/src 5 | LIBGPGERROR_PATH=./libgpg-error/src 6 | 7 | ZLIB=${ZLIB_PATH}/compress.o \ 8 | ${ZLIB_PATH}/adler32.o \ 9 | ${ZLIB_PATH}/crc32.o \ 10 | ${ZLIB_PATH}/deflate.o \ 11 | ${ZLIB_PATH}/gzclose.o \ 12 | ${ZLIB_PATH}/gzlib.o \ 13 | ${ZLIB_PATH}/gzread.o \ 14 | ${ZLIB_PATH}/gzwrite.o \ 15 | ${ZLIB_PATH}/infback.o \ 16 | ${ZLIB_PATH}/inffast.o \ 17 | ${ZLIB_PATH}/inflate.o \ 18 | ${ZLIB_PATH}/inftrees.o \ 19 | ${ZLIB_PATH}/trees.o \ 20 | ${ZLIB_PATH}/uncompr.o \ 21 | ${ZLIB_PATH}/zutil.o 22 | 23 | LIBASSUAN=${LIBASSUAN_PATH}/src/.libs/*.o 24 | LIBGCRYPT=${LIBGCRYPT_PATH}/src/.libs/*.o ${LIBGCRYPT_PATH}/cipher/.libs/*.o ${LIBGCRYPT_PATH}/mpi/.libs/*.o ${LIBGCRYPT_PATH}/random/.libs/*.o ${LIBGCRYPT_PATH}/compat/.libs/*.o 25 | LIBGPGERROR=${LIBGPGERROR_PATH}/src/.libs/*.o 26 | 27 | all: utils ; 28 | 29 | utils: gpg2 ; 30 | 31 | %: 32 | cp ${UTIL_PATH}/$@ ${UTIL_PATH}/$@.bc 33 | emcc defmissing.c -o defmissing.bc 34 | emcc -O2 --minify 1 --post-js post.js --pre-js pre.js --pre-js ./toolbox-base/pre.js defmissing.bc ${UTIL_PATH}/$@.bc ${ZLIB} ${LIBASSUAN} ${LIBGCRYPT} ${LIBGPGERROR} -o $@-worker.js 35 | -------------------------------------------------------------------------------- /defmissing.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/defmissing.bc -------------------------------------------------------------------------------- /defmissing.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int raise(int i) { 5 | return 0; 6 | } 7 | 8 | int mlock(const void *addr, size_t len) { 9 | return 0; 10 | } 11 | 12 | size_t iconv(iconv_t cd, 13 | char **inbuf, size_t *inbytesleft, 14 | char **outbuf, size_t *outbytesleft) { 15 | memcpy(outbuf, inbuf, *inbytesleft); 16 | *outbytesleft = *inbytesleft; 17 | 18 | return *outbytesleft; 19 | } 20 | 21 | iconv_t iconv_open(const char *tocode, const char *fromcode) { 22 | return ((iconv_t) 1); 23 | } 24 | 25 | int iconv_close(iconv_t cd) { 26 | return 0; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /demo/pubring.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/demo/pubring.gpg -------------------------------------------------------------------------------- /demo/secring.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/demo/secring.gpg -------------------------------------------------------------------------------- /demo/trustdb.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/demo/trustdb.gpg -------------------------------------------------------------------------------- /kittens.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/kittens.png -------------------------------------------------------------------------------- /pre.js: -------------------------------------------------------------------------------- 1 | _i32______gpg_err_init_to_void_____ = function() {} 2 | 3 | -------------------------------------------------------------------------------- /src/VERSION: -------------------------------------------------------------------------------- 1 | 2.0.19 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-cache.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-call-pinentry.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-call-scd.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-command-ssh.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-command.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-divert-scd.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-findkey.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-genkey.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-gpg-agent.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-learncard.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-pkdecrypt.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-pksign.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-protect.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-trans.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_agent-trustlist.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_protect_tool-minip12.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_protect_tool-protect-tool.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/gpg_protect_tool-protect.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/preset-passphrase.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/protect.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/.deps/t-protect.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/agent/minip12.h: -------------------------------------------------------------------------------- 1 | /* minip12.h - Global definitions for the minimal pkcs-12 implementation. 2 | * Copyright (C) 2002, 2003 Free Software Foundation, Inc. 3 | * 4 | * This file is part of GnuPG. 5 | * 6 | * GnuPG is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * GnuPG is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, see . 18 | */ 19 | 20 | #ifndef MINIP12_H 21 | #define MINIP12_H 22 | 23 | #include 24 | 25 | gcry_mpi_t *p12_parse (const unsigned char *buffer, size_t length, 26 | const char *pw, 27 | void (*certcb)(void*, const unsigned char*, size_t), 28 | void *certcbarg); 29 | 30 | unsigned char *p12_build (gcry_mpi_t *kparms, 31 | unsigned char *cert, size_t certlen, 32 | const char *pw, const char *charset, 33 | size_t *r_length); 34 | 35 | 36 | #endif /*MINIP12_H*/ 37 | -------------------------------------------------------------------------------- /src/agent/trans.c: -------------------------------------------------------------------------------- 1 | /* trans.c - translatable strings 2 | * Copyright (C) 2001 Free Software Foundation, Inc. 3 | * 4 | * This file is part of GnuPG. 5 | * 6 | * GnuPG is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * GnuPG is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, see . 18 | */ 19 | 20 | /* To avoid any problems with the gettext implementation (there used 21 | to be some vulnerabilities in the last years and the use of 22 | external files is a minor security problem in itself), we use our 23 | own simple translation stuff */ 24 | 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | #include 34 | 35 | #include "agent.h" 36 | 37 | const char * 38 | trans (const char *text) 39 | { 40 | return text; 41 | } 42 | -------------------------------------------------------------------------------- /src/common/.deps/libcommon_a-srv.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/common/.deps/libcommonpth_a-srv.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/common/README: -------------------------------------------------------------------------------- 1 | Stuff used by several modules of GnuPG. 2 | 3 | These directories use it: 4 | 5 | gpg 6 | sm 7 | agent 8 | 9 | These directories don't use it: 10 | 11 | kbx -------------------------------------------------------------------------------- /src/common/common-defs.h: -------------------------------------------------------------------------------- 1 | /* common-defs.h - Private declarations for common/ 2 | * Copyright (C) 2006 Free Software Foundation, Inc. 3 | * 4 | * This file is part of GnuPG. 5 | * 6 | * GnuPG is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * GnuPG is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, see . 18 | */ 19 | 20 | #ifndef GNUPG_COMMON_COMMON_DEFS_H 21 | #define GNUPG_COMMON_COMMON_DEFS_H 22 | 23 | /*-- ttyio.c --*/ 24 | void tty_private_set_rl_hooks (void (*init_stream) (FILE *), 25 | void (*set_completer) (rl_completion_func_t*), 26 | void (*inhibit_completion) (int), 27 | void (*cleanup_after_signal) (void), 28 | char *(*readline_fun) (const char*), 29 | void (*add_history_fun) (const char*)); 30 | 31 | 32 | 33 | #endif /*GNUPG_COMMON_COMMON_DEFS_H*/ 34 | -------------------------------------------------------------------------------- /src/common/dns-cert.h: -------------------------------------------------------------------------------- 1 | /* dns-cert.h - DNS CERT definition 2 | * Copyright (C) 2006 Free Software Foundation, Inc. 3 | * 4 | * This file is part of GnuPG. 5 | * 6 | * GnuPG is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * GnuPG is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, see . 18 | */ 19 | #ifndef GNUPG_COMMON_DNS_CERT_H 20 | #define GNUPG_COMMON_DNS_CERT_H 21 | 22 | int get_dns_cert (const char *name, size_t max_size, IOBUF *iobuf, 23 | unsigned char **fpr, size_t *fpr_len, char **url); 24 | 25 | 26 | #endif /*GNUPG_COMMON_DNS_CERT_H*/ 27 | -------------------------------------------------------------------------------- /src/common/exaudit.awk: -------------------------------------------------------------------------------- 1 | # exaudit.awk - Extract audit event codes from audit.h 2 | # Copyright (C) 2007 Free Software Foundation, Inc. 3 | # 4 | # This file is part of GnuPG. 5 | # 6 | # GnuPG is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # GnuPG is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program; if not, see . 18 | 19 | BEGIN { 20 | print "# Output of exaudit.awk - DO NOT EDIT." 21 | topheader = 0; 22 | okay = 0; 23 | code = 0; 24 | } 25 | 26 | topheader == 0 && /^\/\*/ { topheader = 1 } 27 | topheader == 1 { print $0 } 28 | topheader == 1 && /\*\// { topheader = 2; print "" } 29 | 30 | /AUDIT_NULL_EVENT/ { okay = 1 } 31 | !okay { next } 32 | /AUDIT_LAST_EVENT/ { exit } 33 | /AUDIT_[A-Za-z_]+/ { 34 | sub (/[,\/\*]+/, "", $1); 35 | desc = tolower (substr($1,7)); 36 | gsub (/_/," ",desc); 37 | printf "%d\t%s\t%s\n", code, $1, desc; 38 | code++; 39 | } 40 | 41 | END { 42 | print "# end of audit codes." 43 | } 44 | -------------------------------------------------------------------------------- /src/common/exstatus.awk: -------------------------------------------------------------------------------- 1 | # exstatus.awk - Extract status codes from status.h 2 | # Copyright (C) 2007 Free Software Foundation, Inc. 3 | # 4 | # This file is part of GnuPG. 5 | # 6 | # GnuPG is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # GnuPG is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program; if not, see . 18 | 19 | BEGIN { 20 | print "# Created by exstatus.awk - DO NOT EDIT." 21 | topheader = 0; 22 | code = 0; 23 | } 24 | 25 | topheader == 0 && /^\/\*/ { topheader = 1 } 26 | topheader == 1 { print $0 } 27 | topheader == 1 && /\*\// { topheader = 2; print "" } 28 | 29 | /^[ \t]+STATUS_[A-Za-z_]+/ { 30 | sub (/[,\/\*]+/, "", $1); 31 | desc = substr($1,8); 32 | printf "%d\t%s\t%s\n", code, $1, desc; 33 | code++; 34 | } 35 | 36 | 37 | END { 38 | print "# end of status codes." 39 | } 40 | 41 | -------------------------------------------------------------------------------- /src/common/gpgrlhelp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/gpgrlhelp.o -------------------------------------------------------------------------------- /src/common/i18n.h: -------------------------------------------------------------------------------- 1 | /* i18n.h 2 | * Copyright (C) 1998, 2001 Free Software Foundation, Inc. 3 | * 4 | * This file is free software; as a special exception the author gives 5 | * unlimited permission to copy and/or distribute it, with or without 6 | * modifications, as long as this notice is preserved. 7 | * 8 | * This file is distributed in the hope that it will be useful, but 9 | * WITHOUT ANY WARRANTY, to the extent permitted by law; without even 10 | * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 11 | * PURPOSE. 12 | */ 13 | 14 | #ifndef GNUPG_COMMON_I18N_H 15 | #define GNUPG_COMMON_I18N_H 16 | 17 | 18 | #ifdef USE_SIMPLE_GETTEXT 19 | # include "../jnlib/w32help.h" 20 | # define _(a) gettext (a) 21 | # define N_(a) (a) 22 | #else 23 | # ifdef HAVE_LOCALE_H 24 | # include 25 | # endif 26 | # ifdef ENABLE_NLS 27 | # include 28 | # define _(a) gettext (a) 29 | # ifdef gettext_noop 30 | # define N_(a) gettext_noop (a) 31 | # else 32 | # define N_(a) (a) 33 | # endif 34 | # else 35 | # define _(a) (a) 36 | # define N_(a) (a) 37 | # define ngettext(a,b,c) ((c)==1? (a):(b)) 38 | # endif 39 | #endif /*!USE_SIMPLE_GETTEXT*/ 40 | 41 | void i18n_init (void); 42 | char *i18n_switchto_utf8 (void); 43 | void i18n_switchback (char *saved_codeset); 44 | const char *i18n_utf8 (const char *string); 45 | 46 | 47 | #endif /*GNUPG_COMMON_I18N_H*/ 48 | -------------------------------------------------------------------------------- /src/common/init.h: -------------------------------------------------------------------------------- 1 | /* init.h - Definitions for init fucntions. 2 | * Copyright (C) 2007 Free Software Foundation, Inc. 3 | * 4 | * This file is part of GnuPG. 5 | * 6 | * GnuPG is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * GnuPG is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, see . 18 | */ 19 | 20 | #ifndef GNUPG_COMMON_INIT_H 21 | #define GNUPG_COMMON_INIT_H 22 | 23 | void init_common_subsystems (void); 24 | 25 | 26 | #endif /*GNUPG_COMMON_INIT_H*/ 27 | -------------------------------------------------------------------------------- /src/common/libcommon.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon.a -------------------------------------------------------------------------------- /src/common/libcommon_a-asshelp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-asshelp.o -------------------------------------------------------------------------------- /src/common/libcommon_a-audit.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-audit.o -------------------------------------------------------------------------------- /src/common/libcommon_a-b64dec.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-b64dec.o -------------------------------------------------------------------------------- /src/common/libcommon_a-b64enc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-b64enc.o -------------------------------------------------------------------------------- /src/common/libcommon_a-convert.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-convert.o -------------------------------------------------------------------------------- /src/common/libcommon_a-dns-cert.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-dns-cert.o -------------------------------------------------------------------------------- /src/common/libcommon_a-estream-printf.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-estream-printf.o -------------------------------------------------------------------------------- /src/common/libcommon_a-estream.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-estream.o -------------------------------------------------------------------------------- /src/common/libcommon_a-exechelp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-exechelp.o -------------------------------------------------------------------------------- /src/common/libcommon_a-get-passphrase.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-get-passphrase.o -------------------------------------------------------------------------------- /src/common/libcommon_a-gettime.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-gettime.o -------------------------------------------------------------------------------- /src/common/libcommon_a-helpfile.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-helpfile.o -------------------------------------------------------------------------------- /src/common/libcommon_a-homedir.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-homedir.o -------------------------------------------------------------------------------- /src/common/libcommon_a-http.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-http.o -------------------------------------------------------------------------------- /src/common/libcommon_a-i18n.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-i18n.o -------------------------------------------------------------------------------- /src/common/libcommon_a-init.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-init.o -------------------------------------------------------------------------------- /src/common/libcommon_a-iobuf.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-iobuf.o -------------------------------------------------------------------------------- /src/common/libcommon_a-localename.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-localename.o -------------------------------------------------------------------------------- /src/common/libcommon_a-membuf.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-membuf.o -------------------------------------------------------------------------------- /src/common/libcommon_a-miscellaneous.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-miscellaneous.o -------------------------------------------------------------------------------- /src/common/libcommon_a-percent.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-percent.o -------------------------------------------------------------------------------- /src/common/libcommon_a-pka.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-pka.o -------------------------------------------------------------------------------- /src/common/libcommon_a-session-env.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-session-env.o -------------------------------------------------------------------------------- /src/common/libcommon_a-sexputil.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-sexputil.o -------------------------------------------------------------------------------- /src/common/libcommon_a-signal.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-signal.o -------------------------------------------------------------------------------- /src/common/libcommon_a-ssh-utils.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-ssh-utils.o -------------------------------------------------------------------------------- /src/common/libcommon_a-status.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-status.o -------------------------------------------------------------------------------- /src/common/libcommon_a-sysutils.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-sysutils.o -------------------------------------------------------------------------------- /src/common/libcommon_a-tlv.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-tlv.o -------------------------------------------------------------------------------- /src/common/libcommon_a-ttyio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-ttyio.o -------------------------------------------------------------------------------- /src/common/libcommon_a-xasprintf.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-xasprintf.o -------------------------------------------------------------------------------- /src/common/libcommon_a-xreadline.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-xreadline.o -------------------------------------------------------------------------------- /src/common/libcommon_a-yesno.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommon_a-yesno.o -------------------------------------------------------------------------------- /src/common/libcommonpth.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth.a -------------------------------------------------------------------------------- /src/common/libcommonpth_a-asshelp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-asshelp.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-audit.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-audit.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-b64dec.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-b64dec.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-b64enc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-b64enc.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-convert.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-convert.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-dns-cert.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-dns-cert.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-estream-printf.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-estream-printf.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-estream.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-estream.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-exechelp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-exechelp.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-gettime.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-gettime.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-helpfile.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-helpfile.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-homedir.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-homedir.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-http.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-http.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-i18n.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-i18n.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-init.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-init.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-iobuf.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-iobuf.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-localename.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-localename.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-membuf.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-membuf.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-miscellaneous.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-miscellaneous.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-percent.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-percent.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-pka.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-pka.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-session-env.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-session-env.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-sexputil.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-sexputil.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-signal.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-signal.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-ssh-utils.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-ssh-utils.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-status.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-status.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-sysutils.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-sysutils.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-tlv.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-tlv.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-ttyio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-ttyio.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-xasprintf.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-xasprintf.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-xreadline.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-xreadline.o -------------------------------------------------------------------------------- /src/common/libcommonpth_a-yesno.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libcommonpth_a-yesno.o -------------------------------------------------------------------------------- /src/common/libgpgrl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libgpgrl.a -------------------------------------------------------------------------------- /src/common/libsimple-pwquery.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libsimple-pwquery.a -------------------------------------------------------------------------------- /src/common/libsimple_pwquery_a-asshelp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libsimple_pwquery_a-asshelp.o -------------------------------------------------------------------------------- /src/common/libsimple_pwquery_a-simple-pwquery.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/libsimple_pwquery_a-simple-pwquery.o -------------------------------------------------------------------------------- /src/common/pka.h: -------------------------------------------------------------------------------- 1 | /* pka.h - DNS Public Key Association RR access definitions 2 | * Copyright (C) 2006 Free Software Foundation, Inc. 3 | * 4 | * This file is part of GnuPG. 5 | * 6 | * GnuPG is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * GnuPG is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, see . 18 | */ 19 | #ifndef GNUPG_COMMON_PKA_H 20 | #define GNUPG_COMMON_PKA_H 21 | 22 | char *get_pka_info (const char *address, unsigned char *fpr); 23 | 24 | 25 | #endif /*GNUPG_COMMON_PKA_H*/ 26 | -------------------------------------------------------------------------------- /src/common/srv.h: -------------------------------------------------------------------------------- 1 | /* srv.h 2 | * Copyright (C) 2003, 2004 Free Software Foundation, Inc. 3 | * 4 | * This file is part of GNUPG. 5 | * 6 | * GNUPG is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * GNUPG is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, see . 18 | */ 19 | 20 | #ifndef GNUPG_COMMON_SRV_H 21 | #define GNUPG_COMMON_SRV_H 22 | 23 | #ifdef USE_DNS_SRV 24 | # ifdef _WIN32 25 | # include 26 | # else 27 | # include 28 | # include 29 | # include 30 | # endif /* !_WIN32 */ 31 | #endif /* USE_DNS_SRV */ 32 | 33 | 34 | #ifndef MAXDNAME 35 | #define MAXDNAME 1025 36 | #endif 37 | 38 | struct srventry 39 | { 40 | unsigned short priority; 41 | unsigned short weight; 42 | unsigned short port; 43 | int run_count; 44 | char target[MAXDNAME]; 45 | }; 46 | 47 | int getsrv(const char *name,struct srventry **list); 48 | 49 | #endif /*GNUPG_COMMON_SRV_H*/ 50 | -------------------------------------------------------------------------------- /src/common/ssh-utils.h: -------------------------------------------------------------------------------- 1 | /* ssh-utils.c - Secure Shell helper function definitions 2 | * Copyright (C) 2011 Free Software Foundation, Inc. 3 | * 4 | * This file is part of GnuPG. 5 | * 6 | * GnuPG is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * GnuPG is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, see . 18 | */ 19 | 20 | #ifndef GNUPG_COMMON_SSH_UTILS_H 21 | #define GNUPG_COMMON_SSH_UTILS_H 22 | 23 | 24 | gpg_error_t _ssh_get_fingerprint (gcry_sexp_t key, void **r_fpr, size_t *r_len, 25 | gpg_err_source_t errsource); 26 | #define ssh_get_fingerprint(a,b,c) \ 27 | _ssh_get_fingerprint ((a), (b), (c), GPG_ERR_SOURCE_DEFAULT) 28 | 29 | gpg_error_t _ssh_get_fingerprint_string (gcry_sexp_t key, char **r_fprstr, 30 | gpg_err_source_t errsource); 31 | #define ssh_get_fingerprint_string(a,b) \ 32 | _ssh_get_fingerprint_string ((a), (b), GPG_ERR_SOURCE_DEFAULT) 33 | 34 | 35 | 36 | #endif /*GNUPG_COMMON_SSH_UTILS_H*/ 37 | -------------------------------------------------------------------------------- /src/common/t-b64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-b64 -------------------------------------------------------------------------------- /src/common/t-b64.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-b64.o -------------------------------------------------------------------------------- /src/common/t-convert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-convert -------------------------------------------------------------------------------- /src/common/t-convert.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-convert.o -------------------------------------------------------------------------------- /src/common/t-exechelp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-exechelp -------------------------------------------------------------------------------- /src/common/t-exechelp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-exechelp.o -------------------------------------------------------------------------------- /src/common/t-gettime: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-gettime -------------------------------------------------------------------------------- /src/common/t-gettime.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-gettime.o -------------------------------------------------------------------------------- /src/common/t-helpfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-helpfile -------------------------------------------------------------------------------- /src/common/t-helpfile.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-helpfile.o -------------------------------------------------------------------------------- /src/common/t-percent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-percent -------------------------------------------------------------------------------- /src/common/t-percent.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-percent.o -------------------------------------------------------------------------------- /src/common/t-session-env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-session-env -------------------------------------------------------------------------------- /src/common/t-session-env.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-session-env.o -------------------------------------------------------------------------------- /src/common/t-sexputil: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-sexputil -------------------------------------------------------------------------------- /src/common/t-sexputil.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-sexputil.o -------------------------------------------------------------------------------- /src/common/t-ssh-utils: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-ssh-utils -------------------------------------------------------------------------------- /src/common/t-ssh-utils.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-ssh-utils.o -------------------------------------------------------------------------------- /src/common/t-sysutils: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-sysutils -------------------------------------------------------------------------------- /src/common/t-sysutils.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/common/t-sysutils.o -------------------------------------------------------------------------------- /src/doc/FAQ: -------------------------------------------------------------------------------- 1 | GnuPG Frequently Asked Questions 2 | 3 | A FAQ is a fast moving target and thus we don't distribute it anymore 4 | with GnuPG. You may retrieve the current FAQ in HTML format at 5 | 6 | http://www.gnupg.org/faq/GnuPG-FAQ.html 7 | 8 | or in plain text format at the FTP server: 9 | 10 | ftp://ftp.gnupg.org/gcrypt/gnupg/GnuPG-FAQ.txt 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/doc/com-certs.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/doc/com-certs.pem -------------------------------------------------------------------------------- /src/doc/contrib.texi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/doc/contrib.texi -------------------------------------------------------------------------------- /src/doc/examples/README: -------------------------------------------------------------------------------- 1 | Files in this directory: 2 | 3 | 4 | scd-event A handler script used with scdaemon 5 | 6 | trustlist.txt A list of trustworthy root certificates 7 | (Please check yourself whether you actually trust them) 8 | 9 | gpgconf.conf A sample configuration file for gpgconf. 10 | -------------------------------------------------------------------------------- /src/doc/examples/pwpattern.list: -------------------------------------------------------------------------------- 1 | # pwpattern.list -*- default-generic -*- 2 | # 3 | # This is an example for a pattern file as used by gpg-check-pattern. 4 | # The file is line based with comment lines beginning on the *first* 5 | # position with a '#'. Empty lines and lines with just spaces are 6 | # ignored. The other lines may be verbatim patterns and match as they 7 | # are (trailing spaces are ignored) or extended regular expressions 8 | # indicated by a / in the first column and terminated by another / or 9 | # end of line. All comparisons are case insensitive. 10 | 11 | # Reject the usual metavariables. Usual not required because 12 | # gpg-agent can be used to reject all passphrases shorter than 8 13 | # charactes. 14 | foo 15 | bar 16 | baz 17 | 18 | # As well as very common passwords. Note that gpg-agent can be used 19 | # to reject them due to missing non-alpha characters. 20 | password 21 | passwort 22 | passphrase 23 | mantra 24 | test 25 | abc 26 | egal 27 | 28 | # German number plates. 29 | /^[A-Z]{1,3}[ ]*-[ ]*[A-Z]{1,2}[ ]*[0-9]+/ 30 | 31 | # Dates (very limited, only ISO dates). */ 32 | /^[012][0-9][0-9][0-9]-[012][0-9]-[0123][0-9]$/ 33 | 34 | # Arbitrary strings 35 | the quick brown fox jumps over the lazy dogs back 36 | no-password 37 | no password 38 | 39 | 12345678 40 | 123456789 41 | 1234567890 42 | 87654321 43 | 987654321 44 | 0987654321 45 | qwertyuiop 46 | qwertzuiop 47 | asdfghjkl 48 | zxcvbnm 49 | -------------------------------------------------------------------------------- /src/doc/gnupg-card-architecture.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/doc/gnupg-card-architecture.pdf -------------------------------------------------------------------------------- /src/doc/gnupg-card-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/doc/gnupg-card-architecture.png -------------------------------------------------------------------------------- /src/doc/gnupg-logo.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/doc/gnupg-logo.pdf -------------------------------------------------------------------------------- /src/doc/gnupg-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/doc/gnupg-logo.png -------------------------------------------------------------------------------- /src/doc/gnupg.info-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/doc/gnupg.info-2 -------------------------------------------------------------------------------- /src/doc/gnupg7.texi: -------------------------------------------------------------------------------- 1 | @c @c -*-texinfo-*- 2 | @c This is only used to create a man page, thus we don't need to care 3 | @c about actual texinfo stuff. 4 | 5 | @manpage gnupg.7 6 | @ifset manverb 7 | .B GnuPG 8 | \- The GNU Privacy Guard suite of programs 9 | @end ifset 10 | @mansect description 11 | @ifset isman 12 | GnuPG is a set of programs for public key encryption and digital 13 | signatures. The program most users will want to use is the OpenPGP 14 | command line tool, named @command{gpg2}. @command{gpgv}is a stripped 15 | down version of @command{gpg2} with no encryption functionality, used 16 | only to verify signatures against a trusted keyring. @command{gpgsm} is 17 | the X.509/CMS (for S/MIME) counterpart of 18 | @command{gpg2}. @command{gpg-agent} is a passphrase and private key 19 | daemon which may also emulate the @command{ssh-agent}. 20 | @mansect see also 21 | @command{gpg}(1), 22 | @command{gpg2}(1), 23 | @command{gpgv}(1), 24 | @command{gpgsm}(1), 25 | @command{gpg-agent}(1), 26 | @command{dirmngr}(8), 27 | @command{scdaemon}(1) 28 | @include see-also-note.texi 29 | @end ifset 30 | 31 | @bye 32 | -------------------------------------------------------------------------------- /src/doc/howtos.texi: -------------------------------------------------------------------------------- 1 | @c Copyright (C) 2007 Free Software Foundation, Inc. 2 | @c This is part of the GnuPG manual. 3 | @c For copying conditions, see the file gnupg.texi. 4 | 5 | @node Howtos 6 | @chapter How to do certain things 7 | 8 | This is a collection of small howto documents. 9 | 10 | @menu 11 | * Howto Create a Server Cert:: Creating a TLS server certificate. 12 | @end menu 13 | 14 | 15 | @include howto-create-a-server-cert.texi 16 | -------------------------------------------------------------------------------- /src/doc/opt-homedir.texi: -------------------------------------------------------------------------------- 1 | @c This option is included at several places. 2 | @item --homedir @var{dir} 3 | @opindex homedir 4 | Set the name of the home directory to @var{dir}. If this option is not 5 | used, the home directory defaults to @file{~/.gnupg}. It is only 6 | recognized when given on the command line. It also overrides any home 7 | directory stated through the environment variable @env{GNUPGHOME} or 8 | (on W32 systems) by means of the Registry entry 9 | @var{HKCU\Software\GNU\GnuPG:HomeDir}. 10 | 11 | -------------------------------------------------------------------------------- /src/doc/see-also-note.texi: -------------------------------------------------------------------------------- 1 | @c We append this note to all ``see also'' sections of the man pages 2 | 3 | @ifset isman 4 | The full documentation for this tool is maintained as a Texinfo manual. 5 | If GnuPG and the info program are properly installed at your site, the 6 | command 7 | 8 | @example 9 | info gnupg 10 | @end example 11 | 12 | should give you access to the complete manual including a menu structure 13 | and an index. 14 | @end ifset 15 | -------------------------------------------------------------------------------- /src/doc/stamp-vti: -------------------------------------------------------------------------------- 1 | @set UPDATED 27 March 2012 2 | @set UPDATED-MONTH March 2012 3 | @set EDITION 2.0.19 4 | @set VERSION 2.0.19 5 | -------------------------------------------------------------------------------- /src/doc/texi.css: -------------------------------------------------------------------------------- 1 | /* The gnupg.org standard stylesheet. */ 2 | @import url(/share/site.css); 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/doc/version.texi: -------------------------------------------------------------------------------- 1 | @set UPDATED 27 March 2012 2 | @set UPDATED-MONTH March 2012 3 | @set EDITION 2.0.19 4 | @set VERSION 2.0.19 5 | -------------------------------------------------------------------------------- /src/g10/.deps/compress-bz2.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/g10/armor.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/armor.o -------------------------------------------------------------------------------- /src/g10/build-packet.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/build-packet.o -------------------------------------------------------------------------------- /src/g10/call-agent.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/call-agent.o -------------------------------------------------------------------------------- /src/g10/card-util.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/card-util.o -------------------------------------------------------------------------------- /src/g10/cipher.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/cipher.o -------------------------------------------------------------------------------- /src/g10/compress.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/compress.o -------------------------------------------------------------------------------- /src/g10/cpr.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/cpr.o -------------------------------------------------------------------------------- /src/g10/dearmor.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/dearmor.o -------------------------------------------------------------------------------- /src/g10/decrypt.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/decrypt.o -------------------------------------------------------------------------------- /src/g10/delkey.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/delkey.o -------------------------------------------------------------------------------- /src/g10/encode.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/encode.o -------------------------------------------------------------------------------- /src/g10/encr-data.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/encr-data.o -------------------------------------------------------------------------------- /src/g10/exec.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/exec.o -------------------------------------------------------------------------------- /src/g10/export.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/export.o -------------------------------------------------------------------------------- /src/g10/free-packet.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/free-packet.o -------------------------------------------------------------------------------- /src/g10/getkey.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/getkey.o -------------------------------------------------------------------------------- /src/g10/gpg.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/gpg.o -------------------------------------------------------------------------------- /src/g10/gpg2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/gpg2 -------------------------------------------------------------------------------- /src/g10/gpg2.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/gpg2.bc -------------------------------------------------------------------------------- /src/g10/gpgv.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/gpgv.o -------------------------------------------------------------------------------- /src/g10/gpgv2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/gpgv2 -------------------------------------------------------------------------------- /src/g10/helptext.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/helptext.o -------------------------------------------------------------------------------- /src/g10/import.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/import.o -------------------------------------------------------------------------------- /src/g10/kbnode.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/kbnode.o -------------------------------------------------------------------------------- /src/g10/keydb.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/keydb.o -------------------------------------------------------------------------------- /src/g10/keyedit.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/keyedit.o -------------------------------------------------------------------------------- /src/g10/keygen.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/keygen.o -------------------------------------------------------------------------------- /src/g10/keyid.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/keyid.o -------------------------------------------------------------------------------- /src/g10/keylist.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/keylist.o -------------------------------------------------------------------------------- /src/g10/keyring.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/keyring.o -------------------------------------------------------------------------------- /src/g10/keyserver.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/keyserver.o -------------------------------------------------------------------------------- /src/g10/mainproc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/mainproc.o -------------------------------------------------------------------------------- /src/g10/mdfilter.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/mdfilter.o -------------------------------------------------------------------------------- /src/g10/misc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/misc.o -------------------------------------------------------------------------------- /src/g10/openfile.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/openfile.o -------------------------------------------------------------------------------- /src/g10/parse-packet.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/parse-packet.o -------------------------------------------------------------------------------- /src/g10/passphrase.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/passphrase.o -------------------------------------------------------------------------------- /src/g10/photoid.h: -------------------------------------------------------------------------------- 1 | /* photoid.h 2 | * Copyright (C) 2001, 2002, 2005, 2008 Free Software Foundation, Inc. 3 | * 4 | * This file is part of GnuPG. 5 | * 6 | * GnuPG is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * GnuPG is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, see . 18 | */ 19 | 20 | /* Photo ID functions */ 21 | 22 | #ifndef _PHOTOID_H_ 23 | #define _PHOTOID_H_ 24 | 25 | #include "packet.h" 26 | 27 | PKT_user_id *generate_photo_id(PKT_public_key *pk,const char *filename); 28 | int parse_image_header(const struct user_attribute *attr,byte *type,u32 *len); 29 | char *image_type_to_string(byte type,int style); 30 | void show_photos(const struct user_attribute *attrs,int count, 31 | PKT_public_key *pk,PKT_secret_key *sk,PKT_user_id *uid); 32 | 33 | #endif /* !_PHOTOID_H_ */ 34 | -------------------------------------------------------------------------------- /src/g10/photoid.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/photoid.o -------------------------------------------------------------------------------- /src/g10/pkclist.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/pkclist.o -------------------------------------------------------------------------------- /src/g10/pkglue.h: -------------------------------------------------------------------------------- 1 | /* pkglue.h - public key operations definitions 2 | * Copyright (C) 2003 Free Software Foundation, Inc. 3 | * 4 | * This file is part of GnuPG. 5 | * 6 | * GnuPG is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * GnuPG is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, see . 18 | */ 19 | 20 | #ifndef GNUPG_G10_PKGLUE_H 21 | #define GNUPG_G10_PKGLUE_H 22 | 23 | int pk_sign (int algo, gcry_mpi_t *data, gcry_mpi_t hash, 24 | gcry_mpi_t *skey); 25 | int pk_verify (int algo, gcry_mpi_t hash, gcry_mpi_t *data, 26 | gcry_mpi_t *pkey); 27 | int pk_encrypt (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, 28 | gcry_mpi_t *pkey); 29 | int pk_decrypt (int algo, gcry_mpi_t *result, gcry_mpi_t *data, 30 | gcry_mpi_t *skey); 31 | int pk_check_secret_key (int algo, gcry_mpi_t *skey); 32 | 33 | 34 | #endif /*GNUPG_G10_PKGLUE_H*/ 35 | -------------------------------------------------------------------------------- /src/g10/pkglue.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/pkglue.o -------------------------------------------------------------------------------- /src/g10/plaintext.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/plaintext.o -------------------------------------------------------------------------------- /src/g10/progress.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/progress.o -------------------------------------------------------------------------------- /src/g10/pubkey-enc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/pubkey-enc.o -------------------------------------------------------------------------------- /src/g10/revoke.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/revoke.o -------------------------------------------------------------------------------- /src/g10/rmd160.h: -------------------------------------------------------------------------------- 1 | /* rmd160.h 2 | * Copyright (C) 2008 Free Software Foundation, Inc. 3 | * 4 | * This file is part of GnuPG. 5 | * 6 | * GnuPG is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * GnuPG is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, see . 18 | */ 19 | #ifndef G10_RMD160_H 20 | #define G10_RMD160_H 21 | 22 | void rmd160_hash_buffer (void *outbuf, const void *buffer, size_t length); 23 | 24 | #endif /*G10_RMD160_H*/ 25 | -------------------------------------------------------------------------------- /src/g10/rmd160.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/rmd160.o -------------------------------------------------------------------------------- /src/g10/seckey-cert.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/seckey-cert.o -------------------------------------------------------------------------------- /src/g10/server.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/server.o -------------------------------------------------------------------------------- /src/g10/seskey.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/seskey.o -------------------------------------------------------------------------------- /src/g10/sig-check.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/sig-check.o -------------------------------------------------------------------------------- /src/g10/sign.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/sign.o -------------------------------------------------------------------------------- /src/g10/skclist.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/skclist.o -------------------------------------------------------------------------------- /src/g10/t-rmd160: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/t-rmd160 -------------------------------------------------------------------------------- /src/g10/t-rmd160.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/t-rmd160.o -------------------------------------------------------------------------------- /src/g10/tdbdump.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/tdbdump.o -------------------------------------------------------------------------------- /src/g10/tdbio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/tdbio.o -------------------------------------------------------------------------------- /src/g10/textfilter.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/textfilter.o -------------------------------------------------------------------------------- /src/g10/trustdb.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/trustdb.o -------------------------------------------------------------------------------- /src/g10/verify.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/g10/verify.o -------------------------------------------------------------------------------- /src/gl/.deps/mkdtemp.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/gl/.deps/setenv.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/gl/.deps/strpbrk.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/gl/.deps/unsetenv.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/gl/allocsa.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/gl/allocsa.o -------------------------------------------------------------------------------- /src/gl/allocsa.valgrind: -------------------------------------------------------------------------------- 1 | # Suppress a valgrind message about use of uninitialized memory in freesa(). 2 | # This use is OK because it provides only a speedup. 3 | { 4 | freesa 5 | Memcheck:Cond 6 | fun:freesa 7 | } 8 | -------------------------------------------------------------------------------- /src/gl/libgnu.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/gl/libgnu.a -------------------------------------------------------------------------------- /src/gl/m4/alloca.m4: -------------------------------------------------------------------------------- 1 | # alloca.m4 serial 5 2 | dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_ALLOCA], 8 | [ 9 | dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57. 10 | AC_REQUIRE([AC_PROG_CPP]) 11 | AC_REQUIRE([AC_PROG_EGREP]) 12 | 13 | AC_REQUIRE([AC_FUNC_ALLOCA]) 14 | if test $ac_cv_func_alloca_works = no; then 15 | gl_PREREQ_ALLOCA 16 | fi 17 | 18 | # Define an additional variable used in the Makefile substitution. 19 | if test $ac_cv_working_alloca_h = yes; then 20 | AC_EGREP_CPP([Need own alloca], [ 21 | #if defined __GNUC__ || defined _AIX || defined _MSC_VER 22 | Need own alloca 23 | #endif 24 | ], 25 | [AC_DEFINE(HAVE_ALLOCA, 1, 26 | [Define to 1 if you have `alloca' after including , 27 | a header that may be supplied by this distribution.]) 28 | ALLOCA_H=alloca.h], 29 | [ALLOCA_H=]) 30 | else 31 | ALLOCA_H=alloca.h 32 | fi 33 | AC_SUBST([ALLOCA_H]) 34 | 35 | AC_DEFINE(HAVE_ALLOCA_H, 1, 36 | [Define HAVE_ALLOCA_H for backward compatibility with older code 37 | that includes only if HAVE_ALLOCA_H is defined.]) 38 | ]) 39 | 40 | # Prerequisites of lib/alloca.c. 41 | # STACK_DIRECTION is already handled by AC_FUNC_ALLOCA. 42 | AC_DEFUN([gl_PREREQ_ALLOCA], [:]) 43 | -------------------------------------------------------------------------------- /src/gl/m4/allocsa.m4: -------------------------------------------------------------------------------- 1 | # allocsa.m4 serial 3 2 | dnl Copyright (C) 2003-2004 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_ALLOCSA], 8 | [ 9 | dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables 10 | dnl @ALLOCA@ and @LTALLOCA@. 11 | AC_REQUIRE([gl_FUNC_ALLOCA]) 12 | AC_REQUIRE([gl_EEMALLOC]) 13 | AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) 14 | AC_REQUIRE([gt_TYPE_LONGDOUBLE]) 15 | ]) 16 | -------------------------------------------------------------------------------- /src/gl/m4/eealloc.m4: -------------------------------------------------------------------------------- 1 | # eealloc.m4 serial 1 2 | dnl Copyright (C) 2003 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_EEALLOC], 8 | [ 9 | AC_REQUIRE([gl_EEMALLOC]) 10 | AC_REQUIRE([gl_EEREALLOC]) 11 | AC_REQUIRE([AC_C_INLINE]) 12 | ]) 13 | 14 | AC_DEFUN([gl_EEMALLOC], 15 | [ 16 | _AC_FUNC_MALLOC_IF( 17 | [gl_cv_func_malloc_0_nonnull=1], 18 | [gl_cv_func_malloc_0_nonnull=0]) 19 | AC_DEFINE_UNQUOTED([MALLOC_0_IS_NONNULL], $gl_cv_func_malloc_0_nonnull, 20 | [If malloc(0) is != NULL, define this to 1. Otherwise define this 21 | to 0.]) 22 | ]) 23 | 24 | AC_DEFUN([gl_EEREALLOC], 25 | [ 26 | _AC_FUNC_REALLOC_IF( 27 | [gl_cv_func_realloc_0_nonnull=1], 28 | [gl_cv_func_realloc_0_nonnull=0]) 29 | AC_DEFINE_UNQUOTED([REALLOC_0_IS_NONNULL], $gl_cv_func_realloc_0_nonnull, 30 | [If realloc(NULL,0) is != NULL, define this to 1. Otherwise define this 31 | to 0.]) 32 | ]) 33 | -------------------------------------------------------------------------------- /src/gl/m4/gnulib-tool.m4: -------------------------------------------------------------------------------- 1 | # gnulib-tool.m4 serial 1 2 | dnl Copyright (C) 2004-2005 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl The following macros need not be invoked explicitly. 8 | dnl Invoking them does nothing except to declare default arguments 9 | dnl for "gnulib-tool --import". 10 | 11 | dnl Usage: gl_MODULES([module1 module2 ...]) 12 | AC_DEFUN([gl_MODULES], []) 13 | 14 | dnl Usage: gl_AVOID([module1 module2 ...]) 15 | AC_DEFUN([gl_AVOID], []) 16 | 17 | dnl Usage: gl_SOURCE_BASE([DIR]) 18 | AC_DEFUN([gl_SOURCE_BASE], []) 19 | 20 | dnl Usage: gl_M4_BASE([DIR]) 21 | AC_DEFUN([gl_M4_BASE], []) 22 | 23 | dnl Usage: gl_LIB([LIBNAME]) 24 | AC_DEFUN([gl_LIB], []) 25 | 26 | dnl Usage: gl_LGPL 27 | AC_DEFUN([gl_LGPL], []) 28 | 29 | dnl Usage: gl_LIBTOOL 30 | AC_DEFUN([gl_LIBTOOL], []) 31 | 32 | dnl Usage: gl_MACRO_PREFIX([PREFIX]) 33 | AC_DEFUN([gl_MACRO_PREFIX], []) 34 | -------------------------------------------------------------------------------- /src/gl/m4/mkdtemp.m4: -------------------------------------------------------------------------------- 1 | # mkdtemp.m4 serial 4 2 | dnl Copyright (C) 2001-2003, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gt_FUNC_MKDTEMP], 8 | [ 9 | AC_REPLACE_FUNCS(mkdtemp) 10 | if test $ac_cv_func_mkdtemp = no; then 11 | gl_PREREQ_MKDTEMP 12 | fi 13 | ]) 14 | 15 | # Prerequisites of lib/mkdtemp.c 16 | AC_DEFUN([gl_PREREQ_MKDTEMP], 17 | [ 18 | AC_REQUIRE([AC_HEADER_STAT]) 19 | AC_CHECK_HEADERS_ONCE(sys/time.h unistd.h) 20 | AC_CHECK_HEADERS(time.h) 21 | AC_CHECK_FUNCS(gettimeofday) 22 | ]) 23 | -------------------------------------------------------------------------------- /src/gl/m4/strpbrk.m4: -------------------------------------------------------------------------------- 1 | # strpbrk.m4 serial 2 2 | dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_STRPBRK], 8 | [ 9 | AC_REPLACE_FUNCS(strpbrk) 10 | if test $ac_cv_func_strpbrk = no; then 11 | gl_PREREQ_STRPBRK 12 | fi 13 | ]) 14 | 15 | # Prerequisites of lib/strpbrk.c. 16 | AC_DEFUN([gl_PREREQ_STRPBRK], [:]) 17 | -------------------------------------------------------------------------------- /src/gl/m4/unistd_h.m4: -------------------------------------------------------------------------------- 1 | # unistd_h.m4 serial 2 2 | dnl Copyright (C) 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl Written by Simon Josefsson 8 | 9 | AC_DEFUN([gl_HEADER_UNISTD], 10 | [ 11 | dnl Prerequisites of lib/unistd.h. 12 | AC_CHECK_HEADERS([unistd.h], [ 13 | UNISTD_H='' 14 | ], [ 15 | UNISTD_H='unistd.h' 16 | ]) 17 | AC_SUBST(UNISTD_H) 18 | ]) 19 | -------------------------------------------------------------------------------- /src/gl/mkdtemp.h: -------------------------------------------------------------------------------- 1 | /* Creating a private temporary directory. 2 | Copyright (C) 2001-2002 Free Software Foundation, Inc. 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 3, or (at your option) 7 | any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, see . */ 16 | 17 | #if HAVE_MKDTEMP 18 | 19 | /* Get mkdtemp() declaration. */ 20 | #include 21 | 22 | #else 23 | 24 | /* Create a unique temporary directory from TEMPLATE. 25 | The last six characters of TEMPLATE must be "XXXXXX"; 26 | they are replaced with a string that makes the directory name unique. 27 | Returns TEMPLATE, or a null pointer if it cannot get a unique name. 28 | The directory is created mode 700. */ 29 | extern char * mkdtemp (char *template); 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /src/gl/size_max.h: -------------------------------------------------------------------------------- 1 | /* size_max.h -- declare SIZE_MAX through system headers 2 | Copyright (C) 2005-2006 Free Software Foundation, Inc. 3 | Written by Simon Josefsson. 4 | 5 | This program is free software; you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3, or (at your option) 8 | any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program; if not, see . */ 17 | 18 | #ifndef GNULIB_SIZE_MAX_H 19 | #define GNULIB_SIZE_MAX_H 20 | 21 | /* Get SIZE_MAX declaration on systems like Solaris 7/8/9. */ 22 | # include 23 | /* Get SIZE_MAX declaration on systems like glibc 2. */ 24 | # if HAVE_STDINT_H 25 | # include 26 | # endif 27 | /* On systems where these include files don't define it, SIZE_MAX is defined 28 | in config.h. */ 29 | 30 | #endif /* GNULIB_SIZE_MAX_H */ 31 | -------------------------------------------------------------------------------- /src/gl/strpbrk.c: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1991, 1994, 2000, 2002-2003, 2006 Free Software 2 | Foundation, Inc. 3 | 4 | NOTE: The canonical source of this file is maintained with the GNU C Library. 5 | Bugs can be reported to bug-glibc@prep.ai.mit.edu. 6 | 7 | This program is free software; you can redistribute it and/or modify it 8 | under the terms of the GNU General Public License as published by the 9 | Free Software Foundation; either version 3, or (at your option) any 10 | later version. 11 | 12 | This program is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program; if not, see . */ 19 | 20 | #include 21 | 22 | #include 23 | #include 24 | 25 | #undef strpbrk 26 | 27 | /* Find the first occurrence in S of any character in ACCEPT. */ 28 | char * 29 | strpbrk (const char *s, const char *accept) 30 | { 31 | while (*s != '\0') 32 | { 33 | const char *a = accept; 34 | while (*a != '\0') 35 | if (*a++ == *s) 36 | return (char *) s; 37 | ++s; 38 | } 39 | 40 | return NULL; 41 | } 42 | -------------------------------------------------------------------------------- /src/gl/strpbrk.h: -------------------------------------------------------------------------------- 1 | /* Searching in a string. 2 | Copyright (C) 2001-2002 Free Software Foundation, Inc. 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 3, or (at your option) 7 | any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, see . */ 16 | 17 | #if HAVE_STRPBRK 18 | 19 | /* Get strpbrk() declaration. */ 20 | #include 21 | 22 | #else 23 | 24 | /* Find the first occurrence in S of any character in ACCEPT. */ 25 | extern char *strpbrk (const char *s, const char *accept); 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /src/include/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = cipher.h types.h host2net.h _regex.h ChangeLog-2011 2 | -------------------------------------------------------------------------------- /src/jnlib/.deps/w32-afunix.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/jnlib/.deps/w32-gettext.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/jnlib/.deps/w32-reg.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/jnlib/README: -------------------------------------------------------------------------------- 1 | JNLIB - This is a collection of utility function which are too small 2 | to put into a library. The code here is licensed under the LGPL. 3 | 4 | libjnlib-config.h should be be modified for each project to make these 5 | functions fit into the software. Mainly these are memory functions in 6 | case you need another allocator. 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/jnlib/argparse.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/jnlib/argparse.o -------------------------------------------------------------------------------- /src/jnlib/dotlock.h: -------------------------------------------------------------------------------- 1 | /* dotlock.h 2 | * Copyright (C) 2000, 2001, 2006 Free Software Foundation, Inc. 3 | * 4 | * This file is part of JNLIB. 5 | * 6 | * JNLIB is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU Lesser General Public License as 8 | * published by the Free Software Foundation; either version 3 of 9 | * the License, or (at your option) any later version. 10 | * 11 | * JNLIB is distributed in the hope that it will be useful, but 12 | * WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with this program; if not, see . 18 | */ 19 | 20 | #ifndef LIBJNLIB_DOTLOCK_H 21 | #define LIBJNLIB_DOTLOCK_H 22 | 23 | struct dotlock_handle; 24 | typedef struct dotlock_handle *DOTLOCK; 25 | 26 | void disable_dotlock (void); 27 | DOTLOCK create_dotlock(const char *file_to_lock); 28 | void destroy_dotlock ( DOTLOCK h ); 29 | int make_dotlock (DOTLOCK h, long timeout); 30 | int release_dotlock (DOTLOCK h); 31 | void dotlock_remove_lockfiles (void); 32 | 33 | #endif /*LIBJNLIB_DOTLOCK_H*/ 34 | -------------------------------------------------------------------------------- /src/jnlib/dotlock.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/jnlib/dotlock.o -------------------------------------------------------------------------------- /src/jnlib/libjnlib.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/jnlib/libjnlib.a -------------------------------------------------------------------------------- /src/jnlib/logging.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/jnlib/logging.o -------------------------------------------------------------------------------- /src/jnlib/mischelp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/jnlib/mischelp.o -------------------------------------------------------------------------------- /src/jnlib/stringhelp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/jnlib/stringhelp.o -------------------------------------------------------------------------------- /src/jnlib/strlist.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/jnlib/strlist.o -------------------------------------------------------------------------------- /src/jnlib/t-stringhelp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/jnlib/t-stringhelp -------------------------------------------------------------------------------- /src/jnlib/t-stringhelp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/jnlib/t-stringhelp.o -------------------------------------------------------------------------------- /src/jnlib/t-support.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/jnlib/t-support.o -------------------------------------------------------------------------------- /src/jnlib/utf8conv.h: -------------------------------------------------------------------------------- 1 | /* utf8conf.h 2 | * Copyright (C) 2003, 2006 Free Software Foundation, Inc. 3 | * 4 | * This file is part of JNLIB. 5 | * 6 | * JNLIB is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU Lesser General Public License as 8 | * published by the Free Software Foundation; either version 3 of 9 | * the License, or (at your option) any later version. 10 | * 11 | * JNLIB is distributed in the hope that it will be useful, but 12 | * WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with this program; if not, see . 18 | */ 19 | 20 | #ifndef LIBJNLIB_UTF8CONF_H 21 | #define LIBJNLIB_UTF8CONF_H 22 | 23 | int set_native_charset (const char *newset); 24 | const char *get_native_charset (void); 25 | int is_native_utf8 (void); 26 | 27 | char *native_to_utf8 (const char *string); 28 | char *utf8_to_native (const char *string, size_t length, int delim); 29 | 30 | 31 | /* Silly wrappers, required for W32 portability. */ 32 | typedef void *jnlib_iconv_t; 33 | 34 | jnlib_iconv_t jnlib_iconv_open (const char *tocode, const char *fromcode); 35 | size_t jnlib_iconv (jnlib_iconv_t cd, const char **inbuf, size_t *inbytesleft, 36 | char **outbuf, size_t *outbytesleft); 37 | int jnlib_iconv_close (jnlib_iconv_t cd); 38 | 39 | 40 | 41 | #endif /*LIBJNLIB_UTF8CONF_H*/ 42 | -------------------------------------------------------------------------------- /src/jnlib/utf8conv.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/jnlib/utf8conv.o -------------------------------------------------------------------------------- /src/kbx/.deps/kbxutil.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/kbx/.deps/keybox-blob.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/kbx/.deps/keybox-dump.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/kbx/.deps/keybox-file.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/kbx/.deps/keybox-init.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/kbx/.deps/keybox-openpgp.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/kbx/.deps/keybox-search.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/kbx/.deps/keybox-update.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/kbx/.deps/keybox-util.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_curl-curl-shim.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_curl-gpgkeys_curl.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_curl-ksutil.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_curl-no-libgcrypt.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_finger-gpgkeys_finger.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_finger-ksutil.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_finger-no-libgcrypt.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_hkp-curl-shim.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_hkp-gpgkeys_hkp.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_hkp-ksutil.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_hkp-no-libgcrypt.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_kdns-gpgkeys_kdns.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_kdns-ksutil.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_kdns-no-libgcrypt.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_ldap-gpgkeys_ldap.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_ldap-ksutil.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/keyserver/.deps/gpg2keys_ldap-no-libgcrypt.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/m4/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = intl.m4 intldir.m4 glibc2.m4 lock.m4 visibility.m4 intmax.m4 longdouble.m4 printf-posix.m4 signed.m4 size_max.m4 wchar_t.m4 wint_t.m4 xsize.m4 codeset.m4 gettext.m4 glibc21.m4 iconv.m4 intdiv0.m4 inttypes.m4 inttypes_h.m4 inttypes-pri.m4 isc-posix.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 progtest.m4 stdint_h.m4 uintmax_t.m4 2 | 3 | EXTRA_DIST += ldap.m4 libcurl.m4 libusb.m4 tar-ustar.m4 readline.m4 4 | 5 | EXTRA_DIST += gnupg-pth.m4 6 | 7 | EXTRA_DIST += gpg-error.m4 libgcrypt.m4 libassuan.m4 ksba.m4 8 | 9 | EXTRA_DIST += autobuild.m4 10 | 11 | EXTRA_DIST += estream.m4 12 | 13 | EXTRA_DIST += sys_socket_h.m4 socklen.m4 14 | 15 | EXTRA_DIST += ChangeLog-2011 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/m4/autobuild.m4: -------------------------------------------------------------------------------- 1 | # autobuild.m4 serial 2 (autobuild-3.3) 2 | # Copyright (C) 2004 Simon Josefsson 3 | # 4 | # This file is free software, distributed under the terms of the GNU 5 | # General Public License. As a special exception to the GNU General 6 | # Public License, this file may be distributed as part of a program 7 | # that contains a configuration script generated by Autoconf, under 8 | # the same distribution terms as the rest of that program. 9 | # 10 | # This file can can be used in projects which are not available under 11 | # the GNU General Public License or the GNU Library General Public 12 | # License but which still want to provide support for Autobuild. 13 | 14 | # Usage: AB_INIT([MODE]). 15 | AC_DEFUN([AB_INIT], 16 | [ 17 | AC_REQUIRE([AC_CANONICAL_BUILD]) 18 | AC_REQUIRE([AC_CANONICAL_HOST]) 19 | 20 | AC_MSG_NOTICE([autobuild project... ${PACKAGE_NAME:-$PACKAGE}]) 21 | AC_MSG_NOTICE([autobuild revision... ${PACKAGE_VERSION:-$VERSION}]) 22 | hostname=`hostname` 23 | if test "$hostname"; then 24 | AC_MSG_NOTICE([autobuild hostname... $hostname]) 25 | fi 26 | ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])]) 27 | date=`date +%Y%m%d-%H%M%S` 28 | if test "$?" != 0; then 29 | date=`date` 30 | fi 31 | if test "$date"; then 32 | AC_MSG_NOTICE([autobuild timestamp... $date]) 33 | fi 34 | ]) 35 | -------------------------------------------------------------------------------- /src/m4/codeset.m4: -------------------------------------------------------------------------------- 1 | # codeset.m4 serial 2 (gettext-0.16) 2 | dnl Copyright (C) 2000-2002, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | 9 | AC_DEFUN([AM_LANGINFO_CODESET], 10 | [ 11 | AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, 12 | [AC_TRY_LINK([#include ], 13 | [char* cs = nl_langinfo(CODESET); return !cs;], 14 | am_cv_langinfo_codeset=yes, 15 | am_cv_langinfo_codeset=no) 16 | ]) 17 | if test $am_cv_langinfo_codeset = yes; then 18 | AC_DEFINE(HAVE_LANGINFO_CODESET, 1, 19 | [Define if you have and nl_langinfo(CODESET).]) 20 | fi 21 | ]) 22 | -------------------------------------------------------------------------------- /src/m4/glibc2.m4: -------------------------------------------------------------------------------- 1 | # glibc2.m4 serial 1 2 | dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | # Test for the GNU C Library, version 2.0 or newer. 8 | # From Bruno Haible. 9 | 10 | AC_DEFUN([gt_GLIBC2], 11 | [ 12 | AC_CACHE_CHECK(whether we are using the GNU C Library 2 or newer, 13 | ac_cv_gnu_library_2, 14 | [AC_EGREP_CPP([Lucky GNU user], 15 | [ 16 | #include 17 | #ifdef __GNU_LIBRARY__ 18 | #if (__GLIBC__ >= 2) 19 | Lucky GNU user 20 | #endif 21 | #endif 22 | ], 23 | ac_cv_gnu_library_2=yes, 24 | ac_cv_gnu_library_2=no) 25 | ] 26 | ) 27 | AC_SUBST(GLIBC2) 28 | GLIBC2="$ac_cv_gnu_library_2" 29 | ] 30 | ) 31 | -------------------------------------------------------------------------------- /src/m4/glibc21.m4: -------------------------------------------------------------------------------- 1 | # glibc21.m4 serial 3 2 | dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | # Test for the GNU C Library, version 2.1 or newer. 8 | # From Bruno Haible. 9 | 10 | AC_DEFUN([gl_GLIBC21], 11 | [ 12 | AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer, 13 | ac_cv_gnu_library_2_1, 14 | [AC_EGREP_CPP([Lucky GNU user], 15 | [ 16 | #include 17 | #ifdef __GNU_LIBRARY__ 18 | #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) 19 | Lucky GNU user 20 | #endif 21 | #endif 22 | ], 23 | ac_cv_gnu_library_2_1=yes, 24 | ac_cv_gnu_library_2_1=no) 25 | ] 26 | ) 27 | AC_SUBST(GLIBC21) 28 | GLIBC21="$ac_cv_gnu_library_2_1" 29 | ] 30 | ) 31 | -------------------------------------------------------------------------------- /src/m4/intldir.m4: -------------------------------------------------------------------------------- 1 | # intldir.m4 serial 1 (gettext-0.16) 2 | dnl Copyright (C) 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | dnl 7 | dnl This file can can be used in projects which are not available under 8 | dnl the GNU General Public License or the GNU Library General Public 9 | dnl License but which still want to provide support for the GNU gettext 10 | dnl functionality. 11 | dnl Please note that the actual code of the GNU gettext library is covered 12 | dnl by the GNU Library General Public License, and the rest of the GNU 13 | dnl gettext package package is covered by the GNU General Public License. 14 | dnl They are *not* in the public domain. 15 | 16 | AC_PREREQ(2.52) 17 | 18 | dnl Tells the AM_GNU_GETTEXT macro to consider an intl/ directory. 19 | AC_DEFUN([AM_GNU_GETTEXT_INTL_SUBDIR], []) 20 | -------------------------------------------------------------------------------- /src/m4/intmax.m4: -------------------------------------------------------------------------------- 1 | # intmax.m4 serial 3 (gettext-0.16) 2 | dnl Copyright (C) 2002-2005 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | dnl Test whether the system has the 'intmax_t' type, but don't attempt to 9 | dnl find a replacement if it is lacking. 10 | 11 | AC_DEFUN([gt_TYPE_INTMAX_T], 12 | [ 13 | AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 14 | AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 15 | AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t, 16 | [AC_TRY_COMPILE([ 17 | #include 18 | #include 19 | #if HAVE_STDINT_H_WITH_UINTMAX 20 | #include 21 | #endif 22 | #if HAVE_INTTYPES_H_WITH_UINTMAX 23 | #include 24 | #endif 25 | ], [intmax_t x = -1; 26 | return !x;], 27 | gt_cv_c_intmax_t=yes, 28 | gt_cv_c_intmax_t=no)]) 29 | if test $gt_cv_c_intmax_t = yes; then 30 | AC_DEFINE(HAVE_INTMAX_T, 1, 31 | [Define if you have the 'intmax_t' type in or .]) 32 | fi 33 | ]) 34 | -------------------------------------------------------------------------------- /src/m4/inttypes-pri.m4: -------------------------------------------------------------------------------- 1 | # inttypes-pri.m4 serial 4 (gettext-0.16) 2 | dnl Copyright (C) 1997-2002, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | 9 | AC_PREREQ(2.52) 10 | 11 | # Define PRI_MACROS_BROKEN if exists and defines the PRI* 12 | # macros to non-string values. This is the case on AIX 4.3.3. 13 | 14 | AC_DEFUN([gt_INTTYPES_PRI], 15 | [ 16 | AC_CHECK_HEADERS([inttypes.h]) 17 | if test $ac_cv_header_inttypes_h = yes; then 18 | AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], 19 | gt_cv_inttypes_pri_broken, 20 | [ 21 | AC_TRY_COMPILE([#include 22 | #ifdef PRId32 23 | char *p = PRId32; 24 | #endif 25 | ], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes) 26 | ]) 27 | fi 28 | if test "$gt_cv_inttypes_pri_broken" = yes; then 29 | AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1, 30 | [Define if exists and defines unusable PRI* macros.]) 31 | PRI_MACROS_BROKEN=1 32 | else 33 | PRI_MACROS_BROKEN=0 34 | fi 35 | AC_SUBST([PRI_MACROS_BROKEN]) 36 | ]) 37 | -------------------------------------------------------------------------------- /src/m4/inttypes.m4: -------------------------------------------------------------------------------- 1 | # inttypes.m4 serial 1 (gettext-0.11.4) 2 | dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. 3 | dnl This file is free software, distributed under the terms of the GNU 4 | dnl General Public License. As a special exception to the GNU General 5 | dnl Public License, this file may be distributed as part of a program 6 | dnl that contains a configuration script generated by Autoconf, under 7 | dnl the same distribution terms as the rest of that program. 8 | 9 | dnl From Paul Eggert. 10 | 11 | # Define HAVE_INTTYPES_H if exists and doesn't clash with 12 | # . 13 | 14 | AC_DEFUN([gt_HEADER_INTTYPES_H], 15 | [ 16 | AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h, 17 | [ 18 | AC_TRY_COMPILE( 19 | [#include 20 | #include ], 21 | [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no) 22 | ]) 23 | if test $gt_cv_header_inttypes_h = yes; then 24 | AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1, 25 | [Define if exists and doesn't clash with .]) 26 | fi 27 | ]) 28 | -------------------------------------------------------------------------------- /src/m4/inttypes_h.m4: -------------------------------------------------------------------------------- 1 | # inttypes_h.m4 serial 7 2 | dnl Copyright (C) 1997-2004, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Paul Eggert. 8 | 9 | # Define HAVE_INTTYPES_H_WITH_UINTMAX if exists, 10 | # doesn't clash with , and declares uintmax_t. 11 | 12 | AC_DEFUN([gl_AC_HEADER_INTTYPES_H], 13 | [ 14 | AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h, 15 | [AC_TRY_COMPILE( 16 | [#include 17 | #include ], 18 | [uintmax_t i = (uintmax_t) -1; return !i;], 19 | gl_cv_header_inttypes_h=yes, 20 | gl_cv_header_inttypes_h=no)]) 21 | if test $gl_cv_header_inttypes_h = yes; then 22 | AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1, 23 | [Define if exists, doesn't clash with , 24 | and declares uintmax_t. ]) 25 | fi 26 | ]) 27 | -------------------------------------------------------------------------------- /src/m4/isc-posix.m4: -------------------------------------------------------------------------------- 1 | # isc-posix.m4 serial 2 (gettext-0.11.2) 2 | dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. 3 | dnl This file is free software, distributed under the terms of the GNU 4 | dnl General Public License. As a special exception to the GNU General 5 | dnl Public License, this file may be distributed as part of a program 6 | dnl that contains a configuration script generated by Autoconf, under 7 | dnl the same distribution terms as the rest of that program. 8 | 9 | # This file is not needed with autoconf-2.53 and newer. Remove it in 2005. 10 | 11 | # This test replaces the one in autoconf. 12 | # Currently this macro should have the same name as the autoconf macro 13 | # because gettext's gettext.m4 (distributed in the automake package) 14 | # still uses it. Otherwise, the use in gettext.m4 makes autoheader 15 | # give these diagnostics: 16 | # configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX 17 | # configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX 18 | 19 | undefine([AC_ISC_POSIX]) 20 | 21 | AC_DEFUN([AC_ISC_POSIX], 22 | [ 23 | dnl This test replaces the obsolescent AC_ISC_POSIX kludge. 24 | AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"]) 25 | ] 26 | ) 27 | -------------------------------------------------------------------------------- /src/m4/lcmessage.m4: -------------------------------------------------------------------------------- 1 | # lcmessage.m4 serial 4 (gettext-0.14.2) 2 | dnl Copyright (C) 1995-2002, 2004-2005 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | dnl 7 | dnl This file can can be used in projects which are not available under 8 | dnl the GNU General Public License or the GNU Library General Public 9 | dnl License but which still want to provide support for the GNU gettext 10 | dnl functionality. 11 | dnl Please note that the actual code of the GNU gettext library is covered 12 | dnl by the GNU Library General Public License, and the rest of the GNU 13 | dnl gettext package package is covered by the GNU General Public License. 14 | dnl They are *not* in the public domain. 15 | 16 | dnl Authors: 17 | dnl Ulrich Drepper , 1995. 18 | 19 | # Check whether LC_MESSAGES is available in . 20 | 21 | AC_DEFUN([gt_LC_MESSAGES], 22 | [ 23 | AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES, 24 | [AC_TRY_LINK([#include ], [return LC_MESSAGES], 25 | gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)]) 26 | if test $gt_cv_val_LC_MESSAGES = yes; then 27 | AC_DEFINE(HAVE_LC_MESSAGES, 1, 28 | [Define if your file defines LC_MESSAGES.]) 29 | fi 30 | ]) 31 | -------------------------------------------------------------------------------- /src/m4/longdouble.m4: -------------------------------------------------------------------------------- 1 | # longdouble.m4 serial 2 (gettext-0.15) 2 | dnl Copyright (C) 2002-2003, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | dnl Test whether the compiler supports the 'long double' type. 9 | dnl Prerequisite: AC_PROG_CC 10 | 11 | dnl This file is only needed in autoconf <= 2.59. Newer versions of autoconf 12 | dnl have a macro AC_TYPE_LONG_DOUBLE with identical semantics. 13 | 14 | AC_DEFUN([gt_TYPE_LONGDOUBLE], 15 | [ 16 | AC_CACHE_CHECK([for long double], gt_cv_c_long_double, 17 | [if test "$GCC" = yes; then 18 | gt_cv_c_long_double=yes 19 | else 20 | AC_TRY_COMPILE([ 21 | /* The Stardent Vistra knows sizeof(long double), but does not support it. */ 22 | long double foo = 0.0; 23 | /* On Ultrix 4.3 cc, long double is 4 and double is 8. */ 24 | int array [2*(sizeof(long double) >= sizeof(double)) - 1]; 25 | ], , 26 | gt_cv_c_long_double=yes, gt_cv_c_long_double=no) 27 | fi]) 28 | if test $gt_cv_c_long_double = yes; then 29 | AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.]) 30 | fi 31 | ]) 32 | -------------------------------------------------------------------------------- /src/m4/nls.m4: -------------------------------------------------------------------------------- 1 | # nls.m4 serial 3 (gettext-0.15) 2 | dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | dnl 7 | dnl This file can can be used in projects which are not available under 8 | dnl the GNU General Public License or the GNU Library General Public 9 | dnl License but which still want to provide support for the GNU gettext 10 | dnl functionality. 11 | dnl Please note that the actual code of the GNU gettext library is covered 12 | dnl by the GNU Library General Public License, and the rest of the GNU 13 | dnl gettext package package is covered by the GNU General Public License. 14 | dnl They are *not* in the public domain. 15 | 16 | dnl Authors: 17 | dnl Ulrich Drepper , 1995-2000. 18 | dnl Bruno Haible , 2000-2003. 19 | 20 | AC_PREREQ(2.50) 21 | 22 | AC_DEFUN([AM_NLS], 23 | [ 24 | AC_MSG_CHECKING([whether NLS is requested]) 25 | dnl Default is enabled NLS 26 | AC_ARG_ENABLE(nls, 27 | [ --disable-nls do not use Native Language Support], 28 | USE_NLS=$enableval, USE_NLS=yes) 29 | AC_MSG_RESULT($USE_NLS) 30 | AC_SUBST(USE_NLS) 31 | ]) 32 | -------------------------------------------------------------------------------- /src/m4/signed.m4: -------------------------------------------------------------------------------- 1 | # signed.m4 serial 1 (gettext-0.10.40) 2 | dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | 9 | AC_DEFUN([bh_C_SIGNED], 10 | [ 11 | AC_CACHE_CHECK([for signed], bh_cv_c_signed, 12 | [AC_TRY_COMPILE(, [signed char x;], bh_cv_c_signed=yes, bh_cv_c_signed=no)]) 13 | if test $bh_cv_c_signed = no; then 14 | AC_DEFINE(signed, , 15 | [Define to empty if the C compiler doesn't support this keyword.]) 16 | fi 17 | ]) 18 | -------------------------------------------------------------------------------- /src/m4/stdint_h.m4: -------------------------------------------------------------------------------- 1 | # stdint_h.m4 serial 6 2 | dnl Copyright (C) 1997-2004, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Paul Eggert. 8 | 9 | # Define HAVE_STDINT_H_WITH_UINTMAX if exists, 10 | # doesn't clash with , and declares uintmax_t. 11 | 12 | AC_DEFUN([gl_AC_HEADER_STDINT_H], 13 | [ 14 | AC_CACHE_CHECK([for stdint.h], gl_cv_header_stdint_h, 15 | [AC_TRY_COMPILE( 16 | [#include 17 | #include ], 18 | [uintmax_t i = (uintmax_t) -1; return !i;], 19 | gl_cv_header_stdint_h=yes, 20 | gl_cv_header_stdint_h=no)]) 21 | if test $gl_cv_header_stdint_h = yes; then 22 | AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1, 23 | [Define if exists, doesn't clash with , 24 | and declares uintmax_t. ]) 25 | fi 26 | ]) 27 | -------------------------------------------------------------------------------- /src/m4/sys_socket_h.m4: -------------------------------------------------------------------------------- 1 | # sys_socket_h.m4 serial 2 2 | dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Simon Josefsson. 8 | 9 | AC_DEFUN([gl_HEADER_SYS_SOCKET], 10 | [ 11 | AC_CHECK_HEADERS_ONCE([sys/socket.h]) 12 | if test $ac_cv_header_sys_socket_h = yes; then 13 | SYS_SOCKET_H='' 14 | else 15 | dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make 16 | dnl the check for those headers unconditional; yet cygwin reports 17 | dnl that the headers are present but cannot be compiled (since on 18 | dnl cygwin, all socket information should come from sys/socket.h). 19 | AC_CHECK_HEADERS([winsock2.h ws2tcpip.h]) 20 | SYS_SOCKET_H='sys/socket.h' 21 | fi 22 | AC_SUBST(SYS_SOCKET_H) 23 | ]) 24 | -------------------------------------------------------------------------------- /src/m4/tar-ustar.m4: -------------------------------------------------------------------------------- 1 | dnl Check for a tar program that speaks ustar format 2 | dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc. 3 | dnl 4 | dnl This file is free software, distributed under the terms of the GNU 5 | dnl General Public License. As a special exception to the GNU General 6 | dnl Public License, this file may be distributed as part of a program 7 | dnl that contains a configuration script generated by Autoconf, under 8 | dnl the same distribution terms as the rest of that program. 9 | 10 | AC_DEFUN([GNUPG_CHECK_USTAR], 11 | [ 12 | AC_ARG_WITH(tar, 13 | AC_HELP_STRING([--with-tar=PATH],[look for a tar program in PATH]), 14 | [_do_tar=$withval]) 15 | 16 | if test x$_do_tar != xno ; then 17 | 18 | if test x$_do_tar = x ; then 19 | AC_PATH_PROG(TAR,"tar") 20 | _mytar=$ac_cv_path_TAR 21 | fi 22 | 23 | # Check if our tar is ustar format. If so, it's good. TODO: Add some 24 | # code to check various options, etc, to try and create ustar 25 | # format. 26 | 27 | if test x$_mytar != x ; then 28 | AC_MSG_CHECKING([whether $_mytar speaks USTAR]) 29 | echo hithere > conftest.txt 30 | $_mytar -cf - conftest.txt | (dd skip=257 bs=1 count=5 2>/dev/null || cat) | grep ustar > /dev/null 31 | _tar_bad=$? 32 | rm conftest.txt 33 | 34 | if test x$_tar_bad = x0 ; then 35 | AC_MSG_RESULT([yes]) 36 | else 37 | AC_MSG_RESULT([no]) 38 | fi 39 | fi 40 | fi 41 | 42 | AM_CONDITIONAL(HAVE_USTAR, test x$_tar_bad = x0) 43 | ])dnl 44 | -------------------------------------------------------------------------------- /src/m4/uintmax_t.m4: -------------------------------------------------------------------------------- 1 | # uintmax_t.m4 serial 9 2 | dnl Copyright (C) 1997-2004 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Paul Eggert. 8 | 9 | AC_PREREQ(2.13) 10 | 11 | # Define uintmax_t to 'unsigned long' or 'unsigned long long' 12 | # if it is not already defined in or . 13 | 14 | AC_DEFUN([gl_AC_TYPE_UINTMAX_T], 15 | [ 16 | AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 17 | AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 18 | if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then 19 | AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG]) 20 | test $ac_cv_type_unsigned_long_long = yes \ 21 | && ac_type='unsigned long long' \ 22 | || ac_type='unsigned long' 23 | AC_DEFINE_UNQUOTED(uintmax_t, $ac_type, 24 | [Define to unsigned long or unsigned long long 25 | if and don't define.]) 26 | else 27 | AC_DEFINE(HAVE_UINTMAX_T, 1, 28 | [Define if you have the 'uintmax_t' type in or .]) 29 | fi 30 | ]) 31 | -------------------------------------------------------------------------------- /src/m4/wchar_t.m4: -------------------------------------------------------------------------------- 1 | # wchar_t.m4 serial 1 (gettext-0.12) 2 | dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | dnl Test whether has the 'wchar_t' type. 9 | dnl Prerequisite: AC_PROG_CC 10 | 11 | AC_DEFUN([gt_TYPE_WCHAR_T], 12 | [ 13 | AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t, 14 | [AC_TRY_COMPILE([#include 15 | wchar_t foo = (wchar_t)'\0';], , 16 | gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)]) 17 | if test $gt_cv_c_wchar_t = yes; then 18 | AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.]) 19 | fi 20 | ]) 21 | -------------------------------------------------------------------------------- /src/m4/wint_t.m4: -------------------------------------------------------------------------------- 1 | # wint_t.m4 serial 1 (gettext-0.12) 2 | dnl Copyright (C) 2003 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | dnl Test whether has the 'wint_t' type. 9 | dnl Prerequisite: AC_PROG_CC 10 | 11 | AC_DEFUN([gt_TYPE_WINT_T], 12 | [ 13 | AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t, 14 | [AC_TRY_COMPILE([#include 15 | wint_t foo = (wchar_t)'\0';], , 16 | gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)]) 17 | if test $gt_cv_c_wint_t = yes; then 18 | AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.]) 19 | fi 20 | ]) 21 | -------------------------------------------------------------------------------- /src/m4/xsize.m4: -------------------------------------------------------------------------------- 1 | # xsize.m4 serial 3 2 | dnl Copyright (C) 2003-2004 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_XSIZE], 8 | [ 9 | dnl Prerequisites of lib/xsize.h. 10 | AC_REQUIRE([gl_SIZE_MAX]) 11 | AC_REQUIRE([AC_C_INLINE]) 12 | AC_CHECK_HEADERS(stdint.h) 13 | ]) 14 | -------------------------------------------------------------------------------- /src/po/LINGUAS: -------------------------------------------------------------------------------- 1 | en@quot 2 | en@boldquot 3 | be 4 | ca 5 | cs 6 | da 7 | de 8 | eo 9 | el 10 | es 11 | et 12 | fi 13 | fr 14 | gl 15 | hu 16 | id 17 | it 18 | ja 19 | nb 20 | pl 21 | pt_BR 22 | pt 23 | ro 24 | ru 25 | sk 26 | sv 27 | tr 28 | uk 29 | zh_TW 30 | zh_CN 31 | -------------------------------------------------------------------------------- /src/po/be.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/be.gmo -------------------------------------------------------------------------------- /src/po/boldquot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | s/“/“/g 8 | s/”/”/g 9 | s/‘/‘/g 10 | s/’/’/g 11 | -------------------------------------------------------------------------------- /src/po/ca.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/ca.gmo -------------------------------------------------------------------------------- /src/po/cs.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/cs.gmo -------------------------------------------------------------------------------- /src/po/da.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/da.gmo -------------------------------------------------------------------------------- /src/po/da.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/da.po -------------------------------------------------------------------------------- /src/po/de.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/de.gmo -------------------------------------------------------------------------------- /src/po/el.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/el.gmo -------------------------------------------------------------------------------- /src/po/el.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/el.po -------------------------------------------------------------------------------- /src/po/en@boldquot.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/en@boldquot.gmo -------------------------------------------------------------------------------- /src/po/en@boldquot.header: -------------------------------------------------------------------------------- 1 | # All this catalog "translates" are quotation characters. 2 | # The msgids must be ASCII and therefore cannot contain real quotation 3 | # characters, only substitutes like grave accent (0x60), apostrophe (0x27) 4 | # and double quote (0x22). These substitutes look strange; see 5 | # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html 6 | # 7 | # This catalog translates grave accent (0x60) and apostrophe (0x27) to 8 | # left single quotation mark (U+2018) and right single quotation mark (U+2019). 9 | # It also translates pairs of apostrophe (0x27) to 10 | # left single quotation mark (U+2018) and right single quotation mark (U+2019) 11 | # and pairs of quotation mark (0x22) to 12 | # left double quotation mark (U+201C) and right double quotation mark (U+201D). 13 | # 14 | # When output to an UTF-8 terminal, the quotation characters appear perfectly. 15 | # When output to an ISO-8859-1 terminal, the single quotation marks are 16 | # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to 17 | # grave/acute accent (by libiconv), and the double quotation marks are 18 | # transliterated to 0x22. 19 | # When output to an ASCII terminal, the single quotation marks are 20 | # transliterated to apostrophes, and the double quotation marks are 21 | # transliterated to 0x22. 22 | # 23 | # This catalog furthermore displays the text between the quotation marks in 24 | # bold face, assuming the VT100/XTerm escape sequences. 25 | # 26 | -------------------------------------------------------------------------------- /src/po/en@quot.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/en@quot.gmo -------------------------------------------------------------------------------- /src/po/en@quot.header: -------------------------------------------------------------------------------- 1 | # All this catalog "translates" are quotation characters. 2 | # The msgids must be ASCII and therefore cannot contain real quotation 3 | # characters, only substitutes like grave accent (0x60), apostrophe (0x27) 4 | # and double quote (0x22). These substitutes look strange; see 5 | # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html 6 | # 7 | # This catalog translates grave accent (0x60) and apostrophe (0x27) to 8 | # left single quotation mark (U+2018) and right single quotation mark (U+2019). 9 | # It also translates pairs of apostrophe (0x27) to 10 | # left single quotation mark (U+2018) and right single quotation mark (U+2019) 11 | # and pairs of quotation mark (0x22) to 12 | # left double quotation mark (U+201C) and right double quotation mark (U+201D). 13 | # 14 | # When output to an UTF-8 terminal, the quotation characters appear perfectly. 15 | # When output to an ISO-8859-1 terminal, the single quotation marks are 16 | # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to 17 | # grave/acute accent (by libiconv), and the double quotation marks are 18 | # transliterated to 0x22. 19 | # When output to an ASCII terminal, the single quotation marks are 20 | # transliterated to apostrophes, and the double quotation marks are 21 | # transliterated to 0x22. 22 | # 23 | -------------------------------------------------------------------------------- /src/po/eo.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/eo.gmo -------------------------------------------------------------------------------- /src/po/eo.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/eo.po -------------------------------------------------------------------------------- /src/po/es.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/es.gmo -------------------------------------------------------------------------------- /src/po/es.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/es.po -------------------------------------------------------------------------------- /src/po/et.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/et.gmo -------------------------------------------------------------------------------- /src/po/et.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/et.po -------------------------------------------------------------------------------- /src/po/fi.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/fi.gmo -------------------------------------------------------------------------------- /src/po/fr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/fr.gmo -------------------------------------------------------------------------------- /src/po/fr.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/fr.po -------------------------------------------------------------------------------- /src/po/gl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/gl.gmo -------------------------------------------------------------------------------- /src/po/gl.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/gl.po -------------------------------------------------------------------------------- /src/po/hu.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/hu.gmo -------------------------------------------------------------------------------- /src/po/hu.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/hu.po -------------------------------------------------------------------------------- /src/po/id.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/id.gmo -------------------------------------------------------------------------------- /src/po/insert-header.sin: -------------------------------------------------------------------------------- 1 | # Sed script that inserts the file called HEADER before the header entry. 2 | # 3 | # At each occurrence of a line starting with "msgid ", we execute the following 4 | # commands. At the first occurrence, insert the file. At the following 5 | # occurrences, do nothing. The distinction between the first and the following 6 | # occurrences is achieved by looking at the hold space. 7 | /^msgid /{ 8 | x 9 | # Test if the hold space is empty. 10 | s/m/m/ 11 | ta 12 | # Yes it was empty. First occurrence. Read the file. 13 | r HEADER 14 | # Output the file's contents by reading the next line. But don't lose the 15 | # current line while doing this. 16 | g 17 | N 18 | bb 19 | :a 20 | # The hold space was nonempty. Following occurrences. Do nothing. 21 | x 22 | :b 23 | } 24 | -------------------------------------------------------------------------------- /src/po/it.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/it.gmo -------------------------------------------------------------------------------- /src/po/it.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/it.po -------------------------------------------------------------------------------- /src/po/ja.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/ja.gmo -------------------------------------------------------------------------------- /src/po/ja.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/ja.po -------------------------------------------------------------------------------- /src/po/nb.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/nb.gmo -------------------------------------------------------------------------------- /src/po/nb.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/nb.po -------------------------------------------------------------------------------- /src/po/pl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/pl.gmo -------------------------------------------------------------------------------- /src/po/pl.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/pl.po -------------------------------------------------------------------------------- /src/po/pt.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/pt.gmo -------------------------------------------------------------------------------- /src/po/pt.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/pt.po -------------------------------------------------------------------------------- /src/po/pt_BR.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/pt_BR.gmo -------------------------------------------------------------------------------- /src/po/pt_BR.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/pt_BR.po -------------------------------------------------------------------------------- /src/po/quot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | -------------------------------------------------------------------------------- /src/po/remove-potcdate.sin: -------------------------------------------------------------------------------- 1 | # Sed script that remove the POT-Creation-Date line in the header entry 2 | # from a POT file. 3 | # 4 | # The distinction between the first and the following occurrences of the 5 | # pattern is achieved by looking at the hold space. 6 | /^"POT-Creation-Date: .*"$/{ 7 | x 8 | # Test if the hold space is empty. 9 | s/P/P/ 10 | ta 11 | # Yes it was empty. First occurrence. Remove the line. 12 | g 13 | d 14 | bb 15 | :a 16 | # The hold space was nonempty. Following occurrences. Do nothing. 17 | x 18 | :b 19 | } 20 | -------------------------------------------------------------------------------- /src/po/ro.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/ro.gmo -------------------------------------------------------------------------------- /src/po/ro.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/ro.po -------------------------------------------------------------------------------- /src/po/ru.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/ru.gmo -------------------------------------------------------------------------------- /src/po/sk.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/sk.gmo -------------------------------------------------------------------------------- /src/po/sk.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/sk.po -------------------------------------------------------------------------------- /src/po/stamp-po: -------------------------------------------------------------------------------- 1 | timestamp 2 | -------------------------------------------------------------------------------- /src/po/sv.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/sv.gmo -------------------------------------------------------------------------------- /src/po/tr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/tr.gmo -------------------------------------------------------------------------------- /src/po/uk.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/uk.gmo -------------------------------------------------------------------------------- /src/po/zh_CN.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/zh_CN.gmo -------------------------------------------------------------------------------- /src/po/zh_TW.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manuels/unix-toolbox.js-gnupg/e5818f5da6badf40259284492cd1491246784c7b/src/po/zh_TW.gmo -------------------------------------------------------------------------------- /src/scd/.deps/apdu.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/scd/.deps/app-dinsig.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/scd/.deps/app-geldkarte.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/scd/.deps/app-help.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/scd/.deps/app-nks.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/scd/.deps/app-openpgp.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/scd/.deps/app-p15.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/scd/.deps/app.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/scd/.deps/ccid-driver.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/scd/.deps/command.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/scd/.deps/gnupg_pcsc_wrapper-pcsc-wrapper.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/scd/.deps/iso7816.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/scd/.deps/scdaemon.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/base64.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/call-agent.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/call-dirmngr.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/certchain.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/certcheck.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/certdump.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/certlist.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/certreqgen-ui.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/certreqgen.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/decrypt.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/delete.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/encrypt.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/export.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/fingerprint.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/gpgsm.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/import.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/keydb.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/keylist.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/misc.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/qualified.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/server.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/sign.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/sm/.deps/verify.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/stamp-h1: -------------------------------------------------------------------------------- 1 | timestamp for config.h 2 | -------------------------------------------------------------------------------- /src/tests/.deps/asschk.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tests/openpgp/armdetach.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | 14 | #info Checking armored detached signatures 15 | for i in $plain_files $data_files ; do 16 | echo "$usrpass1" | $GPG --passphrase-fd 0 -sab -o x --yes $i 17 | $GPG -o /dev/null --yes x <$i || error "$i: bad signature" 18 | done 19 | 20 | -------------------------------------------------------------------------------- /src/tests/openpgp/armdetachm.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking armored detached signatures of multiple files 14 | i="$plain_files $data_files" 15 | echo "$usrpass1" | $GPG --passphrase-fd 0 -sab -o x --yes $i 16 | cat $i | $GPG -o /dev/null --yes x || error "$i: bad signature" 17 | 18 | -------------------------------------------------------------------------------- /src/tests/openpgp/armencrypt.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking armored encryption 14 | for i in $plain_files $data_files ; do 15 | $GPG --always-trust -ea -o x --yes -r "$usrname2" $i 16 | $GPG -o y --yes x 17 | cmp $i y || error "$i: mismatch" 18 | done 19 | 20 | -------------------------------------------------------------------------------- /src/tests/openpgp/armencryptp.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking armored encryption with a pipe 14 | for i in $plain_files $data_files ; do 15 | $GPG --always-trust -ea --yes -r "$usrname2" < $i | tee x | $GPG -o y --yes 16 | cmp $i y || error "$i: mismatch" 17 | $GPG --yes < x > y 18 | cmp $i y || error "$i: mismatch" 19 | done 20 | 21 | -------------------------------------------------------------------------------- /src/tests/openpgp/armsignencrypt.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | 14 | #info Checking armored signing and encryption 15 | for i in $plain_files $data_files ; do 16 | echo "$usrpass1" | $GPG --passphrase-fd 0 --always-trust \ 17 | -sae -o x --yes -r "$usrname2" $i 18 | $GPG -o y --yes x 19 | cmp $i y || error "$i: mismatch" 20 | done 21 | 22 | -------------------------------------------------------------------------------- /src/tests/openpgp/armsigs.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking armored signatures 14 | for i in $plain_files $data_files ; do 15 | echo "$usrpass1" | $GPG --passphrase-fd 0 -sa -o x --yes $i 16 | $GPG -o y --yes x 17 | cmp $i y || error "$i: mismatch" 18 | done 19 | 20 | -------------------------------------------------------------------------------- /src/tests/openpgp/conventional-mdc.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking conventional encryption 14 | for ciph in `all_cipher_algos`; do 15 | echo_n "$ciph " 16 | for i in 0 1 2 3 9 10 11 19 20 21 22 23 39 40 41 8192 32000 ; do 17 | # *BSD's dd can't cope with a count of 0 18 | if test "$i" = "0"; then 19 | : >z 20 | else 21 | dd if=data-80000 of=z bs=1 count=$i 2>/dev/null 22 | fi 23 | echo "Hier spricht HAL" | $GPG --passphrase-fd 0 \ 24 | --force-mdc --cipher $ciph -c -o x --yes z 25 | echo "Hier spricht HAL" | $GPG --passphrase-fd 0 \ 26 | -o y --yes x 27 | cmp z y || error "$ciph/$i: mismatch" 28 | done 29 | done 30 | echo_n "| " 31 | -------------------------------------------------------------------------------- /src/tests/openpgp/conventional.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking conventional encryption 14 | for i in plain-2 data-32000 ; do 15 | echo "Hier spricht HAL" | $GPG --passphrase-fd 0 -c -o x --yes $i 16 | echo "Hier spricht HAL" | $GPG --passphrase-fd 0 -o y --yes x 17 | cmp $i y || error "$i: mismatch" 18 | done 19 | 20 | for a in `all_cipher_algos`; do 21 | echo_n "$a " 22 | for i in plain-1 data-80000 ; do 23 | echo "Hier spricht HAL" | $GPG --passphrase-fd 0 \ 24 | --cipher-algo $a -c -o x --yes $i 25 | echo "Hier spricht HAL" | $GPG --passphrase-fd 0 -o y --yes x 26 | cmp $i y || error "$i: ($a) mismatch" 27 | done 28 | done 29 | echo_n "| " 30 | -------------------------------------------------------------------------------- /src/tests/openpgp/decrypt-dsa.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking decryption of supplied DSA encrypted file 14 | for i in "plain-1" ; do 15 | $GPG $dsa_keyrings -o y --yes $srcdir/$i-pgp.asc 16 | cmp $i y || error "$i: mismatch" 17 | done 18 | 19 | -------------------------------------------------------------------------------- /src/tests/openpgp/decrypt.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking decryption of supplied files 14 | for i in $plain_files ; do 15 | echo "$usrpass1" | $GPG --passphrase-fd 0 -o y --yes $srcdir/$i.asc 16 | cmp $i y || error "$i: mismatch" 17 | done 18 | 19 | -------------------------------------------------------------------------------- /src/tests/openpgp/detach.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking detached signatures 14 | for i in $plain_files $data_files ; do 15 | echo "$usrpass1" | $GPG --passphrase-fd 0 -sb -o x --yes $i 16 | $GPG -o /dev/null --yes x <$i || error "$i: bad signature" 17 | done 18 | 19 | -------------------------------------------------------------------------------- /src/tests/openpgp/detachm.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking detached signatures of multiple files 14 | i="$plain_files $data_files" 15 | echo "$usrpass1" | $GPG --passphrase-fd 0 -sb -o x --yes $i 16 | cat $i | $GPG -o /dev/null --yes x || error "$i: bad signature" 17 | 18 | -------------------------------------------------------------------------------- /src/tests/openpgp/encrypt-dsa.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking encryption 14 | for i in $plain_files $data_files ; do 15 | $GPG $dsa_keyrings --always-trust -e -o x --yes -r "$dsa_usrname2" $i 16 | $GPG $dsa_keyrings -o y --yes x 17 | cmp $i y || error "$i: mismatch" 18 | done 19 | 20 | for ca in `all_cipher_algos` ; do 21 | echo_n "$ca " 22 | for i in $plain_files $data_files ; do 23 | $GPG $dsa_keyrings --always-trust --cipher-algo $ca -e \ 24 | -o x --yes -r "$dsa_usrname2" $i 25 | $GPG $dsa_keyrings -o y --yes x 26 | cmp $i y || error "$i: mismatch" 27 | done 28 | done 29 | echo_n "| " 30 | -------------------------------------------------------------------------------- /src/tests/openpgp/encrypt.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking encryption 14 | for i in $plain_files $data_files ; do 15 | $GPG --always-trust -e -o x --yes -r "$usrname2" $i 16 | $GPG -o y --yes x 17 | cmp $i y || error "$i: mismatch" 18 | done 19 | 20 | for ca in `all_cipher_algos` ; do 21 | echo_n "$ca " 22 | for i in $plain_files $data_files ; do 23 | $GPG --always-trust -e -o x --yes -r "$usrname2" --cipher-algo $ca $i 24 | $GPG -o y --yes x 25 | cmp $i y || error "$i: mismatch" 26 | done 27 | done 28 | echo_n "| " 29 | -------------------------------------------------------------------------------- /src/tests/openpgp/encryptp.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking encryption with a pipe 14 | for i in $plain_files $data_files ; do 15 | $GPG --always-trust -e --yes -r "$usrname2" <$i | $GPG --yes > y 16 | cmp $i y || error "$i: mismatch" 17 | done 18 | 19 | -------------------------------------------------------------------------------- /src/tests/openpgp/genkey1024.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | $GPG --quiet --batch --debug-quick-random --gen-key < $name/Secret.gpg 32 | $GPG --homedir $name --import $name/Secret.gpg 33 | $GPGDEMO --export -o - $name > $name/Public.gpg 34 | $GPG --homedir $name --import $name/Public.gpg 35 | [ -f $name/pubring.gpg~ ] && rm $name/pubring.gpg~ 36 | done 37 | echo "." 38 | [ -f ./tdb.tmp ] && rm ./tdb.tmp 39 | rm pubdemo.gpg secdemo.gpg 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/tests/openpgp/plain-1-pgp.asc: -------------------------------------------------------------------------------- 1 | This is an encrypted version of plain-1 for the PGP test key 2 | 0xCB879DE9 using 3DES. 3 | 4 | -----BEGIN PGP MESSAGE----- 5 | Version: GnuPG v1.3.5-cvs (GNU/Linux) 6 | 7 | hM4DW3oC8MuHnekQAv0U6qlDAA64QS/oZJErr1J77m5Dh7IFen3mAcwOxvL/POqS 8 | HQWTFcuFT4LH9asSWgRe6DebJGfscMjMqNPAkhEJtKQQ2jEesn2Bon6SMwah7vkD 9 | 9Zap7WKHRlnB/Da1/xQC/ispXY7e5tuejnzoNSAOWFpBn354nvkKGaCfMRNuz3R2 10 | HljH+gXKRa00n2dPmvX9Mr8AI0Q+FoEI2/YW+6aUxmv8b0c2dP6HcL6HUu0Ro2Nl 11 | RJNPfYXP20EL/Xrv8LN0Ksnp3YKTWrz5gQKNr3DH5pn1PjFqAKz4JD6rQBpnlh1c 12 | 03gLB1OAJWA6+/QNaEQV451GBZW3ul10R/6621/kk0Isdxn/htlD4Jl/jAvFdlQW 13 | ULBu1HorZZ5X/IMuMRFwSQkx+H8i0zq+LGr8+rLFVTRuXBrgpeTLWs/f35DDblPp 14 | jtPGSs1qql98PfOV1tAr16rGRLAAyNWEgi3yZWUGgq5dfFnRbJX1hrj9waQmq1g0 15 | mn1oB9Ig708xSZqcfFVFNpvIB7nmbFF/WaMnqfL3XmgTe8whKB/f/XYhg+W2d57h 16 | EmTcAlC1N6IHY8/7YqtnjitavTIUsi0hPldX0tvrjsaZ7ppSma2epRJhx47jIFjw 17 | wXOEByZE+K3pyTSN8KJxParDsqrTWFrL0t8az9W8lWG7YYsxUxk9cwRo5PyEko1M 18 | kAKrbDMb+02Iw35yeuxFY33dl7KqpaWy43ksX/ROxX4S0InQywaQejXyt5A1cJN1 19 | t+G0aKdRp40MDKtOkZfFGlUSFZIhB0dxKVfSKJE/SIeYZzROTuyCNe/2wwufxgpa 20 | uztUf5ipVnINupiztWGw5c5Wp40ptQ/0K4/35KrZhMoFGR9DtImAPpZocuiFdJDt 21 | uqqapxGfJ876S4hFjRAkHSNRsAySul9zFLnIJ+Smk5xsvQZK4yjDwZfSs9b7WPKg 22 | 7NCxl5bF5dIbWRYdRBNjHQ4m3LyYmqKzQqALSYT54/9O35B7rb1fOB2SFIuME0QI 23 | 5XQq9QsH/f5rW8U6Ixzw1582B8fO1TMRhCqMyXozmsBJoWdCIQTQiVNyrbgLi+ss 24 | wKiKq4AymLXFMSpI4TOCc+rKiAdMpLbNO8Ndox5hZEGz+mqg84cgC/rkJc/P03KR 25 | uo0+rb5eSfJw9t+uzBXDmFHynayj0CB8wW9iwXknpdlHDo1z 26 | =7Otr 27 | -----END PGP MESSAGE----- 28 | -------------------------------------------------------------------------------- /src/tests/openpgp/plain-1.asc: -------------------------------------------------------------------------------- 1 | -----BEGIN PGP MESSAGE----- 2 | Version: GnuPG v1.3.5-cvs (GNU/Linux) 3 | 4 | hQEOA6urKKJHvid1EAQA0MchGc7vZsjUgxdII4lo/2jRDesMmLDN4U0uOgExvyhD 5 | u1OtQBJF8iHgNdDEf8/R3GWhRE94IpVwLqzKTqfVmyKIFd80/Qe4h37TUPpEf8Ex 6 | f7WaIBk/9OSDNKOkCwZ5OH9xGaorhBwYiTNJlEEGv5zcDte9ZoLO7WhWFfHp3b0E 7 | AJYk/tf3oV4sJSn8AbUa8UC2tAdpNM1Lx+UEuCtxevYRpWeDVDok7/xuaa/wcb39 8 | lKyhUV+FBUH++k59K4GVqykOz02hmFl97O+4bAldgP6cVTm0Gh7jwMcJANzhLW/O 9 | MR5birB+HPKOotMIfhggzxsAt6ESrviIlknkGqwKXWog0ukB/npOqQdu1GmvJqoC 10 | k6ElA6xZPY5HTF/JLKlLXFfIIKLeuyckKwGDkVNFE7JYPW+dfxcGH9z1KXaNNllY 11 | V4OKGQh3+gMaoJSY2X7PsmjC4fvi3g6rr360ATr5f82Mr8GPa3x21XLdIFZ04vTe 12 | yE3kwdcarkiT1QQLnOXk/yRBxJwiA5loL9crVdC2WyOV3B3DG33/yas8krw4BYWw 13 | DzAgxNtZR4MQXcj83WwoflMo43dYUq3Pk7ZnzKN04O8m9w0gxVxCpXu4ds9emMdJ 14 | WS4eNTPUOnzeWttkfYcd3SarK6COi9iBosFT2QF80FwDSlH3XdEo7rD1j6WJ5GeX 15 | RbHDvIm9g0xB23S7jmtfdqIHndvPKLmwW2B1VC1mbjcDUo6pyUb31GBd1zFVhT69 16 | ijhiEwBlr8uWxROdwJd/7IVIB/RYHLr5P3M8p08hdEdS1IMQbNEE4Y25fRdcc6g8 17 | fVEAExbG01K1EJhRLxoHzgnAkxDTV2HSwlqbFvKEzUfE+rMHApmSX2lfMvKgueYz 18 | JpA7nxuf79Wk17bjNvuVQwokhXpzw7FyPPdD7h4Z30LW0ozvSVgs2tigWCAysIKB 19 | 3ZIolchqBoj0ddJgbPXrx09r1oCckEmdj1KtZsci9m+CFA8d22uxXBec0HkEHZpr 20 | EHlqEZfNTmqowoDtJ8KT+S8VPsALEyDnrqm3s4i44OwgvsPiKOST1xwk6lIJ5isu 21 | fO76RHTQ2jc8z7+sKyNffVugfjYVRj54/8Gj34QkrVo/42rlvg398tpbAbWuNq8w 22 | PM//M6eVD4IRDYEGrGOk7prd9mgdbWnOWpasirhr41kePu2vsrIUkJWHmOgdMQDH 23 | cSSzI8C5NpafROHAhMsUymcJ5dKksvPubh5IAdgtH+m6yDnNUJT8s6WV1f1RpSsQ 24 | L/n3dhti76l0XtfZ7aST8j46B1JPNDx8+r6Xl9IUbSU= 25 | =xK46 26 | -----END PGP MESSAGE----- 27 | -------------------------------------------------------------------------------- /src/tests/openpgp/plain-3.asc: -------------------------------------------------------------------------------- 1 | -----BEGIN PGP MESSAGE----- 2 | Version: GnuPG v1.3.5-cvs (GNU/Linux) 3 | 4 | hQEOA6urKKJHvid1EAQAreXx68NPUPpiNhqRyM//Y97N8hX5iAWq3WxXTa8D6Hy9 5 | 81Jy2wI4IeDhHIoWuXMIX2oVL//V1+LyLkrF/tutBVvqct0TUDUWqb4Ydpfk2l5j 6 | FfSybWW1fS4D1e0KVB3Lfj2Y4cCoT/+zyq7jUKQE++qNefPBzeaRWY4qeI6xXF8E 7 | AMj01HPe0ZwIBWqiIYv91Q7rGzEZm0ROPilgSQjUvCdsNQGhZpFGTl6uMSU0lmp8 8 | SD2EKv3xGeo2nMPy/Xp4JoYAMW+fjJh+wM6uT84nJgCVaeWyR7HAfF1U4rzqz7DF 9 | amPozuwuZiyjoo/wB1irZSl90t5Oa69oMesZtGMvwBN10mMBM0TotT4gjgviv5uY 10 | kLjD7DM79xy0drptNypmcVcjnDunM6bSEhTyq/fahdaULTYcwSOTXVMyesNpmLCb 11 | ziayleyuSaXPxIqWTgSfkab/W2FGWZvbexYaSaWXmDqsyzs81o0= 12 | =JDKF 13 | -----END PGP MESSAGE----- 14 | -------------------------------------------------------------------------------- /src/tests/openpgp/plain-3o.asc: -------------------------------------------------------------------------------- 1 | Stored by G10, because diff/patch have problems with 2 | files not having a trailing LF - and this one has none. 3 | 4 | -----BEGIN PGP ARMORED FILE----- 5 | Version: G10 v0.2.6a (Linux) 6 | Comment: This is an alpha version! 7 | 8 | RGllcyBpc3QgZWluZSBlaW5mYWNoZSBaZWlsZSBvaG5lIExGIGFtIEVuZGUu 9 | =ZQ6m 10 | -----END PGP ARMORED FILE----- 11 | -------------------------------------------------------------------------------- /src/tests/openpgp/pubring.pkr.asc: -------------------------------------------------------------------------------- 1 | This is a test pubring generated by pgp 5 beta 2 | 3 | Type Bits KeyID Created Expires Algorithm Use 4 | sec+ 768 439F02CA 1998-03-17 ---------- DSS Sign and Encrypt 5 | sub 768 CB879DE9 1998-03-17 ---------- Diffie-Hellman 6 | uid pgp5 test 7 | 8 | 9 | -----BEGIN PGP ARMORED FILE----- 10 | Version: GNUPG v0.2.13a (Linux) 11 | Comment: This is an alpha version! 12 | Comment: Use "gpgm --dearmor" for unpacking 13 | 14 | mQFCBDUOrE4RAwDbbxWAbWsheUJprK6VryMTpwDiYwMfL+92nrHqSfPqlpMWgDTia8qnpRSXbyEm 15 | Sppp/6/Ygp+N3n32Kznq7PjHXiuWLlZGvZMtzmvaMA17y0GY6oLBxS7rhASXIKa9hEUAoP+KBFly 16 | qNMdsK8j+ZO0A8rnImGrAwC1ddDme5iZFkTEWHhrtU97sEu2GDkSQB8HdX8CoRcrOz/B2WliF6qf 17 | BKhcZPFVBIhKNzjTfY7SEYAZk2zcsCm8elnwSLaGEzxKFNFBqKDNXP+a35spcqsHSGzDVw4VuKMD 18 | AJNnAP6skpHlhVAmecLZT9eRzVoOq1ivUIntK2Mh47qsL74q6BBwz2sviPU2Y3pDlbb6Ed0qJAXv 19 | dCT24hlfoGoXzkoDInkPJTJeL0gCnwmQPjvXFFd71Cvg5LaL4lIQLbABh7QZcGdwNSB0ZXN0IDxw 20 | Z3A1QGRldi5udWxsPrABA4kASwQQEQIACwUCNQ6sTgQLAwECAAoJENY0E25DnwLKxIoAoPSyM/Mw 21 | BogpyMU5YY+Sj74k3UIfAJ0RopQa8ciickDVzoSVPrGysrnOkLABZ7kAzQQ1DqxWEAMA/wVrlNsP 22 | qTxWZbUiMrUN8MjTFR2xUhuTw3cdvRgiVPUT/q1l1+I3CpopVBx/XuAkg5sHB80zc6pZg652YFV3 23 | dLoTceS7ridb5k23sHa2hZGCeTo6AdxIOy53giCPDP9FAAICAv9Oh5/OVxUqI+6hsp9ccOEhRA9N 24 | 8aJzYDPjvCQyhgej2P1kTsBZqWIx0/PiMvIt+qqhT2YfyD68mHIBztScAXZKTnjroUPKl0+bkX09 25 | NbdyqojAkzhaCRKUzwnaHEfhi2WwAYeJAD8DBRg1DqxW1jQTbkOfAsoRAnaPAJ0Z/k6Y2ypgDhXo 26 | qBLeW7Lq/AKYEACeLTod6Nt117DkqDz9epmIqwWOE1ewAWc= 27 | =6BrN 28 | -----END PGP ARMORED FILE----- 29 | -------------------------------------------------------------------------------- /src/tests/openpgp/seat.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | for i in $plain_files ; do 14 | echo "$usrpass1" | $GPG --passphrase-fd 0 --always-trust -seat \ 15 | -r two -o x --yes $i 16 | $GPG -o y --yes x 17 | cmp $i y || error "$i: mismatch" 18 | done 19 | 20 | -------------------------------------------------------------------------------- /src/tests/openpgp/secring.skr.asc: -------------------------------------------------------------------------------- 1 | This is a test secring generated by pgp 5 beta 2 | 3 | Type Bits KeyID Created Expires Algorithm Use 4 | sec+ 768 439F02CA 1998-03-17 ---------- DSS Sign and Encrypt 5 | sub 768 CB879DE9 1998-03-17 ---------- Diffie-Hellman 6 | uid pgp5 test 7 | 8 | There is no password on the key 9 | 10 | -----BEGIN PGP ARMORED FILE----- 11 | Version: GNUPG v0.2.13a (Linux) 12 | Comment: This is an alpha version! 13 | Comment: Use "gpgm --dearmor" for unpacking 14 | 15 | lQFbBDUOrE4RAwDbbxWAbWsheUJprK6VryMTpwDiYwMfL+92nrHqSfPqlpMWgDTia8qnpRSXbyEm 16 | Sppp/6/Ygp+N3n32Kznq7PjHXiuWLlZGvZMtzmvaMA17y0GY6oLBxS7rhASXIKa9hEUAoP+KBFly 17 | qNMdsK8j+ZO0A8rnImGrAwC1ddDme5iZFkTEWHhrtU97sEu2GDkSQB8HdX8CoRcrOz/B2WliF6qf 18 | BKhcZPFVBIhKNzjTfY7SEYAZk2zcsCm8elnwSLaGEzxKFNFBqKDNXP+a35spcqsHSGzDVw4VuKMD 19 | AJNnAP6skpHlhVAmecLZT9eRzVoOq1ivUIntK2Mh47qsL74q6BBwz2sviPU2Y3pDlbb6Ed0qJAXv 20 | dCT24hlfoGoXzkoDInkPJTJeL0gCnwmQPjvXFFd71Cvg5LaL4lIQLQAAn3GbgsWo+7E/hWakzstp 21 | TXzI2kDIDIm0GXBncDUgdGVzdCA8cGdwNUBkZXYubnVsbD6dAO8ENQ6sVhADAP8Fa5TbD6k8VmW1 22 | IjK1DfDI0xUdsVIbk8N3Hb0YIlT1E/6tZdfiNwqaKVQcf17gJIObBwfNM3OqWYOudmBVd3S6E3Hk 23 | u64nW+ZNt7B2toWRgnk6OgHcSDsud4Igjwz/RQACAgL/ToefzlcVKiPuobKfXHDhIUQPTfGic2Az 24 | 47wkMoYHo9j9ZE7AWaliMdPz4jLyLfqqoU9mH8g+vJhyAc7UnAF2Sk5466FDypdPm5F9PTW3cqqI 25 | wJM4WgkSlM8J2hxH4YtlAADlG+pxFXNFuDPmcq6jL6dug2ikZ7hcHLAy7DddSS8OAA== 26 | =1UWo 27 | -----END PGP ARMORED FILE----- 28 | -------------------------------------------------------------------------------- /src/tests/openpgp/signdemokey: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | if [ $# != 3 ]; then 6 | echo "Usage: signdemokey name user_id user_id_no" 7 | exit 1 8 | fi 9 | name="$1" 10 | user_id="$2" 11 | user_id_no="$3" 12 | 13 | echo "abc" | ../g10/gpg2 --options ./gpg.conf --homedir $name \ 14 | --sign-key --batch --yes --passphrase-fd 0 $user_id \ 15 | $user_id_no sign save 16 | 17 | -------------------------------------------------------------------------------- /src/tests/openpgp/signencrypt-dsa.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | #info Checking signing and encryption for DSA 14 | for i in $plain_files $data_files ; do 15 | $GPG $dsa_keyrings --always-trust -se -o x --yes \ 16 | -u "$dsa_usrname1" -r "$dsa_usrname2" $i 17 | $GPG $dsa_keyrings -o y --yes x 18 | cmp $i y || error "$i: mismatch" 19 | done 20 | 21 | for da in ripemd160 sha1; do 22 | for i in $plain_files; do 23 | $GPG $dsa_keyrings --always-trust -se -o x --yes --digest-algo $da \ 24 | -u "$dsa_usrname1" -r "$dsa_usrname2" $i 25 | $GPG $dsa_keyrings -o y --yes x 26 | cmp $i y || error "$i: mismatch" 27 | # process only the first one 28 | break 29 | done 30 | done 31 | -------------------------------------------------------------------------------- /src/tests/openpgp/signencrypt.test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006, 3 | # 2007 Free Software Foundation, Inc. 4 | # This file is free software; as a special exception the author gives 5 | # unlimited permission to copy and/or distribute it, with or without 6 | # modifications, as long as this notice is preserved. This file is 7 | # distributed in the hope that it will be useful, but WITHOUT ANY 8 | # WARRANTY, to the extent permitted by law; without even the implied 9 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 | 11 | . $srcdir/defs.inc || exit 3 12 | 13 | 14 | info "Checking signing and encryption" 15 | for i in $plain_files $data_files ; do 16 | echo "$usrpass1" | $GPG --passphrase-fd 0 --always-trust \ 17 | -se -o x --yes -r "$usrname2" $i 18 | $GPG -o y --yes x 19 | cmp $i y || error "$i: mismatch" 20 | done 21 | 22 | i=$srcdir/bug537-test.data.asc 23 | info "Checking bug 537: MDC problem with old style compressed packets." 24 | echo "$usrpass1" | $GPG --passphrase-fd 0 -o y --yes $i 25 | tmp=`$GPG --with-colons --print-md sha1 . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.4 23 | description="Basic Certificate Revocation" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | 29 | 30 | 31 | final_result 32 | -------------------------------------------------------------------------------- /src/tests/pkits/certificate-policies: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # certificate-policies - PKITS Test 4.8 -*- sh -*- 3 | # Copyright (C) 2008 Free Software Foundation, Inc. 4 | # 5 | # This file is part of GnuPG. 6 | # 7 | # GnuPG is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # GnuPG is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, see . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.8 23 | description="Certificate Policies" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | 29 | 30 | 31 | final_result 32 | -------------------------------------------------------------------------------- /src/tests/pkits/delta-crls: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # delta-crls - PKITS Test 4.15 -*- sh -*- 3 | # Copyright (C) 2008 Free Software Foundation, Inc. 4 | # 5 | # This file is part of GnuPG. 6 | # 7 | # GnuPG is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # GnuPG is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, see . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.15 23 | description="Delta-CRLs" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | 29 | 30 | 31 | final_result 32 | -------------------------------------------------------------------------------- /src/tests/pkits/distribution-points: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # distribution-points - PKITS Test 4.14 -*- sh -*- 3 | # Copyright (C) 2008 Free Software Foundation, Inc. 4 | # 5 | # This file is part of GnuPG. 6 | # 7 | # GnuPG is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # GnuPG is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, see . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.14 23 | description="Distribution Points" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | 29 | 30 | 31 | final_result 32 | -------------------------------------------------------------------------------- /src/tests/pkits/inhibit-any-policy: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # inhibit-any-policy - PKITS Test 4.12 -*- sh -*- 3 | # Copyright (C) 2008 Free Software Foundation, Inc. 4 | # 5 | # This file is part of GnuPG. 6 | # 7 | # GnuPG is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # GnuPG is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, see . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.12 23 | description="Inhibit Any Policy" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | 29 | 30 | 31 | final_result 32 | -------------------------------------------------------------------------------- /src/tests/pkits/inhibit-policy-mapping: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # inhibit-policy-mapping - PKITS Test 4.11 -*- sh -*- 3 | # Copyright (C) 2008 Free Software Foundation, Inc. 4 | # 5 | # This file is part of GnuPG. 6 | # 7 | # GnuPG is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # GnuPG is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, see . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.11 23 | description="Inhibit Policy Mapping" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | 29 | 30 | 31 | final_result 32 | -------------------------------------------------------------------------------- /src/tests/pkits/key-usage: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # key-usage - PKITS Test 4.7 -*- sh -*- 3 | # Copyright (C) 2008 Free Software Foundation, Inc. 4 | # 5 | # This file is part of GnuPG. 6 | # 7 | # GnuPG is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # GnuPG is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, see . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.7 23 | description="Key Usage" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | final_result 29 | -------------------------------------------------------------------------------- /src/tests/pkits/name-constraints: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # name-constraints - PKITS Test 4.13 -*- sh -*- 3 | # Copyright (C) 2008 Free Software Foundation, Inc. 4 | # 5 | # This file is part of GnuPG. 6 | # 7 | # GnuPG is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # GnuPG is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, see . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.13 23 | description="Name Constraints" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | 29 | 30 | 31 | final_result 32 | -------------------------------------------------------------------------------- /src/tests/pkits/policy-mappings: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # policy-mappings - PKITS Test 4.10 -*- sh -*- 3 | # Copyright (C) 2008 Free Software Foundation, Inc. 4 | # 5 | # This file is part of GnuPG. 6 | # 7 | # GnuPG is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # GnuPG is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, see . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.10 23 | description="Policy Mappings" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | 29 | 30 | 31 | final_result 32 | -------------------------------------------------------------------------------- /src/tests/pkits/private-certificate-extensions: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # private-certificate-extensions - PKITS Test 4.16 -*- sh -*- 3 | # Copyright (C) 2008 Free Software Foundation, Inc. 4 | # 5 | # This file is part of GnuPG. 6 | # 7 | # GnuPG is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # GnuPG is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, see . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.16 23 | description="Private Certificate Extensions" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | 29 | 30 | 31 | final_result 32 | -------------------------------------------------------------------------------- /src/tests/pkits/require-explicit-policy: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # require-explicit-policy - PKITS Test 4.9 -*- sh -*- 3 | # Copyright (C) 2008 Free Software Foundation, Inc. 4 | # 5 | # This file is part of GnuPG. 6 | # 7 | # GnuPG is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # GnuPG is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, see . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.9 23 | description="Require Explicit Policy" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | 29 | 30 | 31 | final_result 32 | -------------------------------------------------------------------------------- /src/tests/pkits/runtest: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | [ -x "$1" ] && exec $1 $2 3 | exec sh $1 $2 4 | 5 | -------------------------------------------------------------------------------- /src/tests/pkits/verifying-basic-constraints: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # verifying-basic-constraints - PKITS Test 4.6 -*- sh -*- 3 | # Copyright (C) 2008 Free Software Foundation, Inc. 4 | # 5 | # This file is part of GnuPG. 6 | # 7 | # GnuPG is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # GnuPG is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, see . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.6 23 | description="Verifying Basic Constraints" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | 29 | 30 | 31 | final_result 32 | -------------------------------------------------------------------------------- /src/tests/pkits/verifying-name-chaining: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # verifying-name-chaining - PKITS Test 4.3 -*- sh -*- 3 | # Copyright (C) 2008 Free Software Foundation, Inc. 4 | # 5 | # This file is part of GnuPG. 6 | # 7 | # GnuPG is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # GnuPG is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, see . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.3 23 | description="Verifying Name Chaining" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | 29 | 30 | 31 | final_result 32 | -------------------------------------------------------------------------------- /src/tests/pkits/verifying-paths-self-issued: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # verifying-paths-self-issued - PKITS Test 4.5 -*- sh -*- 3 | # Copyright (C) 2008 Free Software Foundation, Inc. 4 | # 5 | # This file is part of GnuPG. 6 | # 7 | # GnuPG is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # GnuPG is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with this program; if not, see . 19 | 20 | . ${srcdir:-.}/common.sh || exit 2 21 | 22 | section=4.5 23 | description="Verifying Paths with Self-Issued Certificates" 24 | info "Running $description tests" 25 | 26 | 27 | 28 | 29 | 30 | 31 | final_result 32 | -------------------------------------------------------------------------------- /src/tests/runtest: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | [ -x "$1" ] && exec $1 $2 3 | exec ./asschk --no-echo -DGPGSM=${GPGSM} <"$1" 4 | 5 | -------------------------------------------------------------------------------- /src/tests/samplekeys/32100C27173EF6E9C4E9A25D3D69F86D37A4F939.key: -------------------------------------------------------------------------------- 1 | (private-key 2 | (oid.1.2.840.113549.1.1.1 3 | (n #00e0ce96f90b6c9e02f3922beada93fe50a875eac6bcc18bb9a9cf2e84965caa2d1ff95a7f542465c6c0c19d276e4526ce048868a7a914fd343cc3a87dd74291ffc565506d5bbb25cbac6a0e2dd1f8bcaab0d4a29c2f37c950f363484bf269f7891440464baf79827e03a36e70b814938eebdc63e964247be75dc58b014b7ea251#) 4 | (e #010001#) 5 | (d #046129F2489D71579BE0A75FE029BD6CDB574EBF57EA8A5B0FDA942CAB943B117D7BB95E5D28875E0F9FC5FCC06A72F6D502464DABDED78EF6B716177B83D5BDC543DC5D3FED932E59F5897E92E6F58A0F33424106A3B6FA2CBF877510E4AC21C3EE47851E97D12996222AC3566D4CCB0B83D164074ABF7DE655FC2446DA1781#) 6 | (p #00e861b700e17e8afe6837e7512e35b6ca11d0ae47d8b85161c67baf64377213fe52d772f2035b3ca830af41d8a4120e1c1c70d12cc22f00d28d31dd48a8d424f1#) 7 | (q #00f7a7ca5367c661f8e62df34f0d05c10c88e5492348dd7bddc942c9a8f369f935a07785d2db805215ed786e4285df1658eed3ce84f469b81b50d358407b4ad361#) 8 | (u #304559a9ead56d2309d203811a641bb1a09626bc8eb36fffa23c968ec5bd891eebbafc73ae666e01ba7c8990bae06cc2bbe10b75e69fcacb353a6473079d8e9b#) 9 | ) 10 | ) 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/tests/samplekeys/cert_g10code_pete1.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIID7jCCA1egAwIBAgIBADANBgkqhkiG9w0BAQQFADCBsTELMAkGA1UEBhMCREUx 3 | DDAKBgNVBAgTA05SVzETMBEGA1UEBxQKRPxzc2VsZG9yZjEWMBQGA1UEChMNZzEw 4 | IENvZGUgR21iSDEbMBkGA1UECxMSS2VyY2tob2ZmcyBUZXN0bGFiMRYwFAYDVQQD 5 | Ew1QZXRlciBQYW50aGVyMTIwMAYJKoZIhvcNAQkBFiNwZXRlci5wYW50aGVyQGtl 6 | cmNraG9mZnMuZzEwY29kZS5kZTAeFw0wMjA0MTIxNjU4MzFaFw0wMzA0MTIxNjU4 7 | MzFaMIGxMQswCQYDVQQGEwJERTEMMAoGA1UECBMDTlJXMRMwEQYDVQQHFApE/HNz 8 | ZWxkb3JmMRYwFAYDVQQKEw1nMTAgQ29kZSBHbWJIMRswGQYDVQQLExJLZXJja2hv 9 | ZmZzIFRlc3RsYWIxFjAUBgNVBAMTDVBldGVyIFBhbnRoZXIxMjAwBgkqhkiG9w0B 10 | CQEWI3BldGVyLnBhbnRoZXJAa2VyY2tob2Zmcy5nMTBjb2RlLmRlMIGfMA0GCSqG 11 | SIb3DQEBAQUAA4GNADCBiQKBgQC/UYKEu+IZgvoUwbBaKT96SDsgnsOLkC7TWuP+ 12 | td9qyjF+tQCSUdTqRDYyP44hLH24v4h9KsVxwl5iuncJCdNmpTHL4ika+3v7arGU 13 | DmGEHZOC3mHMzD+/dfqotse7C37AEMWSXguh4x2vmSESG9wnAxCgLl78j+RIuKUE 14 | RVK55wIDAQABo4IBEjCCAQ4wHQYDVR0OBBYEFDhJ93SfqHOecsryvYN01++o7qh/ 15 | MIHeBgNVHSMEgdYwgdOAFDhJ93SfqHOecsryvYN01++o7qh/oYG3pIG0MIGxMQsw 16 | CQYDVQQGEwJERTEMMAoGA1UECBMDTlJXMRMwEQYDVQQHFApE/HNzZWxkb3JmMRYw 17 | FAYDVQQKEw1nMTAgQ29kZSBHbWJIMRswGQYDVQQLExJLZXJja2hvZmZzIFRlc3Rs 18 | YWIxFjAUBgNVBAMTDVBldGVyIFBhbnRoZXIxMjAwBgkqhkiG9w0BCQEWI3BldGVy 19 | LnBhbnRoZXJAa2VyY2tob2Zmcy5nMTBjb2RlLmRlggEAMAwGA1UdEwQFMAMBAf8w 20 | DQYJKoZIhvcNAQEEBQADgYEADoBAUnaZIjp+T60s1at/tLa03TfYT8DdTQz+p/UF 21 | MFGPz9CTqsoN7NLFoXyq+RN9FipsGEKLMif7e/buRqlcir+ntxqQFdy6EYfxfu4n 22 | Dys8JxnhjcEqXSz+uPUE8jiGho5Tkveo+hurDKZ54CVTeJtvKrWpA6YkuhmL/zRz 23 | T7Y= 24 | -----END CERTIFICATE----- 25 | -------------------------------------------------------------------------------- /src/tests/samplekeys/cert_g10code_test1.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIDFTCCAn6gAwIBAgIBADANBgkqhkiG9w0BAQQFADBrMQswCQYDVQQGEwJERTET 3 | MBEGA1UEBxQKRPxzc2VsZG9yZjEWMBQGA1UEChMNZzEwIENvZGUgR21iSDEZMBcG 4 | A1UECxMQQWVneXB0ZW4gUHJvamVjdDEUMBIGA1UEAxMLdGVzdCBjZXJ0IDEwHhcN 5 | MDExMjAzMDkzNjM4WhcNMDIxMjAzMDkzNjM4WjBrMQswCQYDVQQGEwJERTETMBEG 6 | A1UEBxQKRPxzc2VsZG9yZjEWMBQGA1UEChMNZzEwIENvZGUgR21iSDEZMBcGA1UE 7 | CxMQQWVneXB0ZW4gUHJvamVjdDEUMBIGA1UEAxMLdGVzdCBjZXJ0IDEwgZ8wDQYJ 8 | KoZIhvcNAQEBBQADgY0AMIGJAoGBAODOlvkLbJ4C85Ir6tqT/lCoderGvMGLuanP 9 | LoSWXKotH/laf1QkZcbAwZ0nbkUmzgSIaKepFP00PMOofddCkf/FZVBtW7sly6xq 10 | Di3R+LyqsNSinC83yVDzY0hL8mn3iRRARkuveYJ+A6NucLgUk47r3GPpZCR7513F 11 | iwFLfqJRAgMBAAGjgcgwgcUwHQYDVR0OBBYEFDM3jRKRwFRxgzhfCGW/qUv5jjTz 12 | MIGVBgNVHSMEgY0wgYqAFDM3jRKRwFRxgzhfCGW/qUv5jjTzoW+kbTBrMQswCQYD 13 | VQQGEwJERTETMBEGA1UEBxQKRPxzc2VsZG9yZjEWMBQGA1UEChMNZzEwIENvZGUg 14 | R21iSDEZMBcGA1UECxMQQWVneXB0ZW4gUHJvamVjdDEUMBIGA1UEAxMLdGVzdCBj 15 | ZXJ0IDGCAQAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQQFAAOBgQBshwQeijio 16 | 2hsXZxZEIFoNldDpdxcbWUws5utNJ7hqxQr74fn2cL9rH7AycNWtZnyCTAk7Uqwc 17 | bH3z6CNoJH6U/k//ITk7w8PtM6nw6JhlXLD+C65Bifip6id2JtRQwl4kJ/tPpx+/ 18 | 42Muki3yVFN+BEGFPpI6hdJmh1Hz81k8GQ== 19 | -----END CERTIFICATE----- 20 | -------------------------------------------------------------------------------- /src/tests/sm-sign+verify: -------------------------------------------------------------------------------- 1 | # sm-sign+verify 2 | # 3 | # Creating a signature and verifying it 4 | # Requirements: a plain file "text-1.txt" 5 | 6 | srcdir = getenv srcdir 7 | plaintext = let $srcdir/text-1.txt 8 | 9 | in = openfile $plaintext 10 | out = createfile msg.sig 11 | in2 = openfile msg.sig 12 | out2 = createfile msg.unsig 13 | 14 | pipeserver $GPGSM 15 | send INPUT FD=$in 16 | expect-ok 17 | send OUTPUT FD=$out 18 | expect-ok 19 | send SIGN 20 | expect-ok 21 | 22 | send RESET 23 | expect-ok 24 | send INPUT FD=$in2 25 | expect-ok 26 | send OUTPUT FD=$out2 27 | expect-ok 28 | goodsig = count-status GOODSIG 29 | trusted = count-status TRUST_FULLY 30 | send VERIFY 31 | expect-ok 32 | echo goodsig=$goodsig trusted=$trusted 33 | fail-if !$goodsig 34 | fail-if !$trusted 35 | send BYE 36 | expect-ok 37 | 38 | # Unset variables so that the files get closed. 39 | in = 40 | out = 41 | in2 = 42 | out2= 43 | 44 | cmpfiles $plaintext msg.unsig 45 | fail-if !$? 46 | 47 | # Lets check it again with a new server instance, this time we keep 48 | # the server running to check whether the entire message has been 49 | # output after the VERIFY. 50 | in = openfile msg.sig 51 | out = createfile msg.unsig 52 | pipeserver $GPGSM 53 | send INPUT FD=$in 54 | expect-ok 55 | send OUTPUT FD=$out 56 | expect-ok 57 | goodsig = count-status GOODSIG 58 | trusted = count-status TRUST_FULLY 59 | send VERIFY 60 | expect-ok 61 | echo goodsig=$goodsig trusted=$trusted 62 | fail-if !$goodsig 63 | fail-if !$trusted 64 | 65 | cmpfiles $plaintext msg.unsig 66 | fail-if !$? 67 | 68 | send BYE 69 | expect-ok 70 | 71 | 72 | quit 73 | 74 | -------------------------------------------------------------------------------- /src/tests/text-1.txt: -------------------------------------------------------------------------------- 1 | High Priest: Armaments Chapter One, verses nine through twenty-seven: 2 | Bro. Maynard: And Saint Attila raised the Holy Hand Grenade up on high 3 | saying, "Oh Lord, Bless us this Holy Hand Grenade, and with it 4 | smash our enemies to tiny bits." And the Lord did grin, and the 5 | people did feast upon the lambs, and stoats, and orangutans, and 6 | breakfast cereals, and lima bean- 7 | High Priest: Skip a bit, brother. 8 | Bro. Maynard: And then the Lord spake, saying: "First, shalt thou take 9 | out the holy pin. Then shalt thou count to three. No more, no less. 10 | *Three* shall be the number of the counting, and the number of the 11 | counting shall be three. *Four* shalt thou not count, and neither 12 | count thou two, excepting that thou then goest on to three. Five is 13 | RIGHT OUT. Once the number three, being the third number be reached, 14 | then lobbest thou thy Holy Hand Grenade towards thy foe, who, being 15 | naughty in my sight, shall snuff it. Amen. 16 | All: Amen. 17 | -- Monty Python, "The Holy Hand Grenade" 18 | -------------------------------------------------------------------------------- /src/tests/text-2.txt: -------------------------------------------------------------------------------- 1 | Military intelligence is a contradiction in terms. 2 | -- Groucho Marx 3 | -------------------------------------------------------------------------------- /src/tests/text-3.txt: -------------------------------------------------------------------------------- 1 | Military justice is to justice what military music is to music. 2 | -- Groucho Marx 3 | -------------------------------------------------------------------------------- /src/tools/.deps/clean-sat.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/gpg-connect-agent.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/gpg_check_pattern-gpg-check-pattern.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/gpgconf-comp.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/gpgconf.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/gpgkey2ssh-gpgkey2ssh.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/gpgparsemail.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/gpgsplit.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/gpgtar-gpgtar-create.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/gpgtar-gpgtar-extract.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/gpgtar-gpgtar-list.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/gpgtar-gpgtar.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/gpgtar-no-libgcrypt.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/make-dns-cert.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/mk-tdata.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/no-libgcrypt.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/rfc822parse.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/symcryptrun.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/.deps/watchgnupg.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /src/tools/Manifest: -------------------------------------------------------------------------------- 1 | Makefile.am 2 | watchgnupg.c 3 | gpgconf.c 4 | gpgconf.h 5 | gpgconf-list.c 6 | $names$ 7 | -------------------------------------------------------------------------------- /src/tools/clean-sat.c: -------------------------------------------------------------------------------- 1 | /* clean-sat.c 2 | * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. 3 | * 4 | * This file is free software; as a special exception the author gives 5 | * unlimited permission to copy and/or distribute it, with or without 6 | * modifications, as long as this notice is preserved. 7 | * 8 | * This program is distributed in the hope that it will be useful, but 9 | * WITHOUT ANY WARRANTY, to the extent permitted by law; without even the 10 | * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | #include 14 | 15 | int 16 | main(int argc, char **argv) 17 | { 18 | int c; 19 | 20 | (void)argv; 21 | 22 | if( argc > 1 ) { 23 | fprintf(stderr, "no arguments, please\n"); 24 | return 1; 25 | } 26 | 27 | while( (c=getchar()) == '\n' ) 28 | ; 29 | while( c != EOF ) { 30 | putchar(c); 31 | c = getchar(); 32 | } 33 | 34 | return 0; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /src/tools/lspgpot: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # lspgpot - script to extract the ownertrust values 3 | # from PGP keyrings and list them in GnuPG ownertrust format. 4 | # 5 | # This file is free software; as a special exception the author gives 6 | # unlimited permission to copy and/or distribute it, with or without 7 | # modifications, as long as this notice is preserved. 8 | # 9 | # This program is distributed in the hope that it will be useful, but 10 | # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the 11 | # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | 13 | if ! gpg --version > /dev/null 2>&1 ; then 14 | echo "GnuPG not available!" 15 | exit 1 16 | fi 17 | 18 | gpg --dry-run --with-fingerprint --with-colons $* | awk ' 19 | BEGIN { FS=":" 20 | printf "# Ownertrust listing generated by lspgpot\n" 21 | printf "# This can be imported using the command:\n" 22 | printf "# gpg --import-ownertrust\n\n" } 23 | $1 == "fpr" { fpr = $10 } 24 | $1 == "rtv" && $2 == 1 && $3 == 2 { printf "%s:3:\n", fpr; next } 25 | $1 == "rtv" && $2 == 1 && $3 == 5 { printf "%s:4:\n", fpr; next } 26 | $1 == "rtv" && $2 == 1 && $3 == 6 { printf "%s:5:\n", fpr; next } 27 | ' 28 | --------------------------------------------------------------------------------