=>> Building security/pgpin build started at Mon Sep 29 09:35:15 EDT 2025 port directory: /usr/ports/security/pgpin package name: pgpin-010323_1 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: dinoex@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1288 Aug 27 2024 /usr/ports/security/pgpin/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: 7afabdcdfd9e Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 07 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/07/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for pgpin-010323_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- dinoex@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/pgpin/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pgpin/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/pgpin/work/.cache HOME=/wrkdirs/usr/ports/security/pgpin/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/pgpin/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/pgpin/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/pgpin/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pgpin/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/pgpin/work/.cache HOME=/wrkdirs/usr/ports/security/pgpin/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/pgpin/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/pgpin/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pgpin" EXAMPLESDIR="share/examples/pgpin" DATADIR="share/pgpin" WWWDIR="www/pgpin" ETCDIR="etc/pgpin" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pgpin DOCSDIR=/usr/local/share/doc/pgpin EXAMPLESDIR=/usr/local/share/examples/pgpin WWWDIR=/usr/local/www/pgpin ETCDIR=/usr/local/etc/pgpin --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pgpin-010323_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.1: .......... done ===> pgpin-010323_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pgpin-010323_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by pgpin-010323_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by pgpin-010323_1 for building => SHA256 Checksum OK for pgp263in010323.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by pgpin-010323_1 for building ===> Extracting for pgpin-010323_1 => SHA256 Checksum OK for pgp263in010323.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for pgpin-010323_1 ===> Applying FreeBSD patches for pgpin-010323_1 from /usr/ports/security/pgpin/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pgpin-010323_1 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> pgpin-010323_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of pgpin-010323_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for pgpin-010323_1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for pgpin-010323_1 --- freebsd-amd64 --- make -j 5 all LD="cc -s" CFLAGS=" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255" --- pgp.o --- --- crypto.o --- --- keymgmt.o --- --- fileio.o --- --- mdfile.o --- --- pgp.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c pgp.c -o pgp.o --- crypto.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c crypto.c -o crypto.o --- keymgmt.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c keymgmt.c -o keymgmt.o --- fileio.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c fileio.c -o fileio.o --- mdfile.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c mdfile.c -o mdfile.o --- more.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c more.c -o more.o --- fileio.o --- fileio.c:642:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 642 | fprintf(pgpout, LANG("\nDisk full.\n")); | ^~~~~~~~~~~~~~~~~~~~~~ fileio.c:642:22: note: treat the string as an argument to avoid this 642 | fprintf(pgpout, LANG("\nDisk full.\n")); | ^ | "%s", fileio.c:645:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 645 | fprintf(pgpout, LANG("\nFile write error.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:645:22: note: treat the string as an argument to avoid this 645 | fprintf(pgpout, LANG("\nFile write error.\n")); | ^ | "%s", fileio.c:1002:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1002 | fprintf(pgpout, LANG("\007Write error on stdout.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:1002:18: note: treat the string as an argument to avoid this 1002 | fprintf(pgpout, LANG("\007Write error on stdout.\n")); | ^ | "%s", fileio.c:1065:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1065 | fprintf(stderr, LANG("\n\007Out of memory.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:1065:18: note: treat the string as an argument to avoid this 1065 | fprintf(stderr, LANG("\n\007Out of memory.\n")); | ^ | "%s", fileio.c:1330:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1330 | fprintf(pgpout, LANG("Enter new file name:")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:1330:22: note: treat the string as an argument to avoid this 1330 | fprintf(pgpout, LANG("Enter new file name:")); | ^ | "%s", 5 warnings generated. --- pgp.o --- pgp.c:1:25: warning: '/*' within block comment [-Wcomment] 1 | /* #define TEMP_VERSION /* if defined, temporary experimental | ^ pgp.c:371:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 371 | fprintf(pgpout, LANG("\nStopped at user request\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:371:18: note: treat the string as an argument to avoid this 371 | fprintf(pgpout, LANG("\nStopped at user request\n")); | ^ | "%s", pgp.c:775:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 775 | fprintf(pgpout, LANG("\007No configuration file found.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:775:18: note: treat the string as an argument to avoid this 775 | fprintf(pgpout, LANG("\007No configuration file found.\n")); --- armor.o --- --- pgp.o --- | ^ | "%s", pgp.c:798:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 798 | fprintf(stderr, LANG("\n\007Out of memory.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:798:18: note: treat the string as an argument to avoid this 798 | fprintf(stderr, LANG("\n\007Out of memory.\n")); | ^ | "%s", pgp.c:812:20: warning: call to undeclared function 'pgp_getopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 812 | ((opt = pgp_getopt(argc, argv, OPTIONS)) == EOF)) { | ^ pgp.c:1015:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1015 | LANG("\nFor details on licensing and distribution, see the PGP User's Guide.\ --- keymgmt.o --- keymgmt.c:803:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 803 | LANG("\n\007Sorry, this key has been revoked by its owner.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:803:7: note: treat the string as an argument to avoid this 803 | LANG("\n\007Sorry, this key has been revoked by its owner.\n")); | ^ | "%s", keymgmt.c:866:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 866 | fprintf(pgpout, LANG("Enter secret key filename: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:866:18: note: treat the string as an argument to avoid this 866 | fprintf(pgpout, LANG("Enter secret key filename: ")); | ^ | "%s", --- pgp.o --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1016 | \nFor other cryptography products and custom development services, contact:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1017 | \nPhilip Zimmermann, 3021 11th St, Boulder CO 80304 USA, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1018 | phone +1 303 541-0140\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1015:1: note: treat the string as an argument to avoid this 1015 | LANG("\nFor details on licensing and distribution, see the PGP User's Guide.\ | ^ | "%s", pgp.c:1020:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1020 | fprintf(pgpout, p); | ^ pgp.c:1020:19: note: treat the string as an argument to avoid this 1020 | fprintf(pgpout, p); | ^ --- keymgmt.o --- keymgmt.c:868:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 868 | fprintf(pgpout, LANG("Enter public key filename: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:868:18: note: treat the string as an argument to avoid this 868 | fprintf(pgpout, LANG("Enter public key filename: ")); | ^ | "%s", keymgmt.c:1097:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1097 | fprintf(pgpout, LANG("\n\007Error: Bad pass phrase.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1097:18: note: treat the string as an argument to avoid this 1097 | fprintf(pgpout, LANG("\n\007Error: Bad pass phrase.\n")); | ^ | "%s", --- pgp.o --- | "%s", pgp.c:1021:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1021 | fprintf(pgpout, LANG("\nFor a usage summary, type: pgp -h\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1021:22: note: treat the string as an argument to avoid this 1021 | fprintf(pgpout, LANG("\nFor a usage summary, type: pgp -h\n")); | ^ | "%s", pgp.c:1155:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1155 | LANG("\nIs it safe to assume that it was created by PGP (y/N)? ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1155:1: note: treat the string as an argument to avoid this 1155 | LANG("\nIs it safe to assume that it was created by PGP (y/N)? ")); | ^ | "%s", --- keymgmt.o --- keymgmt.c:1103:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1103 | LANG("\nYou need a pass phrase to unlock your RSA secret key. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1103:6: note: treat the string as an argument to avoid this 1103 | LANG("\nYou need a pass phrase to unlock your RSA secret key. ")); | ^ | "%s", keymgmt.c:1176:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1176 | fprintf(pgpout, LANG("\n\007Error: Bad pass phrase.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1176:18: note: treat the string as an argument to avoid this 1176 | fprintf(pgpout, LANG("\n\007Error: Bad pass phrase.\n")); | ^ | "%s", --- pgp.o --- pgp.c:1189:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1189 | LANG("\n\007Error: Only text files may be sent as display-only.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1189:1: note: treat the string as an argument to avoid this 1189 | LANG("\n\007Error: Only text files may be sent as display-only.\n")); | ^ | "%s", pgp.c:1226:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1226 | LANG("\nA secret key is required to make a signature. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1226:1: note: treat the string as an argument to avoid this 1226 | LANG("\nA secret key is required to make a signature. ")); | ^ | "%s", pgp.c:1229:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1229 | LANG("\nYou specified no user ID to select your secret key,\n\ --- keymgmt.o --- keymgmt.c:1203:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1203 | LANG("\nAdvisory warning: This RSA secret key is not protected by a \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1204 | passphrase.\n")); | ~~~~~~~~~~~~~~~ keymgmt.c:1203:1: note: treat the string as an argument to avoid this 1203 | LANG("\nAdvisory warning: This RSA secret key is not protected by a \ | ^ | "%s", keymgmt.c:1206:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1206 | fprintf(pgpout, LANG("Pass phrase is good. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1206:19: note: treat the string as an argument to avoid this 1206 | fprintf(pgpout, LANG("Pass phrase is good. ")); | ^ | "%s", --- pgp.o --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1230 | so the default user ID and key will be the most recently\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1231 | added key on your secret keyring.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1229:1: note: treat the string as an argument to avoid this 1229 | LANG("\nYou specified no user ID to select your secret key,\n\ | ^ | "%s", pgp.c:1262:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1262 | fprintf(pgpout, LANG("\007Signature error\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1262:22: note: treat the string as an argument to avoid this 1262 | fprintf(pgpout, LANG("\007Signature error\n")); | ^ | "%s", pgp.c:1288:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- keymgmt.o --- keymgmt.c:1405:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1405 | fprintf(pgpout, LANG("1 matching key found.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1405:18: note: treat the string as an argument to avoid this 1405 | fprintf(pgpout, LANG("1 matching key found.\n")); | ^ | "%s", keymgmt.c:1486:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1486 | fprintf(pgpout, LANG("\nChecking signatures...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1486:18: note: treat the string as an argument to avoid this 1486 | fprintf(pgpout, LANG("\nChecking signatures...\n")); | ^ | "%s", --- pgp.o --- 1288 | LANG("\n\nRecipients' public key(s) will be used to encrypt. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1288:1: note: treat the string as an argument to avoid this 1288 | LANG("\n\nRecipients' public key(s) will be used to encrypt. ")); | ^ | "%s", pgp.c:1293:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1293 | LANG("\nA user ID is required to select the recipient's public key. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1293:1: note: treat the string as an argument to avoid this 1293 | LANG("\nA user ID is required to select the recipient's public key. ")); | ^ | "%s", pgp.c:1294:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1294 | fprintf(pgpout, LANG("\nEnter the recipient's user ID: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- keymgmt.o --- keymgmt.c:1579:28: warning: call to undeclared function 'read_options'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1579 | validity_status = read_options(keyuserid, NULL, &tstamp, &validity); | ^ keymgmt.c:1584:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1584 | fprintf(pgpout, LANG("pub")); | ^~~~~~~~~~~ keymgmt.c:1584:23: note: treat the string as an argument to avoid this 1584 | fprintf(pgpout, LANG("pub")); | ^ | "%s", keymgmt.c:1586:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1586 | fprintf(pgpout, LANG("sec")); | ^~~~~~~~~~~ --- pgp.o --- pgp.c:1294:19: note: treat the string as an argument to avoid this 1294 | fprintf(pgpout, LANG("\nEnter the recipient's user ID: ")); | ^ | "%s", pgp.c:1301:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1301 | fprintf(stderr, LANG("\n\007Out of memory.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1301:23: note: treat the string as an argument to avoid this 1301 | fprintf(stderr, LANG("\n\007Out of memory.\n")); | ^ | "%s", pgp.c:1324:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1324 | fprintf(pgpout, LANG("\007Encryption error\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- keymgmt.o --- keymgmt.c:1586:23: note: treat the string as an argument to avoid this 1586 | fprintf(pgpout, LANG("sec")); | ^ | "%s", keymgmt.c:1601:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1601 | fprintf(pgpout, LANG("*** KEY REVOKED ***\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1601:22: note: treat the string as an argument to avoid this 1601 | fprintf(pgpout, LANG("*** KEY REVOKED ***\n")); | ^ | "%s", keymgmt.c:1617:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1617 | fprintf(pgpout, LANG(" no expire ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pgp.o --- pgp.c:1324:22: note: treat the string as an argument to avoid this 1324 | fprintf(pgpout, LANG("\007Encryption error\n")); | ^ | "%s", pgp.c:1673:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1673 | LANG("\nFile is encrypted. Secret key is required to read it. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1673:1: note: treat the string as an argument to avoid this 1673 | LANG("\nFile is encrypted. Secret key is required to read it. ")); | ^ | "%s", pgp.c:1693:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1693 | LANG("\nThis file has a signature, which will be left in place.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1693:1: note: treat the string as an argument to avoid this --- keymgmt.o --- keymgmt.c:1617:23: note: treat the string as an argument to avoid this 1617 | fprintf(pgpout, LANG(" no expire ")); | ^ | "%s", keymgmt.c:1619:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1619 | case 1 : fprintf(pgpout,LANG("ENCRyption only\n")); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1619:30: note: treat the string as an argument to avoid this 1619 | case 1 : fprintf(pgpout,LANG("ENCRyption only\n")); break; | ^ | "%s", keymgmt.c:1620:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1620 | case 2 : fprintf(pgpout,LANG("SIGNature only\n")); break; --- pgp.o --- 1693 | LANG("\nThis file has a signature, which will be left in place.\n")); | ^ | "%s", pgp.c:1699:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1699 | LANG("\nFile has signature. Public key is required to check signature.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1699:1: note: treat the string as an argument to avoid this 1699 | LANG("\nFile has signature. Public key is required to check signature.\n")); | ^ | "%s", pgp.c:1721:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1721 | fprintf(pgpout, LANG("\nFile is conventionally encrypted. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1721:19: note: treat the string as an argument to avoid this 1721 | fprintf(pgpout, LANG("\nFile is conventionally encrypted. ")); --- keymgmt.o --- | ^~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1620:30: note: treat the string as an argument to avoid this 1620 | case 2 : fprintf(pgpout,LANG("SIGNature only\n")); break; | ^ | "%s", keymgmt.c:1665:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1665 | fprintf(pgpout, LANG("com")); | ^~~~~~~~~~~ keymgmt.c:1665:22: note: treat the string as an argument to avoid this 1665 | fprintf(pgpout, LANG("com")); | ^ | "%s", keymgmt.c:1667:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1667 | fprintf(pgpout, LANG("rev")); | ^~~~~~~~~~~ --- pgp.o --- | ^ | "%s", pgp.c:1768:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1768 | LANG("\nFile contains key(s). Contents follow...")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1768:1: note: treat the string as an argument to avoid this 1768 | LANG("\nFile contains key(s). Contents follow...")); | ^ | "%s", pgp.c:1789:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1789 | fprintf(pgpout, LANG("\007Keyring add error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1789:19: note: treat the string as an argument to avoid this 1789 | fprintf(pgpout, LANG("\007Keyring add error. ")); | ^ | "%s", --- keymgmt.o --- keymgmt.c:1667:22: note: treat the string as an argument to avoid this 1667 | fprintf(pgpout, LANG("rev")); | ^ | "%s", keymgmt.c:1669:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1669 | fprintf(pgpout, LANG("sig")); | ^~~~~~~~~~~ keymgmt.c:1669:22: note: treat the string as an argument to avoid this 1669 | fprintf(pgpout, LANG("sig")); | ^ | "%s", keymgmt.c:1752:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1752 | fprintf(pgpout, LANG("(Unknown signator, can't be checked)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1752:22: note: treat the string as an argument to avoid this --- pgp.o --- pgp.c:1831:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1831 | LANG("\n\nThis message is marked \"For your eyes only\". Display now \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1832 | (Y/n)? ")); | ~~~~~~~~~ pgp.c:1831:1: note: treat the string as an argument to avoid this 1831 | LANG("\n\nThis message is marked \"For your eyes only\". Display now \ | ^ | "%s", pgp.c:1845:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1845 | fprintf(pgpout, LANG("\n\nPlaintext message follows...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1845:22: note: treat the string as an argument to avoid this 1845 | fprintf(pgpout, LANG("\n\nPlaintext message follows...\n")); | ^ | "%s", --- keymgmt.o --- 1752 | fprintf(pgpout, LANG("(Unknown signator, can't be checked)")); | ^ | "%s", keymgmt.c:1754:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1754 | fprintf(pgpout, LANG("(Key too long, can't be checked)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1754:22: note: treat the string as an argument to avoid this 1754 | fprintf(pgpout, LANG("(Key too long, can't be checked)")); | ^ | "%s", keymgmt.c:1756:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1756 | fprintf(pgpout, LANG("(Malformed or obsolete signature format)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1756:22: note: treat the string as an argument to avoid this --- pgp.o --- pgp.c:1854:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1854 | fprintf(pgpout, LANG("Save this file permanently (y/N)? ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1854:22: note: treat the string as an argument to avoid this 1854 | fprintf(pgpout, LANG("Save this file permanently (y/N)? ")); | ^ | "%s", pgp.c:1857:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1857 | fprintf(pgpout, LANG("Enter filename to save file as: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:1857:19: note: treat the string as an argument to avoid this 1857 | fprintf(pgpout, LANG("Enter filename to save file as: ")); | ^ | "%s", --- keymgmt.o --- 1756 | fprintf(pgpout, LANG("(Malformed or obsolete signature format)")); | ^ | "%s", keymgmt.c:1758:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1758 | fprintf(pgpout, LANG("(Unknown public-key algorithm)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1758:22: note: treat the string as an argument to avoid this 1758 | fprintf(pgpout, LANG("(Unknown public-key algorithm)")); | ^ | "%s", keymgmt.c:1760:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1760 | fprintf(pgpout, LANG("(Unknown hash algorithm)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1760:22: note: treat the string as an argument to avoid this --- pgp.o --- pgp.c:2092:34: warning: format specifies type 'long *' but the argument has type 'word32 *' (aka 'unsigned int *') [-Wformat] 2092 | sscanf(myArgv[4], "%li", &factor1); | ~~~ ^~~~~~~~ | %i pgp.c:2098:47: warning: format specifies type 'long *' but the argument has type 'word32 *' (aka 'unsigned int *') [-Wformat] 2098 | if (myArgc > 5) sscanf(myArgv[5], "%li", &factor2); | ~~~ ^~~~~~~~ | %i pgp.c:2099:47: warning: format specifies type 'long *' but the argument has type 'word32 *' (aka 'unsigned int *') [-Wformat] 2099 | if (myArgc > 6) sscanf(myArgv[6], "%li", &mask1); | ~~~ ^~~~~~ | %i --- keymgmt.o --- 1760 | fprintf(pgpout, LANG("(Unknown hash algorithm)")); | ^ | "%s", keymgmt.c:1762:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1762 | fprintf(pgpout, LANG("(Unknown signature packet version)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1762:22: note: treat the string as an argument to avoid this 1762 | fprintf(pgpout, LANG("(Unknown signature packet version)")); | ^ | "%s", keymgmt.c:1764:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1764 | fprintf(pgpout, LANG("(Malformed signature)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1764:22: note: treat the string as an argument to avoid this --- pgp.o --- pgp.c:2100:47: warning: format specifies type 'long *' but the argument has type 'word32 *' (aka 'unsigned int *') [-Wformat] 2100 | if (myArgc > 7) sscanf(myArgv[7], "%li", &mask2); | ~~~ ^~~~~~ | %i pgp.c:2103:20: warning: comparison of array 'my_name' not equal to a null pointer is always true [-Wtautological-pointer-compare] 2103 | if (u_flag && my_name != NULL && *my_name != '\0') | ^~~~~~~ ~~~~ pgp.c:2110:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2110 | fprintf(pgpout, LANG("\007Keygen error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2110:19: note: treat the string as an argument to avoid this 2110 | fprintf(pgpout, LANG("\007Keygen error. ")); | ^ --- keymgmt.o --- 1764 | fprintf(pgpout, LANG("(Malformed signature)")); | ^ | "%s", keymgmt.c:1766:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1766 | fprintf(pgpout, LANG("(Corrupted signature packet)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1766:22: note: treat the string as an argument to avoid this 1766 | fprintf(pgpout, LANG("(Corrupted signature packet)")); | ^ | "%s", keymgmt.c:1768:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1768 | fprintf(pgpout, LANG("\007**** BAD SIGNATURE! ****")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1768:22: note: treat the string as an argument to avoid this --- pgp.o --- | "%s", pgp.c:2152:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2152 | fprintf(pgpout, LANG("\007Keyring check error.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2152:19: note: treat the string as an argument to avoid this 2152 | fprintf(pgpout, LANG("\007Keyring check error.\n")); | ^ | "%s", pgp.c:2160:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2160 | fprintf(pgpout, LANG("\007Maintenance pass error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2160:19: note: treat the string as an argument to avoid this 2160 | fprintf(pgpout, LANG("\007Maintenance pass error. ")); | ^ --- keymgmt.o --- 1768 | fprintf(pgpout, LANG("\007**** BAD SIGNATURE! ****")); | ^ | "%s", keymgmt.c:1770:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1770 | fprintf(pgpout, LANG("\007**** Signed with an invalid key ****")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1770:22: note: treat the string as an argument to avoid this 1770 | fprintf(pgpout, LANG("\007**** Signed with an invalid key ****")); | ^ | "%s", keymgmt.c:1772:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1772 | fprintf(pgpout, LANG("\007**** Signed with an ENCRyption only key ****")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pgp.o --- | "%s", pgp.c:2199:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2199 | fprintf(pgpout, LANG("\007Maintenance pass error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2199:19: note: treat the string as an argument to avoid this 2199 | fprintf(pgpout, LANG("\007Maintenance pass error. ")); | ^ | "%s", pgp.c:2223:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2223 | LANG("\nA user ID is required to select the public key you want to sign. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2223:1: note: treat the string as an argument to avoid this 2223 | LANG("\nA user ID is required to select the public key you want to sign. ")); | ^ | "%s", --- keymgmt.o --- keymgmt.c:1772:22: note: treat the string as an argument to avoid this 1772 | fprintf(pgpout, LANG("\007**** Signed with an ENCRyption only key ****")); | ^ | "%s", keymgmt.c:1774:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1774 | fprintf(pgpout, LANG("\007**** Signed with a revoked key ****")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1774:22: note: treat the string as an argument to avoid this 1774 | fprintf(pgpout, LANG("\007**** Signed with a revoked key ****")); | ^ | "%s", keymgmt.c:1823:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1823 | fprintf(pgpout, LANG("Remove bad signatures (Y/n)? ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pgp.o --- pgp.c:2227:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2227 | fprintf(pgpout, LANG("\nEnter the public key's user ID: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2227:19: note: treat the string as an argument to avoid this 2227 | fprintf(pgpout, LANG("\nEnter the public key's user ID: ")); | ^ | "%s", pgp.c:2237:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2237 | LANG("\nA secret key is required to make a signature. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2237:1: note: treat the string as an argument to avoid this 2237 | LANG("\nA secret key is required to make a signature. ")); | ^ | "%s", pgp.c:2239:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- keymgmt.o --- keymgmt.c:1823:22: note: treat the string as an argument to avoid this 1823 | fprintf(pgpout, LANG("Remove bad signatures (Y/n)? ")); | ^ | "%s", keymgmt.c:1922:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1922 | fprintf(pgpout, LANG("\nKey has no signatures to remove.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1922:18: note: treat the string as an argument to avoid this 1922 | fprintf(pgpout, LANG("\nKey has no signatures to remove.\n")); | ^ | "%s", keymgmt.c:1948:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1948 | fprintf(pgpout, sigtype != KR_SIGNATURE_BYTE ? LANG("sig") : LANG("rev")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pgp.o --- 2239 | LANG("\nYou specified no user ID to select your secret key,\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2240 | so the default user ID and key will be the most recently\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2241 | added key on your secret keyring.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2239:1: note: treat the string as an argument to avoid this 2239 | LANG("\nYou specified no user ID to select your secret key,\n\ | ^ | "%s", pgp.c:2255:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2255 | fprintf(pgpout, LANG("\007Maintenance pass error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2255:23: note: treat the string as an argument to avoid this 2255 | fprintf(pgpout, LANG("\007Maintenance pass error. ")); | ^ --- keymgmt.o --- keymgmt.c:1948:23: note: treat the string as an argument to avoid this 1948 | fprintf(pgpout, sigtype != KR_SIGNATURE_BYTE ? LANG("sig") : LANG("rev")); | ^ | "%s", keymgmt.c:1962:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1962 | LANG("(Unknown signator, can't be checked)\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1962:4: note: treat the string as an argument to avoid this 1962 | LANG("(Unknown signator, can't be checked)\n")); | ^ | "%s", keymgmt.c:1964:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1964 | fprintf(pgpout, LANG("Remove this signature (y/N)? ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pgp.o --- | "%s", pgp.c:2258:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2258 | fprintf(pgpout, LANG("\007Key signature error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2258:19: note: treat the string as an argument to avoid this 2258 | fprintf(pgpout, LANG("\007Key signature error. ")); | ^ | "%s", pgp.c:2283:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2283 | LANG("\nA user ID is required to select the key you want to revoke or \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2284 | disable. ")); | ~~~~~~~~~~~ pgp.c:2283:1: note: treat the string as an argument to avoid this 2283 | LANG("\nA user ID is required to select the key you want to revoke or \ | ^ | "%s", --- keymgmt.o --- keymgmt.c:1964:22: note: treat the string as an argument to avoid this 1964 | fprintf(pgpout, LANG("Remove this signature (y/N)? ")); | ^ | "%s", keymgmt.c:1981:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1981 | fprintf(pgpout, LANG("\nNo key signatures removed.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:1981:18: note: treat the string as an argument to avoid this 1981 | fprintf(pgpout, LANG("\nNo key signatures removed.\n")); | ^ | "%s", keymgmt.c:2059:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2059 | fprintf(pgpout, LANG("\nKey has more than one user ID.\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2060 | Do you want to remove the whole key (y/N)? ")); --- pgp.o --- pgp.c:2285:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2285 | fprintf(pgpout, LANG("\nEnter user ID: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2285:19: note: treat the string as an argument to avoid this 2285 | fprintf(pgpout, LANG("\nEnter user ID: ")); | ^ | "%s", pgp.c:2306:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2306 | fprintf(pgpout, LANG("\007Maintenance pass error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2306:23: note: treat the string as an argument to avoid this 2306 | fprintf(pgpout, LANG("\007Maintenance pass error. ")); | ^ | "%s", --- keymgmt.o --- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2059:22: note: treat the string as an argument to avoid this 2059 | fprintf(pgpout, LANG("\nKey has more than one user ID.\n\ | ^ | "%s", keymgmt.c:2071:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2071 | fprintf(pgpout, LANG("\nNo more user ID's\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2071:20: note: treat the string as an argument to avoid this 2071 | fprintf(pgpout, LANG("\nNo more user ID's\n")); | ^ | "%s", keymgmt.c:2092:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2092 | LANG("\nAre you sure you want this key removed (y/N)? ")); --- pgp.o --- pgp.c:2331:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2331 | LANG("\nA user ID is required to select the key you want to edit. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2331:1: note: treat the string as an argument to avoid this 2331 | LANG("\nA user ID is required to select the key you want to edit. ")); | ^ | "%s", pgp.c:2332:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2332 | fprintf(pgpout, LANG("\nEnter the key's user ID: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2332:19: note: treat the string as an argument to avoid this 2332 | fprintf(pgpout, LANG("\nEnter the key's user ID: ")); | ^ | "%s", --- keymgmt.o --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2092:9: note: treat the string as an argument to avoid this 2092 | LANG("\nAre you sure you want this key removed (y/N)? ")); | ^ | "%s", keymgmt.c:2127:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2127 | fprintf(pgpout, LANG("\nUser ID removed from key ring.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2127:18: note: treat the string as an argument to avoid this 2127 | fprintf(pgpout, LANG("\nUser ID removed from key ring.\n")); | ^ | "%s", keymgmt.c:2129:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2129 | fprintf(pgpout, LANG("\nKey removed from key ring.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pgp.o --- pgp.c:2347:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2347 | fprintf(pgpout, LANG("\007Maintenance pass error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2347:23: note: treat the string as an argument to avoid this 2347 | fprintf(pgpout, LANG("\007Maintenance pass error. ")); | ^ | "%s", pgp.c:2350:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2350 | fprintf(pgpout, LANG("\007Keyring edit error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2350:19: note: treat the string as an argument to avoid this 2350 | fprintf(pgpout, LANG("\007Keyring edit error. ")); | ^ | "%s", --- keymgmt.o --- keymgmt.c:2129:18: note: treat the string as an argument to avoid this 2129 | fprintf(pgpout, LANG("\nKey removed from key ring.\n")); | ^ | "%s", keymgmt.c:2138:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2138 | LANG("\nKey or user ID is also present in secret keyring.\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2139 | Do you also want to remove it from the secret keyring (y/N)? ")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2138:1: note: treat the string as an argument to avoid this 2138 | LANG("\nKey or user ID is also present in secret keyring.\n\ | ^ | "%s", keymgmt.c:2216:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2216 | fprintf(pgpout, LANG("Extract the above key into which file?")); --- pgp.o --- pgp.c:2421:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2421 | fprintf(pgpout, LANG("\007Keyring add error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2421:19: note: treat the string as an argument to avoid this 2421 | fprintf(pgpout, LANG("\007Keyring add error. ")); | ^ | "%s", pgp.c:2458:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2458 | LANG("\nA user ID is required to select the key you want to extract. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2458:1: note: treat the string as an argument to avoid this 2458 | LANG("\nA user ID is required to select the key you want to extract. ")); | ^ | "%s", --- keymgmt.o --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2216:18: note: treat the string as an argument to avoid this 2216 | fprintf(pgpout, LANG("Extract the above key into which file?")); | ^ | "%s", keymgmt.c:2468:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2468 | LANG("\nThis operation may not be performed on a secret keyring.\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2469 | Defaulting to public keyring.")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2468:1: note: treat the string as an argument to avoid this 2468 | LANG("\nThis operation may not be performed on a secret keyring.\n\ | ^ | "%s", keymgmt.c:2504:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2504 | LANG("\n\007This key has been revoked by its owner.\n")); --- pgp.o --- pgp.c:2462:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2462 | fprintf(pgpout, LANG("\nEnter the key's user ID: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2462:19: note: treat the string as an argument to avoid this 2462 | fprintf(pgpout, LANG("\nEnter the key's user ID: ")); | ^ | "%s", pgp.c:2493:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2493 | fprintf(pgpout, LANG("\007Keyring extract error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2493:19: note: treat the string as an argument to avoid this 2493 | fprintf(pgpout, LANG("\007Keyring extract error. ")); | ^ | "%s", --- keymgmt.o --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2504:3: note: treat the string as an argument to avoid this 2504 | LANG("\n\007This key has been revoked by its owner.\n")); | ^ | "%s", keymgmt.c:2554:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2554 | LANG("\nNo secret key available. Editing public key trust parameter.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2554:1: note: treat the string as an argument to avoid this 2554 | LANG("\nNo secret key available. Editing public key trust parameter.\n")); | ^ | "%s", keymgmt.c:2583:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2583 | fprintf(pgpout, LANG("Public key ring updated.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pgp.o --- pgp.c:2545:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2545 | LANG("\nA user ID is required to select the public key you want to\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2546 | remove certifying signatures from. ")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2545:1: note: treat the string as an argument to avoid this 2545 | LANG("\nA user ID is required to select the public key you want to\n\ | ^ | "%s", pgp.c:2549:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2549 | LANG("\nA user ID is required to select the key you want to remove. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2549:1: note: treat the string as an argument to avoid this 2549 | LANG("\nA user ID is required to select the key you want to remove. ")); | ^ | "%s", --- keymgmt.o --- keymgmt.c:2583:18: note: treat the string as an argument to avoid this 2583 | fprintf(pgpout, LANG("Public key ring updated.\n")); | ^ | "%s", keymgmt.c:2603:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2603 | fprintf(pgpout, LANG("\nDo you want to add a new user ID (y/N)? ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2603:21: note: treat the string as an argument to avoid this 2603 | fprintf(pgpout, LANG("\nDo you want to add a new user ID (y/N)? ")); | ^ | "%s", keymgmt.c:2605:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2605 | fprintf(pgpout, LANG("\nEnter the new user ID: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2605:18: note: treat the string as an argument to avoid this --- pgp.o --- pgp.c:2554:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2554 | fprintf(pgpout, LANG("\nEnter the key's user ID: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2554:19: note: treat the string as an argument to avoid this 2554 | fprintf(pgpout, LANG("\nEnter the key's user ID: ")); | ^ | "%s", pgp.c:2570:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2570 | fprintf(pgpout, LANG("\007Key signature remove error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2570:23: note: treat the string as an argument to avoid this 2570 | fprintf(pgpout, LANG("\007Key signature remove error. ")); | ^ | "%s", --- keymgmt.o --- 2605 | fprintf(pgpout, LANG("\nEnter the new user ID: ")); | ^ | "%s", keymgmt.c:2618:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2618 | LANG("\nMake this user ID the primary user ID for this key (y/N)? ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2618:1: note: treat the string as an argument to avoid this 2618 | LANG("\nMake this user ID the primary user ID for this key (y/N)? ")); | ^ | "%s", keymgmt.c:2647:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2647 | fprintf(pgpout, LANG("\nDo you want to change your pass phrase (y/N)? ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2647:21: note: treat the string as an argument to avoid this 2647 | fprintf(pgpout, LANG("\nDo you want to change your pass phrase (y/N)? ")); --- pgp.o --- pgp.c:2582:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2582 | fprintf(pgpout, LANG("\007Keyring remove error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2582:23: note: treat the string as an argument to avoid this 2582 | fprintf(pgpout, LANG("\007Keyring remove error. ")); | ^ | "%s", pgp.c:2638:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2638 | fprintf(pgpout, LANG("\007Keyring view error. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2638:19: note: treat the string as an argument to avoid this 2638 | fprintf(pgpout, LANG("\007Keyring view error. ")); | ^ | "%s", --- keymgmt.o --- | ^ | "%s", keymgmt.c:2653:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2653 | fprintf(pgpout, LANG("(No changes will be made.)\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2653:18: note: treat the string as an argument to avoid this 2653 | fprintf(pgpout, LANG("(No changes will be made.)\n")); | ^ | "%s", keymgmt.c:2683:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2683 | fprintf(pgpout, LANG("\n\007Unable to update secret key ring.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2683:18: note: treat the string as an argument to avoid this 2683 | fprintf(pgpout, LANG("\n\007Unable to update secret key ring.\n")); | ^ --- pgp.o --- pgp.c:2663:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2663 | fprintf(pgpout, LANG("\nFor a usage summary, type: pgp -h\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2663:21: note: treat the string as an argument to avoid this 2663 | fprintf(pgpout, LANG("\nFor a usage summary, type: pgp -h\n")); | ^ | "%s", pgp.c:2665:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2665 | LANG("For more detailed help, consult the PGP User's Guide.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2665:6: note: treat the string as an argument to avoid this 2665 | LANG("For more detailed help, consult the PGP User's Guide.\n")); | ^ | "%s", --- keymgmt.o --- | "%s", keymgmt.c:2686:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2686 | fprintf(pgpout, LANG("\nSecret key ring updated...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2686:21: note: treat the string as an argument to avoid this 2686 | fprintf(pgpout, LANG("\nSecret key ring updated...\n")); | ^ | "%s", keymgmt.c:2694:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2694 | fprintf(pgpout, LANG("\n\007Unable to update public key ring.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2694:22: note: treat the string as an argument to avoid this 2694 | fprintf(pgpout, LANG("\n\007Unable to update public key ring.\n")); | ^ | "%s", --- pgp.o --- pgp.c:2720:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2720 | fprintf(pgpout, LANG("\nInvalid arguments.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2720:21: note: treat the string as an argument to avoid this 2720 | fprintf(pgpout, LANG("\nInvalid arguments.\n")); | ^ | "%s", pgp.c:2783:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2783 | fprintf(pgpout, LANG("\nUsage summary:\ | ^~~~~~~~~~~~~~~~~~~~~~~ 2784 | \nTo encrypt a plaintext file with recipent's public key, type:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2785 | \n pgp -e textfile her_userid [other userids] (produces textfile.pgp)\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2786 | \nTo sign a plaintext file with your secret key:\ --- keymgmt.o --- keymgmt.c:2706:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2706 | fprintf(pgpout, LANG("Public key ring updated.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2706:25: note: treat the string as an argument to avoid this 2706 | fprintf(pgpout, LANG("Public key ring updated.\n")); | ^ | "%s", keymgmt.c:2711:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2711 | fprintf(pgpout, LANG("(No need to update public key ring)\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2711:18: note: treat the string as an argument to avoid this 2711 | fprintf(pgpout, LANG("(No need to update public key ring)\n")); | ^ | "%s", --- pgp.o --- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2787 | \n pgp -s textfile [-u your_userid] (produces textfile.pgp)\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2788 | \nTo sign a plaintext file with your secret key, and then encrypt it\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2789 | \n with recipent's public key, producing a .pgp file:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2790 | \n pgp -es textfile her_userid [other userids] [-u your_userid]\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2791 | \nTo encrypt with conventional encryption only:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2792 | \n pgp -c textfile\ | ~~~~~~~~~~~~~~~~~~~~~ 2793 | \nTo decrypt or check a signature for a ciphertext (.pgp) file:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- keymgmt.o --- keymgmt.c:2776:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2776 | LANG("You can only disable keys on your public keyring.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2776:3: note: treat the string as an argument to avoid this 2776 | LANG("You can only disable keys on your public keyring.\n")); | ^ | "%s", keymgmt.c:2781:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2781 | fprintf(pgpout, LANG("\nKey is already disabled.\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2782 | Do you want to enable this key again (y/N)? ")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2781:18: note: treat the string as an argument to avoid this 2781 | fprintf(pgpout, LANG("\nKey is already disabled.\n\ | ^ --- pgp.o --- 2794 | \n pgp ciphertextfile [-o plaintextfile]\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2795 | \nTo produce output in ASCII for email, add the -a option to other options.\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2796 | \nTo generate your own unique public/secret key pair: pgp -kg\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2797 | \nFor help on other key management functions, type: pgp -k\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2783:18: note: treat the string as an argument to avoid this 2783 | fprintf(pgpout, LANG("\nUsage summary:\ | ^ | "%s", pgp.c:2825:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2825 | fprintf(pgpout, LANG("\nKey management functions:\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- keymgmt.o --- | "%s", keymgmt.c:2785:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2785 | fprintf(pgpout, LANG("\nDisable this key (y/N)? ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:2785:18: note: treat the string as an argument to avoid this 2785 | fprintf(pgpout, LANG("\nDisable this key (y/N)? ")); | ^ | "%s", keymgmt.c:2919:8: warning: call to undeclared function 'read_options'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2919 | if(read_options(userid, &tstamp, &tstamp, &validity) < 0) { | ^ keymgmt.c:3015:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3015 | fprintf(pgpout, LANG("\n\007Unable to update secret key ring.\n")); --- pgp.o --- 2826 | \nTo generate your own unique public/secret key pair:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2827 | \n pgp -kg\ | ~~~~~~~~~~~~~ 2828 | \nTo add a key file's contents to your public or secret key ring:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2829 | \n pgp -ka keyfile [keyring]\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2830 | \nTo remove a key or a user ID from your public or secret key ring:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2831 | \n pgp -kr userid [keyring]\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2832 | \nTo edit your user ID or pass phrase:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2833 | \n pgp -ke your_userid [keyring]\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2834 | \nTo extract (copy) a key from your public or secret key ring:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2835 | \n pgp -kx userid keyfile [keyring]\ --- keymgmt.o --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:3015:22: note: treat the string as an argument to avoid this 3015 | fprintf(pgpout, LANG("\n\007Unable to update secret key ring.\n")); | ^ | "%s", keymgmt.c:3027:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3027 | fprintf(pgpout, LANG("\n\007Unable to update public key ring.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:3027:26: note: treat the string as an argument to avoid this 3027 | fprintf(pgpout, LANG("\n\007Unable to update public key ring.\n")); | ^ | "%s", keymgmt.c:3076:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- pgp.o --- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2836 | \nTo view the contents of your public key ring:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2837 | \n pgp -kv[v] [userid] [keyring]\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2838 | \nTo check signatures on your public key ring:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2839 | \n pgp -kc [userid] [keyring]\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2840 | \nTo sign someone else's public key on your public key ring:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.c:2825:18: note: treat the string as an argument to avoid this 2825 | fprintf(pgpout, LANG("\nKey management functions:\ | ^ | "%s", 65 warnings generated. --- keymgmt.o --- 3076 | fprintf(fo, LANG("Type Bits/KeyID Date User ID\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:3076:17: note: treat the string as an argument to avoid this 3076 | fprintf(fo, LANG("Type Bits/KeyID Date User ID\n")); | ^ | "%s", keymgmt.c:3156:25: warning: call to undeclared function 'read_options'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3156 | validity_status = read_options(userid, NULL, &tstamp, &validity); | ^ keymgmt.c:3162:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3162 | fprintf(pgpout, LANG("pub")); | ^~~~~~~~~~~ keymgmt.c:3162:20: note: treat the string as an argument to avoid this 3162 | fprintf(pgpout, LANG("pub")); | ^ | "%s", keymgmt.c:3164:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3164 | fprintf(pgpout, LANG("sec")); | ^~~~~~~~~~~ keymgmt.c:3164:20: note: treat the string as an argument to avoid this 3164 | fprintf(pgpout, LANG("sec")); | ^ | "%s", keymgmt.c:3181:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3181 | fprintf(pgpout, LANG("*** KEY REVOKED ***\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:3181:26: note: treat the string as an argument to avoid this 3181 | fprintf(pgpout, LANG("*** KEY REVOKED ***\n")); --- armor.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c armor.c -o armor.o --- keymgmt.o --- | ^ | "%s", keymgmt.c:3197:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3197 | fprintf(pgpout, LANG(" no expire ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:3197:20: note: treat the string as an argument to avoid this 3197 | fprintf(pgpout, LANG(" no expire ")); | ^ | "%s", keymgmt.c:3199:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3199 | case 1 : fprintf(pgpout,LANG("ENCRyption only\n")); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:3199:34: note: treat the string as an argument to avoid this 3199 | case 1 : fprintf(pgpout,LANG("ENCRyption only\n")); break; | ^ | "%s", keymgmt.c:3200:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3200 | case 2 : fprintf(pgpout,LANG("SIGNature only\n")); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:3200:34: note: treat the string as an argument to avoid this 3200 | case 2 : fprintf(pgpout,LANG("SIGNature only\n")); break; | ^ | "%s", keymgmt.c:3216:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3216 | fprintf(pgpout, sigtype == KR_SIGNATURE_BYTE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3217 | ? LANG("rev") | ~~~~~~~~~~~~~ 3218 | : LANG("sig")); | ~~~~~~~~~~~~~ keymgmt.c:3216:22: note: treat the string as an argument to avoid this 3216 | fprintf(pgpout, sigtype == KR_SIGNATURE_BYTE | ^ | "%s", keymgmt.c:3228:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3228 | LANG("(Unknown signator, can't be checked)\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymgmt.c:3228:9: note: treat the string as an argument to avoid this 3228 | LANG("(Unknown signator, can't be checked)\n")); | ^ | "%s", 75 warnings generated. --- pgp.o --- --- mpilib.o --- --- keymgmt.o --- --- crypto.o --- crypto.c:381:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 381 | LANG("\007\nWARNING: This key has been revoked by its owner,\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 382 | possibly because the secret key was compromised.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:381:4: note: treat the string as an argument to avoid this 381 | LANG("\007\nWARNING: This key has been revoked by its owner,\n\ | ^ | "%s", crypto.c:386:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 386 | LANG("This could mean that this signature is a forgery.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:386:4: note: treat the string as an argument to avoid this 386 | LANG("This could mean that this signature is a forgery.\n")); | ^ | "%s", --- mpilib.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c mpilib.c -o mpilib.o --- mpiio.o --- --- crypto.o --- crypto.c:390:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 390 | LANG("You cannot use this revoked key.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:390:4: note: treat the string as an argument to avoid this 390 | LANG("You cannot use this revoked key.\n")); | ^ | "%s", crypto.c:426:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 426 | LANG("But you previously approved using this public key anyway.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:426:4: note: treat the string as an argument to avoid this 426 | LANG("But you previously approved using this public key anyway.\n")); | ^ | "%s", crypto.c:433:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 433 | LANG("\nAre you sure you want to use this public key (y/N)? ")); --- more.o --- more.c:365:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 365 | printf(LANG("\nDone...hit any key\r")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ more.c:365:10: note: treat the string as an argument to avoid this 365 | printf(LANG("\nDone...hit any key\r")); | ^ | "%s", more.c:465:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 465 | fprintf(savepgpout, LANG("Just a moment...")); | ^~~~~~~~~~~~~~~~~~~~~~~~ more.c:465:25: note: treat the string as an argument to avoid this 465 | fprintf(savepgpout, LANG("Just a moment...")); | ^ | "%s", 2 warnings generated. --- crypto.o --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:433:4: note: treat the string as an argument to avoid this 433 | LANG("\nAre you sure you want to use this public key (y/N)? ")); | ^ | "%s", crypto.c:481:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 481 | LANG("\n\007Unsupported packet format - you need a newer version of PGP \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 482 | for this file.\n")); | ~~~~~~~~~~~~~~~~~~ crypto.c:481:1: note: treat the string as an argument to avoid this 481 | LANG("\n\007Unsupported packet format - you need a newer version of PGP \ | ^ | "%s", crypto.c:493:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 493 | LANG("\n\007Unsupported packet format - you need a newer version of PGP \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- mpiio.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c mpiio.c -o mpiio.o --- genprime.o --- --- crypto.o --- 494 | for this file.\n")); | ~~~~~~~~~~~~~~~~~~ crypto.c:493:1: note: treat the string as an argument to avoid this 493 | LANG("\n\007Unsupported packet format - you need a newer version of PGP \ | ^ | "%s", crypto.c:536:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 536 | fprintf(pgpout,LANG("Preparing random session key...")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:536:18: note: treat the string as an argument to avoid this 536 | fprintf(pgpout,LANG("Preparing random session key...")); | ^ | "%s", crypto.c:850:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 850 | LANG("\n\007Error: System clock/calendar is set wrong.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- genprime.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c genprime.c -o genprime.o --- crypto.o --- crypto.c:850:4: note: treat the string as an argument to avoid this 850 | LANG("\n\007Error: System clock/calendar is set wrong.\n")); | ^ | "%s", crypto.c:863:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 863 | fprintf(pgpout,LANG("Just a moment...")); /* RSA will take | ^~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:863:18: note: treat the string as an argument to avoid this 863 | fprintf(pgpout,LANG("Just a moment...")); /* RSA will take | ^ | "%s", crypto.c:1037:30: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1037 | switch(read_options(userid, NULL, &tstamp, &validity)) { | ^~~~~~ crypto.c:273:30: note: passing argument to parameter 'useridP' here 273 | int read_options(const char *useridP, const word32 *comparetimestamp, | ^ crypto.c:1041:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1041 | fprintf(pgpout, LANG("This key is an ENCRyption only key.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1041:20: note: treat the string as an argument to avoid this 1041 | fprintf(pgpout, LANG("This key is an ENCRyption only key.\n")); | ^ | "%s", crypto.c:1044:21: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1044 | strcpy(mcguffin, userid); | ^~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ crypto.c:1046:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1046 | fprintf(pgpout, LANG("Try to obtain the corresponding SIGN key.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1046:23: note: treat the string as an argument to avoid this 1046 | fprintf(pgpout, LANG("Try to obtain the corresponding SIGN key.\n")); | ^ | "%s", crypto.c:1205:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1205 | fprintf(pgpout, LANG("This key has already been revoked.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1205:19: note: treat the string as an argument to avoid this 1205 | fprintf(pgpout, LANG("This key has already been revoked.\n")); | ^ | "%s", crypto.c:1210:22: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1210 | switch(read_options(userid, NULL, &tstamp, &validity)) { | ^~~~~~ crypto.c:273:30: note: passing argument to parameter 'useridP' here 273 | int read_options(const char *useridP, const word32 *comparetimestamp, | ^ crypto.c:1212:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1212 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1212:21: note: treat the string as an argument to avoid this 1212 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^ | "%s", crypto.c:1215:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1215 | fprintf(pgpout, LANG("This key will be generated in future. *oops*\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1215:21: note: treat the string as an argument to avoid this 1215 | fprintf(pgpout, LANG("This key will be generated in future. *oops*\n")); | ^ | "%s", crypto.c:1218:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1218 | fprintf(pgpout, LANG("This key is too old to be revoked.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1218:21: note: treat the string as an argument to avoid this 1218 | fprintf(pgpout, LANG("This key is too old to be revoked.\n")); | ^ | "%s", crypto.c:1220:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1220 | fprintf(pgpout, LANG("The compromise certificate might not be accepted on newer versions.\nRevoke anyway? (y/N)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1220:21: note: treat the string as an argument to avoid this 1220 | fprintf(pgpout, LANG("The compromise certificate might not be accepted on newer versions.\nRevoke anyway? (y/N)")); | ^ | "%s", crypto.c:1252:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1252 | LANG("\n\007Can't create output file to update key ring.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1252:4: note: treat the string as an argument to avoid this 1252 | LANG("\n\007Can't create output file to update key ring.\n")); | ^ | "%s", crypto.c:1277:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1277 | fprintf(pgpout, LANG("\nKey compromise certificate created.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1277:18: note: treat the string as an argument to avoid this 1277 | fprintf(pgpout, LANG("\nKey compromise certificate created.\n")); | ^ | "%s", crypto.c:1344:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1344 | LANG("\n\nREAD CAREFULLY: Based on your own direct first-hand knowledge, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1345 | are\nyou absolutely certain that you are prepared to solemnly certify \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1346 | that\nthe above public key actually belongs to the user specified by \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1347 | the\nabove user ID (y/N)? ")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1344:1: note: treat the string as an argument to avoid this 1344 | LANG("\n\nREAD CAREFULLY: Based on your own direct first-hand knowledge, \ | ^ | "%s", crypto.c:1358:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1358 | LANG("\n\nREAD CAREFULLY: How did you prove the users real identity ?\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1359 | 0) What? I do not understand this question.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1360 | 1) No attempt made at all to identify the user with a real name.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1361 | 2) Some casual attempt made to identify user with his name.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1362 | 3) Heavy-duty identification efforts, photo ID, direct contact...\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1358:1: note: treat the string as an argument to avoid this 1358 | LANG("\n\nREAD CAREFULLY: How did you prove the users real identity ?\n\ | ^ | "%s", crypto.c:1427:23: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1427 | switch(read_options(userid, NULL, &tstamp, &validity)) { | ^~~~~~ crypto.c:273:30: note: passing argument to parameter 'useridP' here 273 | int read_options(const char *useridP, const word32 *comparetimestamp, | ^ crypto.c:1429:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1429 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1429:22: note: treat the string as an argument to avoid this 1429 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^ | "%s", crypto.c:1434:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1434 | fprintf(pgpout, LANG("Your key will be generated in future. *oops*\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1434:22: note: treat the string as an argument to avoid this 1434 | fprintf(pgpout, LANG("Your key will be generated in future. *oops*\n")); | ^ | "%s", crypto.c:1437:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1437 | fprintf(pgpout, LANG("Your key is too old to sign with.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1437:22: note: treat the string as an argument to avoid this 1437 | fprintf(pgpout, LANG("Your key is too old to sign with.\n")); | ^ | "%s", crypto.c:1440:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1440 | fprintf(pgpout, LANG("This key is an ENCRyption only key.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1440:22: note: treat the string as an argument to avoid this 1440 | fprintf(pgpout, LANG("This key is an ENCRyption only key.\n")); | ^ | "%s", crypto.c:1462:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1462 | LANG("\n\007Can't create output file to update key ring.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1462:4: note: treat the string as an argument to avoid this 1462 | LANG("\n\007Can't create output file to update key ring.\n")); | ^ | "%s", crypto.c:1488:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1488 | fprintf(pgpout, LANG("\nKey signature certificate added.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1488:18: note: treat the string as an argument to avoid this 1488 | fprintf(pgpout, LANG("\nKey signature certificate added.\n")); | ^ | "%s", crypto.c:1536:29: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1536 | switch(read_options(userid, NULL, &tstamp, &validity)) { | ^~~~~~ crypto.c:273:30: note: passing argument to parameter 'useridP' here 273 | int read_options(const char *useridP, const word32 *comparetimestamp, | ^ crypto.c:1538:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1538 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1538:21: note: treat the string as an argument to avoid this 1538 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^ | "%s", crypto.c:1541:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1541 | fprintf(pgpout, LANG("Your key will be generated in future. *oops*\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1541:21: note: treat the string as an argument to avoid this 1541 | fprintf(pgpout, LANG("Your key will be generated in future. *oops*\n")); | ^ | "%s", crypto.c:1544:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1544 | fprintf(pgpout, LANG("Your key is too old to sign with.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1544:21: note: treat the string as an argument to avoid this 1544 | fprintf(pgpout, LANG("Your key is too old to sign with.\n")); | ^ | "%s", crypto.c:1549:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1549 | fprintf(pgpout, LANG("This key is an ENCRyption only key.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1549:19: note: treat the string as an argument to avoid this 1549 | fprintf(pgpout, LANG("This key is an ENCRyption only key.\n")); | ^ | "%s", crypto.c:1552:21: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1552 | strcpy(sigguffin, userid); | ^~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ crypto.c:1554:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1554 | fprintf(pgpout, LANG("Try to obtain the corresponding SIGN key.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1554:22: note: treat the string as an argument to avoid this 1554 | fprintf(pgpout, LANG("Try to obtain the corresponding SIGN key.\n")); | ^ | "%s", crypto.c:1574:29: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1574 | switch(read_options(userid, NULL, &tstamp, &validity)) { | ^~~~~~ crypto.c:273:30: note: passing argument to parameter 'useridP' here 273 | int read_options(const char *useridP, const word32 *comparetimestamp, | ^ crypto.c:1576:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1576 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1576:21: note: treat the string as an argument to avoid this 1576 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^ | "%s", crypto.c:1579:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1579 | fprintf(pgpout, LANG("This key will be generated in future. *oops*\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1579:21: note: treat the string as an argument to avoid this 1579 | fprintf(pgpout, LANG("This key will be generated in future. *oops*\n")); | ^ | "%s", crypto.c:1582:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1582 | fprintf(pgpout, LANG("This key is too old to be signed.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1582:21: note: treat the string as an argument to avoid this 1582 | fprintf(pgpout, LANG("This key is too old to be signed.\n")); | ^ | "%s", crypto.c:1654:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1654 | LANG("\n\n\ | ^~~~~~~~~~~ 1655 | READ CAREFULLY: Are you absolutely certain that you are prepared to revoke\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1656 | your certificate, so that the above public key DOES NOT longer belong to\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1657 | the user specified by the above user ID (y/N)? ")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1654:1: note: treat the string as an argument to avoid this 1654 | LANG("\n\n\ | ^ | "%s", crypto.c:1717:23: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1717 | switch(read_options(userid, NULL, &tstamp, &validity)) { | ^~~~~~ crypto.c:273:30: note: passing argument to parameter 'useridP' here 273 | int read_options(const char *useridP, const word32 *comparetimestamp, | ^ crypto.c:1719:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1719 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1719:22: note: treat the string as an argument to avoid this 1719 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^ | "%s", crypto.c:1724:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1724 | fprintf(pgpout, LANG("Your key will be generated in future. *oops*\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1724:22: note: treat the string as an argument to avoid this 1724 | fprintf(pgpout, LANG("Your key will be generated in future. *oops*\n")); | ^ | "%s", crypto.c:1727:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1727 | fprintf(pgpout, LANG("Your key is too old to sign with.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1727:22: note: treat the string as an argument to avoid this 1727 | fprintf(pgpout, LANG("Your key is too old to sign with.\n")); | ^ | "%s", crypto.c:1730:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1730 | fprintf(pgpout, LANG("This key is an ENCRyption only key.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1730:22: note: treat the string as an argument to avoid this 1730 | fprintf(pgpout, LANG("This key is an ENCRyption only key.\n")); | ^ | "%s", crypto.c:1752:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1752 | LANG("\n\007Can't create output file to update key ring.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1752:4: note: treat the string as an argument to avoid this 1752 | LANG("\n\007Can't create output file to update key ring.\n")); | ^ | "%s", crypto.c:1795:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1795 | fprintf(pgpout, LANG("\nKey signature certificate revoked.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1795:18: note: treat the string as an argument to avoid this 1795 | fprintf(pgpout, LANG("\nKey signature certificate revoked.\n")); | ^ | "%s", crypto.c:1843:29: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1843 | switch(read_options(userid, NULL, &tstamp, &validity)) { | ^~~~~~ crypto.c:273:30: note: passing argument to parameter 'useridP' here 273 | int read_options(const char *useridP, const word32 *comparetimestamp, | ^ crypto.c:1845:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1845 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1845:21: note: treat the string as an argument to avoid this 1845 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^ | "%s", crypto.c:1848:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1848 | fprintf(pgpout, LANG("Your key will be generated in future. *oops*\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1848:21: note: treat the string as an argument to avoid this 1848 | fprintf(pgpout, LANG("Your key will be generated in future. *oops*\n")); | ^ | "%s", crypto.c:1851:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1851 | fprintf(pgpout, LANG("Your key is too old to sign with.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1851:21: note: treat the string as an argument to avoid this 1851 | fprintf(pgpout, LANG("Your key is too old to sign with.\n")); | ^ | "%s", crypto.c:1856:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1856 | fprintf(pgpout, LANG("This key is an ENCRyption only key.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1856:19: note: treat the string as an argument to avoid this 1856 | fprintf(pgpout, LANG("This key is an ENCRyption only key.\n")); | ^ | "%s", crypto.c:1859:21: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1859 | strcpy(sigguffin, userid); | ^~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ crypto.c:1861:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1861 | fprintf(pgpout, LANG("Try to obtain the corresponding SIGN key.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1861:22: note: treat the string as an argument to avoid this 1861 | fprintf(pgpout, LANG("Try to obtain the corresponding SIGN key.\n")); | ^ | "%s", crypto.c:1881:29: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1881 | switch(read_options(userid, NULL, &tstamp, &validity)) { | ^~~~~~ crypto.c:273:30: note: passing argument to parameter 'useridP' here 273 | int read_options(const char *useridP, const word32 *comparetimestamp, | ^ crypto.c:1883:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1883 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1883:21: note: treat the string as an argument to avoid this 1883 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^ | "%s", crypto.c:1886:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1886 | fprintf(pgpout, LANG("This key is already out of use.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:1886:21: note: treat the string as an argument to avoid this 1886 | fprintf(pgpout, LANG("This key is already out of use.\n")); | ^ | "%s", crypto.c:2092:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2092 | LANG("\nPlease enter filename of material that signature applies to: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2092:4: note: treat the string as an argument to avoid this 2092 | LANG("\nPlease enter filename of material that signature applies to: ")); | ^ | "%s", crypto.c:2226:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2226 | LANG("\nWARNING: Can't find the right public key-- can't check signature \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2227 | integrity.\n")); | ~~~~~~~~~~~~~~ crypto.c:2226:4: note: treat the string as an argument to avoid this 2226 | LANG("\nWARNING: Can't find the right public key-- can't check signature \ | ^ | "%s", crypto.c:2261:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2261 | LANG("\n\007Error: RSA-decrypted block is corrupted.\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2262 | This may be caused either by corrupted data or by using the wrong RSA key.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2263 | ")); | ~~ crypto.c:2261:1: note: treat the string as an argument to avoid this 2261 | LANG("\n\007Error: RSA-decrypted block is corrupted.\n\ | ^ | "%s", crypto.c:2274:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2274 | LANG("\n\007Error: RSA-decrypted block is corrupted.\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2275 | This may be caused either by corrupted data or by using the wrong RSA key.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2276 | ")); | ~~ crypto.c:2274:4: note: treat the string as an argument to avoid this 2274 | LANG("\n\007Error: RSA-decrypted block is corrupted.\n\ | ^ | "%s", crypto.c:2346:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2346 | LANG("WARNING: Bad signature, doesn't match file contents!")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2346:1: note: treat the string as an argument to avoid this 2346 | LANG("WARNING: Bad signature, doesn't match file contents!")); | ^ | "%s", crypto.c:2355:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2355 | fprintf(pgpout, LANG("\nPress ENTER to continue...")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2355:20: note: treat the string as an argument to avoid this 2355 | fprintf(pgpout, LANG("\nPress ENTER to continue...")); | ^ | "%s", crypto.c:2367:29: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2367 | switch(read_options(userid, &tstamp, &dummystamp, &validity)) { | ^~~~~~ crypto.c:273:30: note: passing argument to parameter 'useridP' here 273 | int read_options(const char *useridP, const word32 *comparetimestamp, | ^ crypto.c:2369:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2369 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2369:21: note: treat the string as an argument to avoid this 2369 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^ | "%s", crypto.c:2407:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2407 | LANG("\nSignature and text are separate. No output file produced. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2407:1: note: treat the string as an argument to avoid this 2407 | LANG("\nSignature and text are separate. No output file produced. ")); | ^ | "%s", crypto.c:2495:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2495 | LANG("\n\007Error: Badly-formed or corrupted signature certificate.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2495:1: note: treat the string as an argument to avoid this 2495 | LANG("\n\007Error: Badly-formed or corrupted signature certificate.\n")); | ^ | "%s", crypto.c:2682:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2682 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2682:21: note: treat the string as an argument to avoid this 2682 | fprintf(pgpout, LANG("Something goes wrong, may be an unlucky User ID?\n")); | ^ | "%s", crypto.c:2698:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2698 | LANG("\n\007Error: Badly-formed or corrupted signature certificate.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2698:1: note: treat the string as an argument to avoid this 2698 | LANG("\n\007Error: Badly-formed or corrupted signature certificate.\n")); | ^ | "%s", crypto.c:2753:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2753 | if (verbose) fprintf(pgpout, LANG("compressed. ") ); | ^~~~~~~~~~~~~~~~~~~~~ crypto.c:2753:33: note: treat the string as an argument to avoid this 2753 | if (verbose) fprintf(pgpout, LANG("compressed. ") ); | ^ | "%s", crypto.c:2806:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2806 | if (verbose) fprintf(pgpout, LANG("Compressing file...")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2806:31: note: treat the string as an argument to avoid this 2806 | if (verbose) fprintf(pgpout, LANG("Compressing file...")); | ^ | "%s", crypto.c:2815:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2815 | if (verbose) fprintf(pgpout, LANG("compressed. ") ); | ^~~~~~~~~~~~~~~~~~~~~ crypto.c:2815:31: note: treat the string as an argument to avoid this 2815 | if (verbose) fprintf(pgpout, LANG("compressed. ") ); | ^ | "%s", crypto.c:2872:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2872 | LANG("\nYou need a pass phrase to encrypt the file. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2872:1: note: treat the string as an argument to avoid this 2872 | LANG("\nYou need a pass phrase to encrypt the file. ")); | ^ | "%s", crypto.c:2896:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2896 | LANG("Just a moment...")); /* this may take a while */ | ^~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2896:1: note: treat the string as an argument to avoid this 2896 | LANG("Just a moment...")); /* this may take a while */ | ^ | "%s", crypto.c:3128:30: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3128 | switch(read_options(userid, NULL, &tstamp, &validity)) { | ^~~~~~ crypto.c:273:30: note: passing argument to parameter 'useridP' here 273 | int read_options(const char *useridP, const word32 *comparetimestamp, | ^ crypto.c:3143:21: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3143 | strcpy(mcguffin, userid); | ^~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ crypto.c:3656:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3656 | fprintf(stderr, LANG("\n\007Out of memory.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:3656:20: note: treat the string as an argument to avoid this 3656 | fprintf(stderr, LANG("\n\007Out of memory.\n")); | ^ | "%s", crypto.c:3678:26: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3678 | switch(read_options(userid, NULL, &tstamp, &validity)) { | ^~~~~~ crypto.c:273:30: note: passing argument to parameter 'useridP' here 273 | int read_options(const char *useridP, const word32 *comparetimestamp, | ^ crypto.c:3695:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3695 | } else { | ^ crypto.c:3719:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3719 | fprintf(pgpout,LANG("Just a moment...")); | ^~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:3719:20: note: treat the string as an argument to avoid this 3719 | fprintf(pgpout,LANG("Just a moment...")); | ^ | "%s", crypto.c:3732:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3732 | LANG("\n\007Error: RSA-decrypted block is corrupted.\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3733 | This may be caused either by corrupted data or by using the wrong RSA key.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3734 | ")); | ~~ crypto.c:3732:1: note: treat the string as an argument to avoid this 3732 | LANG("\n\007Error: RSA-decrypted block is corrupted.\n\ | ^ | "%s", crypto.c:3737:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3737 | LANG("\n\007Error: RSA block is possibly malformed. Old format, maybe?\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:3737:1: note: treat the string as an argument to avoid this 3737 | LANG("\n\007Error: RSA block is possibly malformed. Old format, maybe?\n")); | ^ | "%s", crypto.c:3765:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3765 | LANG("\nThis message can only be read by:\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:3765:1: note: treat the string as an argument to avoid this 3765 | LANG("\nThis message can only be read by:\n")); | ^ | "%s", crypto.c:3792:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3792 | LANG("\n\007You do not have the secret key needed to decrypt this file.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:3792:1: note: treat the string as an argument to avoid this 3792 | LANG("\n\007You do not have the secret key needed to decrypt this file.\n")); | ^ | "%s", crypto.c:3810:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3810 | LANG("\n\007Error: RSA-decrypted block is corrupted.\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3811 | This may be caused either by corrupted data or by using the wrong RSA key.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3812 | ")); | ~~ crypto.c:3810:1: note: treat the string as an argument to avoid this 3810 | LANG("\n\007Error: RSA-decrypted block is corrupted.\n\ | ^ | "%s", crypto.c:3842:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3842 | LANG("\n\007Error: Decrypted plaintext is corrupted.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:3842:1: note: treat the string as an argument to avoid this 3842 | LANG("\n\007Error: Decrypted plaintext is corrupted.\n")); | ^ | "%s", crypto.c:3932:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3932 | LANG("\nYou need a pass phrase to decrypt this file. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:3932:1: note: treat the string as an argument to avoid this 3932 | LANG("\nYou need a pass phrase to decrypt this file. ")); | ^ | "%s", crypto.c:3950:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3950 | fprintf(pgpout,LANG("Just a moment...")); | ^~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:3950:19: note: treat the string as an argument to avoid this 3950 | fprintf(pgpout,LANG("Just a moment...")); | ^ | "%s", crypto.c:3972:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3972 | LANG("\n\007Error: Bad pass phrase.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:3972:1: note: treat the string as an argument to avoid this 3972 | LANG("\n\007Error: Bad pass phrase.\n")); | ^ | "%s", crypto.c:3999:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3999 | fprintf(pgpout,LANG("Pass phrase appears good. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:3999:18: note: treat the string as an argument to avoid this 3999 | fprintf(pgpout,LANG("Pass phrase appears good. ")); | ^ | "%s", crypto.c:4016:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4016 | if (verbose) fprintf(pgpout, LANG("Decompressing plaintext...") ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:4016:31: note: treat the string as an argument to avoid this 4016 | if (verbose) fprintf(pgpout, LANG("Decompressing plaintext...") ); | ^ | "%s", crypto.c:4042:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4042 | LANG("\007\nUnrecognized compression algorithm.\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4043 | This may require a newer version of PGP.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:4042:1: note: treat the string as an argument to avoid this 4042 | LANG("\007\nUnrecognized compression algorithm.\n\ | ^ | "%s", crypto.c:4056:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4056 | LANG("\n\007Decompression error. Probable corrupted input.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:4056:1: note: treat the string as an argument to avoid this 4056 | LANG("\n\007Decompression error. Probable corrupted input.\n")); | ^ | "%s", crypto.c:4061:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4061 | fprintf(pgpout, LANG("done. ") ); | ^~~~~~~~~~~~~~~ crypto.c:4061:19: note: treat the string as an argument to avoid this 4061 | fprintf(pgpout, LANG("done. ") ); | ^ | "%s", 97 warnings generated. --- rsagen.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c rsagen.c -o rsagen.o --- mpiio.o --- --- random.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c random.c -o random.o --- rsagen.o --- --- idea.o --- --- genprime.o --- --- armor.o --- armor.c:686:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 686 | fprintf(pgpout, LANG("\nTransport armor files: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ armor.c:686:18: note: treat the string as an argument to avoid this 686 | fprintf(pgpout, LANG("\nTransport armor files: ")); | ^ | "%s", armor.c:1043:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1043 | LANG("WARNING: No ASCII armor `END' line.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ armor.c:1043:7: note: treat the string as an argument to avoid this 1043 | LANG("WARNING: No ASCII armor `END' line.\n")); | ^ | "%s", armor.c:1074:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1074 | LANG("ERROR: Bad ASCII armor checksum")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ armor.c:1074:7: note: treat the string as an argument to avoid this 1074 | LANG("ERROR: Bad ASCII armor checksum")); | ^ | "%s", armor.c:1083:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1083 | LANG("Warning: Transport armor lacks a checksum.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ armor.c:1083:3: note: treat the string as an argument to avoid this 1083 | LANG("Warning: Transport armor lacks a checksum.\n")); | ^ | "%s", armor.c:1173:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1173 | LANG("ERROR: No ASCII armor `BEGIN' line!\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ armor.c:1173:7: note: treat the string as an argument to avoid this 1173 | LANG("ERROR: No ASCII armor `BEGIN' line!\n")); | ^ | "%s", armor.c:1209:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1209 | LANG("ERROR: ASCII armor decode input ended unexpectedly!\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ armor.c:1209:1: note: treat the string as an argument to avoid this 1209 | LANG("ERROR: ASCII armor decode input ended unexpectedly!\n")); | ^ | "%s", armor.c:1237:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1237 | LANG("ERROR: ASCII armor decode input ended unexpectedly!\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ armor.c:1237:1: note: treat the string as an argument to avoid this 1237 | LANG("ERROR: ASCII armor decode input ended unexpectedly!\n")); | ^ | "%s", armor.c:1269:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1269 | fprintf(pgpout, LANG("ERROR: Hit EOF in header.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ armor.c:1269:18: note: treat the string as an argument to avoid this 1269 | fprintf(pgpout, LANG("ERROR: Hit EOF in header.\n")); | ^ | "%s", 8 warnings generated. --- idea.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c idea.c -o idea.o --- passwd.o --- --- md5.o --- --- passwd.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c passwd.c -o passwd.o --- md5.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c md5.c -o md5.o --- mpilib.o --- mpilib.c:330:11: warning: & has lower precedence than <; < will be evaluated first [-Wparentheses] 330 | if(tmp & lowmask < lowbits) /* inc is possible without overflow */ | ^~~~~~~~~~~~~~~~~~~ mpilib.c:330:11: note: place parentheses around the '<' expression to silence this warning 330 | if(tmp & lowmask < lowbits) /* inc is possible without overflow */ | ^ | ( ) mpilib.c:330:11: note: place parentheses around the & expression to evaluate it first 330 | if(tmp & lowmask < lowbits) /* inc is possible without overflow */ | ^ | ( ) 1 warning generated. --- system.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c system.c -o system.o --- passwd.o --- passwd.c:78:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 78 | fprintf(pgpout,LANG("\nEnter pass phrase: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ passwd.c:78:18: note: treat the string as an argument to avoid this 78 | fprintf(pgpout,LANG("\nEnter pass phrase: ")); | ^ | "%s", passwd.c:86:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 86 | fprintf(pgpout,LANG("\nEnter same pass phrase again: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ passwd.c:86:18: note: treat the string as an argument to avoid this 86 | fprintf(pgpout,LANG("\nEnter same pass phrase again: ")); | ^ | "%s", passwd.c:94:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 94 | LANG("\n\007Error: Pass phrases were different. Try again.")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ passwd.c:94:1: note: treat the string as an argument to avoid this 94 | LANG("\n\007Error: Pass phrases were different. Try again.")); | ^ | "%s", 3 warnings generated. --- language.o --- --- idea.o --- --- getopt.o --- --- random.o --- --- getopt.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c getopt.c -o getopt.o --- language.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c language.c -o language.o --- keyadd.o --- --- md5.o --- md5.c:147:27: warning: 'memset' call operates on objects of type 'struct MD5Context' while the size is based on a different type 'struct MD5Context *' [-Wsizeof-pointer-memaccess] 147 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ~~~ ^~~ md5.c:147:27: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? 147 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^~~ 1 warning generated. --- config.o --- --- keyadd.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c keyadd.c -o keyadd.o --- config.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c config.c -o config.o --- system.o --- system.c:1790:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1790 | while (c = *p) | ~~^~~~ system.c:1790:11: note: place parentheses around the assignment to silence this warning 1790 | while (c = *p) | ^ | ( ) system.c:1790:11: note: use '==' to turn this assignment into an equality comparison 1790 | while (c = *p) | ^ | == 1 warning generated. --- keymaint.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c keymaint.c -o keymaint.o --- language.o --- language.c:472:66: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 472 | fprintf(stderr, "%d messages, %d translations\n\n", total_msgs, nmsg); | ~~ ^~~~ | %ld 1 warning generated. --- getopt.o --- --- charset.o --- --- randpool.o --- --- charset.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c charset.c -o charset.o --- randpool.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c randpool.c -o randpool.o --- config.o --- --- noise.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c noise.c -o noise.o --- keyadd.o --- keyadd.c:184:48: warning: format specifies type 'unsigned long' but the argument has type 'word32' (aka 'unsigned int') [-Wformat] 184 | fprintf(pgpout, "ring: %lx key: %lx\n", rstamp, kstamp); | ~~~ ^~~~~~ | %x keyadd.c:184:56: warning: format specifies type 'unsigned long' but the argument has type 'word32' (aka 'unsigned int') [-Wformat] 184 | fprintf(pgpout, "ring: %lx key: %lx\n", rstamp, kstamp); | ~~~ ^~~~~~ | %x keyadd.c:229:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 229 | fprintf(pgpout, LANG("Verification Failed\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyadd.c:229:24: note: treat the string as an argument to avoid this 229 | fprintf(pgpout, LANG("Verification Failed\n")); | ^ | "%s", keyadd.c:388:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 388 | LANG("\nWill be added to the following key:\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyadd.c:388:4: note: treat the string as an argument to avoid this 388 | LANG("\nWill be added to the following key:\n")); | ^ | "%s", keyadd.c:390:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 390 | fprintf(pgpout, LANG("\nAdd this userid (y/N)? ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyadd.c:390:19: note: treat the string as an argument to avoid this 390 | fprintf(pgpout, LANG("\nAdd this userid (y/N)? ")); | ^ | "%s", keyadd.c:529:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 529 | fprintf(pgpout, LANG("\nLooking for new keys...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyadd.c:529:21: note: treat the string as an argument to avoid this 529 | fprintf(pgpout, LANG("\nLooking for new keys...\n")); | ^ | "%s", keyadd.c:633:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 633 | fprintf(pgpout, LANG("Key has been revoked.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyadd.c:633:20: note: treat the string as an argument to avoid this 633 | fprintf(pgpout, LANG("Key has been revoked.\n")); | ^ | "%s", keyadd.c:665:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 665 | LANG("\n\007Key file contains duplicate keys: cannot be added to keyring\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyadd.c:665:1: note: treat the string as an argument to avoid this 665 | LANG("\n\007Key file contains duplicate keys: cannot be added to keyring\n")); | ^ | "%s", keyadd.c:726:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 726 | fprintf(pgpout, LANG("No new keys or signatures in keyfile.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyadd.c:726:18: note: treat the string as an argument to avoid this 726 | fprintf(pgpout, LANG("No new keys or signatures in keyfile.\n")); | ^ | "%s", keyadd.c:731:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 731 | if (status = dokeycheck(NULL, scratchf, CHECK_NEW)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyadd.c:731:16: note: place parentheses around the assignment to silence this warning 731 | if (status = dokeycheck(NULL, scratchf, CHECK_NEW)) { | ^ | ( ) keyadd.c:731:16: note: use '==' to turn this assignment into an equality comparison 731 | if (status = dokeycheck(NULL, scratchf, CHECK_NEW)) { | ^ | == keyadd.c:738:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 738 | fprintf(pgpout, LANG("\nKeyfile contains:\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyadd.c:738:21: note: treat the string as an argument to avoid this 738 | fprintf(pgpout, LANG("\nKeyfile contains:\n")); | ^ | "%s", keyadd.c:859:2: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 859 | LANG("\nOne or more of the new keys are not fully certified.\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 860 | Do you want to certify any of these keys yourself (y/N)? ")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyadd.c:859:2: note: treat the string as an argument to avoid this 859 | LANG("\nOne or more of the new keys are not fully certified.\n\ | ^ | "%s", keyadd.c:871:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 871 | LANG("\nDo you want to certify this key yourself (y/N)? ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyadd.c:871:6: note: treat the string as an argument to avoid this 871 | LANG("\nDo you want to certify this key yourself (y/N)? ")); | ^ | "%s", 13 warnings generated. --- zbits.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c zbits.c -o zbits.o --- charset.o --- --- zdeflate.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c zdeflate.c -o zdeflate.o --- keymaint.o --- keymaint.c:305:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 305 | LANG("\nPass 1: Looking for the \"ultimately-trusted\" keys...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:305:3: note: treat the string as an argument to avoid this 305 | LANG("\nPass 1: Looking for the \"ultimately-trusted\" keys...\n")); | ^ | "%s", keymaint.c:315:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 315 | fprintf(pgpout, LANG("\nPass 2: Tracing signature chains...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:315:18: note: treat the string as an argument to avoid this 315 | fprintf(pgpout, LANG("\nPass 2: Tracing signature chains...\n")); | ^ | "%s", keymaint.c:501:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 501 | fprintf(pgpout, LANG("No ultimately-trusted keys.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:501:18: note: treat the string as an argument to avoid this 501 | fprintf(pgpout, LANG("No ultimately-trusted keys.\n")); | ^ | "%s", keymaint.c:805:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 805 | fprintf(pgpout, LANG(" KeyID Trust Validity User ID\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:805:21: note: treat the string as an argument to avoid this 805 | fprintf(pgpout, LANG(" KeyID Trust Validity User ID\n")); | ^ | "%s", keymaint.c:965:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 965 | fprintf(pgpout, LANG("\n\007Cannot read from secret keyring.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:965:22: note: treat the string as an argument to avoid this 965 | fprintf(pgpout, LANG("\n\007Cannot read from secret keyring.\n")); | ^ | "%s", keymaint.c:976:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 976 | LANG("This is a serious condition, indicating possible keyring tampering.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:976:1: note: treat the string as an argument to avoid this 976 | LANG("This is a serious condition, indicating possible keyring tampering.\n")); | ^ | "%s", keymaint.c:1010:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1010 | LANG("This is a serious condition, indicating possible keyring tampering.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1010:1: note: treat the string as an argument to avoid this 1010 | LANG("This is a serious condition, indicating possible keyring tampering.\n")); | ^ | "%s", keymaint.c:1057:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1057 | LANG("\nMake a determination in your own mind whether this key actually\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1058 | belongs to the person whom you think it belongs to, based on available\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1059 | evidence. If you think it does, then based on your estimate of\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1060 | that person's integrity and competence in key management, answer\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1061 | the following question:\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1057:1: note: treat the string as an argument to avoid this 1057 | LANG("\nMake a determination in your own mind whether this key actually\n\ | ^ | "%s", keymaint.c:1237:24: warning: call to undeclared function 'read_options'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1237 | validity_status = read_options(userid, NULL, ×tamp, &validity_period); | ^ keymaint.c:1250:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1250 | fprintf(pgpout, LANG("pub")); | ^~~~~~~~~~~ keymaint.c:1250:20: note: treat the string as an argument to avoid this 1250 | fprintf(pgpout, LANG("pub")); | ^ | "%s", keymaint.c:1252:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1252 | fprintf(pgpout, LANG("sec")); | ^~~~~~~~~~~ keymaint.c:1252:20: note: treat the string as an argument to avoid this 1252 | fprintf(pgpout, LANG("sec")); | ^ | "%s", keymaint.c:1275:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1275 | fprintf(pgpout, LANG("ENCRyption only\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1275:26: note: treat the string as an argument to avoid this 1275 | fprintf(pgpout, LANG("ENCRyption only\n")); | ^ | "%s", keymaint.c:1278:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1278 | fprintf(pgpout, LANG("SIGNature only\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1278:26: note: treat the string as an argument to avoid this 1278 | fprintf(pgpout, LANG("SIGNature only\n")); | ^ | "%s", keymaint.c:1292:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1292 | fprintf(pgpout, LANG("Bad key format.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1292:23: note: treat the string as an argument to avoid this 1292 | fprintf(pgpout, LANG("Bad key format.\n")); | ^ | "%s", keymaint.c:1294:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1294 | fprintf(pgpout, LANG("Unrecognized version.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1294:23: note: treat the string as an argument to avoid this 1294 | fprintf(pgpout, LANG("Unrecognized version.\n")); | ^ | "%s", keymaint.c:1298:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1298 | fprintf(pgpout, LANG("Key has been revoked.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1298:23: note: treat the string as an argument to avoid this 1298 | fprintf(pgpout, LANG("Key has been revoked.\n")); | ^ | "%s", keymaint.c:1300:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1300 | fprintf(pgpout, LANG("Key is disabled.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1300:23: note: treat the string as an argument to avoid this 1300 | fprintf(pgpout, LANG("Key is disabled.\n")); | ^ | "%s", keymaint.c:1302:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1302 | fprintf(pgpout, LANG("Key is out of use.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1302:23: note: treat the string as an argument to avoid this 1302 | fprintf(pgpout, LANG("Key is out of use.\n")); | ^ | "%s", keymaint.c:1304:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1304 | fprintf(pgpout, LANG("Key is an ENCRyption only key.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1304:23: note: treat the string as an argument to avoid this 1304 | fprintf(pgpout, LANG("Key is an ENCRyption only key.\n")); | ^ | "%s", keymaint.c:1306:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1306 | fprintf(pgpout, LANG("Key is a SIGNature only key.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1306:23: note: treat the string as an argument to avoid this 1306 | fprintf(pgpout, LANG("Key is a SIGNature only key.\n")); | ^ | "%s", keymaint.c:1308:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1308 | fprintf(pgpout, LANG(owntrust_msg[TRUST_LEV(keyctrl)])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1308:23: note: treat the string as an argument to avoid this 1308 | fprintf(pgpout, LANG(owntrust_msg[TRUST_LEV(keyctrl)])); | ^ | "%s", keymaint.c:1318:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1318 | fprintf(pgpout, LANG(keylegit_msg[keyctrl & KC_LEGIT_MASK])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1318:19: note: treat the string as an argument to avoid this 1318 | fprintf(pgpout, LANG(keylegit_msg[keyctrl & KC_LEGIT_MASK])); | ^ | "%s", keymaint.c:1331:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1331 | fprintf(pgpout, LANG(sigtrust_msg[TRUST_LEV(keyctrl)])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1331:23: note: treat the string as an argument to avoid this 1331 | fprintf(pgpout, LANG(sigtrust_msg[TRUST_LEV(keyctrl)])); | ^ | "%s", keymaint.c:1334:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1334 | fprintf(pgpout, LANG(" Revoked by: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1334:22: note: treat the string as an argument to avoid this 1334 | fprintf(pgpout, LANG(" Revoked by: ")); | ^ | "%s", keymaint.c:1337:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1337 | fprintf(pgpout, LANG(" Certified by: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1337:22: note: treat the string as an argument to avoid this 1337 | fprintf(pgpout, LANG(" Certified by: ")); | ^ | "%s", keymaint.c:1340:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1340 | fprintf(pgpout, LANG(" Low Cert by: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1340:22: note: treat the string as an argument to avoid this 1340 | fprintf(pgpout, LANG(" Low Cert by: ")); | ^ | "%s", keymaint.c:1343:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1343 | fprintf(pgpout, LANG("Medium Cert by: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1343:22: note: treat the string as an argument to avoid this 1343 | fprintf(pgpout, LANG("Medium Cert by: ")); | ^ | "%s", keymaint.c:1346:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1346 | fprintf(pgpout, LANG(" High Cert by: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1346:22: note: treat the string as an argument to avoid this 1346 | fprintf(pgpout, LANG(" High Cert by: ")); | ^ | "%s", keymaint.c:1349:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1349 | fprintf(pgpout, LANG(" Unknown type: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~ keymaint.c:1349:22: note: treat the string as an argument to avoid this 1349 | fprintf(pgpout, LANG(" Unknown type: ")); | ^ | "%s", 29 warnings generated. --- zfile_io.o --- --- randpool.o --- --- zfile_io.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c zfile_io.c -o zfile_io.o --- zbits.o --- zbits.c:95:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | void bi_init (zipfile) | ^ zbits.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | void send_bits(value, length) | ^ zbits.c:140:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | unsigned bi_reverse(code, len) | ^ zbits.c:174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | void copy_block(buf, len, header) | ^ 4 warnings generated. --- zglobals.o --- --- zinflate.o --- --- noise.o --- --- zinflate.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c zinflate.c -o zinflate.o --- zglobals.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c zglobals.c -o zglobals.o --- zip.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c zip.c -o zip.o --- zdeflate.o --- In file included from zdeflate.c:71: In file included from ./zunzip.h:54: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ zdeflate.c:271:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | void lm_init (pack_level, flags) | ^ zdeflate.c:359:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | int longest_match(cur_match) | ^ 3 warnings generated. --- zipup.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c zipup.c -o zipup.o --- zfile_io.o --- In file included from zfile_io.c:14: In file included from ./zunzip.h:54: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ 1 warning generated. --- zglobals.o --- --- ztrees.o --- --- zunzip.o --- --- ztrees.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c ztrees.c -o ztrees.o --- zunzip.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c zunzip.c -o zunzip.o --- zip.o --- zip.c:29:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 29 | fprintf( stderr, LANG("\nOut of memory\n") ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ zip.c:29:20: note: treat the string as an argument to avoid this 29 | fprintf( stderr, LANG("\nOut of memory\n") ); | ^ | "%s", zip.c:32:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 32 | fprintf(stderr,LANG("\nCompression/decompression error\n") ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zip.c:32:18: note: treat the string as an argument to avoid this 32 | fprintf(stderr,LANG("\nCompression/decompression error\n") ); | ^ | "%s", 2 warnings generated. --- rsaglue1.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPORTABLE -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -c rsaglue1.c -o rsaglue1.o --- zipup.o --- zipup.c:102:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | int read_buf(buf, size) | ^ 1 warning generated. --- zunzip.o --- In file included from zunzip.c:9: In file included from ./zunzip.h:54: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ zunzip.c:104:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 104 | fprintf(stderr, LANG("\nERROR: unexpected end of compressed data input.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zunzip.c:104:19: note: treat the string as an argument to avoid this 104 | fprintf(stderr, LANG("\nERROR: unexpected end of compressed data input.\n")); | ^ | "%s", 2 warnings generated. --- zinflate.o --- In file included from zinflate.c:132: In file included from ./zunzip.h:54: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ zinflate.c:310:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | int huft_build(b, n, s, d, e, t, m) | ^ zinflate.c:498:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | int huft_free(t) | ^ zinflate.c:520:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | void flush(w) | ^ --- rsaglue1.o --- rsaglue1.c:131:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 131 | fprintf(pgpout, LANG("\n\007Mathematically inconsistent key. Private key files modified?\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rsaglue1.c:131:21: note: treat the string as an argument to avoid this 131 | fprintf(pgpout, LANG("\n\007Mathematically inconsistent key. Private key files modified?\n")); | ^ | "%s", rsaglue1.c:176:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 176 | fprintf(pgpout, LANG("\n\007Decryption check failed. Private key files modified?\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rsaglue1.c:176:21: note: treat the string as an argument to avoid this 176 | fprintf(pgpout, LANG("\n\007Decryption check failed. Private key files modified?\n")); | ^ | "%s", 2 warnings generated. --- zinflate.o --- zinflate.c:546:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | int inflate_codes(tl, td, bl, bd) | ^ zinflate.c:905:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | int inflate_block(e) | ^ 6 warnings generated. --- ztrees.o --- ztrees.c:334:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | void ct_init(attr, Method) | ^ ztrees.c:475:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | local void pqdownheap(tree, k) | ^ ztrees.c:507:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | local void gen_bitlen(desc) | ^ ztrees.c:592:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | local void gen_codes (tree, max_code) | ^ ztrees.c:633:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | local void build_tree(desc) | ^ ztrees.c:720:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | local void scan_tree (tree, max_code) | ^ ztrees.c:764:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | local void send_tree (tree, max_code) | ^ ztrees.c:847:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | local void send_all_trees(lcodes, dcodes, blcodes) | ^ ztrees.c:877:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | ulg flush_block(buf, stored_len, eof) | ^ ztrees.c:997:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | int ct_tally (dist, lc) | ^ ztrees.c:1050:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | local void compress_block(ltree, dtree) | ^ 11 warnings generated. --- pgp --- cc -s -o pgp pgp.o crypto.o keymgmt.o fileio.o mdfile.o more.o armor.o mpilib.o mpiio.o genprime.o rsagen.o random.o idea.o passwd.o md5.o system.o language.o getopt.o keyadd.o config.o keymaint.o charset.o randpool.o noise.o zbits.o zdeflate.o zfile_io.o zglobals.o zinflate.o zip.o zipup.o ztrees.o zunzip.o rsaglue1.o =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for pgpin-010323_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/security/pgpin/work/pgp263in/src/pgp /wrkdirs/usr/ports/security/pgpin/work/stage/usr/local/bin/pgpin install -m 444 /wrkdirs/usr/ports/security/pgpin/work/pgp263in/src/../doc/pgp.1 /wrkdirs/usr/ports/security/pgpin/work/stage/usr/local/share/man/man1/pgpin.1 /bin/mkdir -p /wrkdirs/usr/ports/security/pgpin/work/stage/usr/local/lib/pgpin install -m 0644 /wrkdirs/usr/ports/security/pgpin/work/pgp263in/src/../pgp.hlp /wrkdirs/usr/ports/security/pgpin/work/stage/usr/local/lib/pgpin/ install -m 0644 /wrkdirs/usr/ports/security/pgpin/work/pgp263in/src/../language.txt /wrkdirs/usr/ports/security/pgpin/work/stage/usr/local/lib/pgpin/language.txt.sample install -m 0644 /wrkdirs/usr/ports/security/pgpin/work/pgp263in/src/../config.txt /wrkdirs/usr/ports/security/pgpin/work/stage/usr/local/lib/pgpin/config.txt.sample /bin/mkdir -p /wrkdirs/usr/ports/security/pgpin/work/stage/usr/local/share/doc/pgpin install -m 0644 /usr/ports/security/pgpin/files/CHANGES /wrkdirs/usr/ports/security/pgpin/work/stage/usr/local/share/doc/pgpin/ install -m 0644 /wrkdirs/usr/ports/security/pgpin/work/pgp263in/src/../doc/pgpdoc1.txt /wrkdirs/usr/ports/security/pgpin/work/pgp263in/src/../doc/pgpdoc2.txt /wrkdirs/usr/ports/security/pgpin/work/stage/usr/local/share/doc/pgpin/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-09-29T13:35:15+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=7afabdcdfd9e' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for pgpin-010323_1 ===> Building pgpin-010323_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for pgpin-010323_1 build of security/pgpin | pgpin-010323_1 ended at Mon Sep 29 09:36:17 EDT 2025 build time: 00:01:06