Diff of the two buildlogs: -- --- b1/build.log 2025-02-09 03:02:08.831898521 +0000 +++ b2/build.log 2025-02-09 03:04:47.740724747 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Mar 13 21:24:21 -12 2026 -I: pbuilder-time-stamp: 1773480261 +I: Current time: Sun Feb 9 17:02:16 +14 2025 +I: pbuilder-time-stamp: 1739070136 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,54 +29,86 @@ dpkg-source: info: applying side-channel.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/10485/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/47694/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Feb 9 03:02 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/47694/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/47694/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='c7e247630a9a449e93c62b609198f84b' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='10485' - PS1='# ' - PS2='> ' + INVOCATION_ID=135cdc89452d42a19ceda889d837f772 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=47694 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.QOFhYF5r/pbuilderrc_03eY --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.QOFhYF5r/b1 --logfile b1/build.log cpp-jwt_1.4+ds-4.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.QOFhYF5r/pbuilderrc_bltL --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.QOFhYF5r/b2 --logfile b2/build.log cpp-jwt_1.4+ds-4.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/10485/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/47694/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -183,7 +215,7 @@ Get: 61 http://deb.debian.org/debian unstable/main i386 libgtest-dev i386 1.15.2-1 [272 kB] Get: 62 http://deb.debian.org/debian unstable/main i386 libssl-dev i386 3.4.0-2 [2842 kB] Get: 63 http://deb.debian.org/debian unstable/main i386 nlohmann-json3-dev all 3.11.3-1 [261 kB] -Fetched 46.1 MB in 1s (64.1 MB/s) +Fetched 46.1 MB in 1s (61.3 MB/s) Preconfiguring packages ... Selecting previously unselected package libproc2-0:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19792 files and directories currently installed.) @@ -450,7 +482,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/cpp-jwt-1.4+ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../cpp-jwt_1.4+ds-4_source.changes +I: user script /srv/workspace/pbuilder/47694/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/47694/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/cpp-jwt-1.4+ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../cpp-jwt_1.4+ds-4_source.changes dpkg-buildpackage: info: source package cpp-jwt dpkg-buildpackage: info: source version 1.4+ds-4 dpkg-buildpackage: info: source distribution unstable @@ -486,7 +522,7 @@ -- Found OpenSSL: /usr/lib/i386-linux-gnu/libcrypto.so (found version "3.4.0") found components: SSL -- Found nlohmann_json: /usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.11.3") -- Found GTest: /usr/lib/i386-linux-gnu/cmake/GTest/GTestConfig.cmake (found version "1.15.0") --- Configuring done (0.6s) +-- Configuring done (2.5s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: @@ -499,7 +535,7 @@ -- Build files have been written to: /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu make[1]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds' dh_auto_build - cd obj-i686-linux-gnu && make -j22 "INSTALL=install --strip-program=true" VERBOSE=1 + cd obj-i686-linux-gnu && make -j10 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' /usr/bin/cmake -S/build/reproducible-path/cpp-jwt-1.4+ds -B/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/CMakeFiles /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu//CMakeFiles/progress.marks @@ -512,10 +548,9 @@ make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/cpp-jwt-1.4+ds /build/reproducible-path/cpp-jwt-1.4+ds/tests /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests/CMakeFiles/test_jwt_object.dir/DependInfo.cmake "--color=" make -f tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/build.make tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/depend -make -f tests/CMakeFiles/test_jwt_rsa.dir/build.make tests/CMakeFiles/test_jwt_rsa.dir/depend make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/cpp-jwt-1.4+ds /build/reproducible-path/cpp-jwt-1.4+ds/tests /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests/CMakeFiles/test_jwt_encode.dir/DependInfo.cmake "--color=" -make -f tests/CMakeFiles/test_jwt_es.dir/build.make tests/CMakeFiles/test_jwt_es.dir/depend +make -f tests/CMakeFiles/test_jwt_rsa.dir/build.make tests/CMakeFiles/test_jwt_rsa.dir/depend make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/cpp-jwt-1.4+ds /build/reproducible-path/cpp-jwt-1.4+ds/tests /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests/CMakeFiles/test_jwt_decode.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' @@ -523,46 +558,47 @@ make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/cpp-jwt-1.4+ds /build/reproducible-path/cpp-jwt-1.4+ds/tests /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' +make -f tests/CMakeFiles/test_jwt_es.dir/build.make tests/CMakeFiles/test_jwt_es.dir/depend cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/cpp-jwt-1.4+ds /build/reproducible-path/cpp-jwt-1.4+ds/tests /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests/CMakeFiles/test_jwt_rsa.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/cpp-jwt-1.4+ds /build/reproducible-path/cpp-jwt-1.4+ds/tests /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests/CMakeFiles/test_jwt_es.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' make -f tests/CMakeFiles/test_jwt_object.dir/build.make tests/CMakeFiles/test_jwt_object.dir/build make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' -make -f tests/CMakeFiles/test_jwt_encode.dir/build.make tests/CMakeFiles/test_jwt_encode.dir/build -make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' make -f tests/CMakeFiles/test_jwt_decode.dir/build.make tests/CMakeFiles/test_jwt_decode.dir/build -make -f tests/CMakeFiles/test_jwt_decode_verifiy.dir/build.make tests/CMakeFiles/test_jwt_decode_verifiy.dir/build -make -f tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/build.make tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/build make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' -make -f tests/CMakeFiles/test_jwt_rsa.dir/build.make tests/CMakeFiles/test_jwt_rsa.dir/build +make -f tests/CMakeFiles/test_jwt_encode.dir/build.make tests/CMakeFiles/test_jwt_encode.dir/build +make -f tests/CMakeFiles/test_jwt_decode_verifiy.dir/build.make tests/CMakeFiles/test_jwt_decode_verifiy.dir/build +make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' make -f tests/CMakeFiles/test_jwt_es.dir/build.make tests/CMakeFiles/test_jwt_es.dir/build +make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' +make -f tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/build.make tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/build make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' +make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' +make -f tests/CMakeFiles/test_jwt_rsa.dir/build.make tests/CMakeFiles/test_jwt_rsa.dir/build make[3]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' +[ 21%] Building CXX object tests/CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o [ 14%] Building CXX object tests/CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o -[ 14%] Building CXX object tests/CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o [ 21%] Building CXX object tests/CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -[ 28%] Building CXX object tests/CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o -[ 35%] Building CXX object tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o -cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/c++ -I/build/reproducible-path/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -std=gnu++14 -DGTEST_HAS_PTHREAD=1 -MD -MT tests/CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o -MF CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o.d -o CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o -c /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_encode.cc -cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/c++ -I/build/reproducible-path/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -std=gnu++14 -DGTEST_HAS_PTHREAD=1 -MD -MT tests/CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -MF CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o.d -o CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -c /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_decode.cc cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/c++ -I/build/reproducible-path/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -std=gnu++14 -DGTEST_HAS_PTHREAD=1 -MD -MT tests/CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o -MF CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o.d -o CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o -c /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_object.cc -[ 42%] Building CXX object tests/CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o -[ 50%] Building CXX object tests/CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o +cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/c++ -I/build/reproducible-path/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -std=gnu++14 -DGTEST_HAS_PTHREAD=1 -MD -MT tests/CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -MF CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o.d -o CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -c /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_decode.cc cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/c++ -I/build/reproducible-path/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -std=gnu++14 -DGTEST_HAS_PTHREAD=1 -MD -MT tests/CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o -MF CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o.d -o CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o -c /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_decode_verifiy.cc -cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/c++ -I/build/reproducible-path/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -std=gnu++14 -DGTEST_HAS_PTHREAD=1 -MD -MT tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o -MF CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o.d -o CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o -c /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_decode_verifiy_with_exception.cc -cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/c++ -I/build/reproducible-path/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -std=gnu++14 -DGTEST_HAS_PTHREAD=1 -MD -MT tests/CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o -MF CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o.d -o CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o -c /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_rsa.cc +[ 28%] Building CXX object tests/CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o +[ 35%] Building CXX object tests/CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/c++ -I/build/reproducible-path/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -std=gnu++14 -DGTEST_HAS_PTHREAD=1 -MD -MT tests/CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o -MF CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o.d -o CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o -c /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_es.cc +[ 42%] Building CXX object tests/CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o +cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/c++ -I/build/reproducible-path/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -std=gnu++14 -DGTEST_HAS_PTHREAD=1 -MD -MT tests/CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o -MF CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o.d -o CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o -c /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_rsa.cc +cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/c++ -I/build/reproducible-path/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -std=gnu++14 -DGTEST_HAS_PTHREAD=1 -MD -MT tests/CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o -MF CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o.d -o CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o -c /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_encode.cc +[ 50%] Building CXX object tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o +cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/c++ -I/build/reproducible-path/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -std=gnu++14 -DGTEST_HAS_PTHREAD=1 -MD -MT tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o -MF CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o.d -o CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o -c /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_decode_verifiy_with_exception.cc In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, - from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_decode_verifiy_with_exception.cc:5: + from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_decode_verifiy.cc:5: /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); @@ -588,6 +624,18 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ +In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, + from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_decode_verifiy_with_exception.cc:5: +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 288 | if (ptr) EC_KEY_free(ptr); + | ~~~~~~~~~~~^~~~~ +In file included from /usr/include/openssl/x509.h:33, + from /usr/include/openssl/pem.h:23, + from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:39: +/usr/include/openssl/ec.h:1022:28: note: declared here + 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); + | ^~~~~~~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; @@ -601,18 +649,6 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, - from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_decode_verifiy.cc:5: -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 288 | if (ptr) EC_KEY_free(ptr); - | ~~~~~~~~~~~^~~~~ -In file included from /usr/include/openssl/x509.h:33, - from /usr/include/openssl/pem.h:23, - from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:39: -/usr/include/openssl/ec.h:1022:28: note: declared here - 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); - | ^~~~~~~~~~~ In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:554: /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] @@ -642,7 +678,7 @@ 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, - from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_decode.cc:3: + from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_object.cc:2: /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); @@ -654,7 +690,19 @@ 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, - from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_object.cc:2: + from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_encode.cc:5: +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 288 | if (ptr) EC_KEY_free(ptr); + | ~~~~~~~~~~~^~~~~ +In file included from /usr/include/openssl/x509.h:33, + from /usr/include/openssl/pem.h:23, + from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:39: +/usr/include/openssl/ec.h:1022:28: note: declared here + 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); + | ^~~~~~~~~~~ +In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, + from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_decode.cc:3: /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); @@ -665,21 +713,6 @@ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ -In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:554: -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /usr/include/openssl/pem.h:22: -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:554: /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] @@ -696,7 +729,7 @@ 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, - from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_encode.cc:5: + from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_es.cc:7: /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); @@ -720,31 +753,15 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:554: +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, - from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_rsa.cc:7: -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 288 | if (ptr) EC_KEY_free(ptr); - | ~~~~~~~~~~~^~~~~ -In file included from /usr/include/openssl/x509.h:33, - from /usr/include/openssl/pem.h:23, - from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:39: -/usr/include/openssl/ec.h:1022:28: note: declared here - 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); - | ^~~~~~~~~~~ In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:554: /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] @@ -760,6 +777,12 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; @@ -782,6 +805,19 @@ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ @@ -802,7 +838,7 @@ 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ In file included from /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, - from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_es.cc:7: + from /build/reproducible-path/cpp-jwt-1.4+ds/tests/test_jwt_rsa.cc:7: /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); @@ -897,9 +933,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here - 273 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here + 267 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -925,9 +961,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here - 276 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here + 273 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -953,9 +989,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here - 279 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here + 270 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -981,9 +1017,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here - 267 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here + 276 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1009,9 +1045,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here - 282 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here + 273 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1037,9 +1073,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here - 270 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here + 279 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1065,9 +1101,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here - 273 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here + 276 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1093,9 +1129,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here - 276 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here + 282 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1345,6 +1381,192 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' + 496 | sign = public_key_ser(pkey.get(), sign, ec); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here + 222 | ret = PEMSign::sign; + | ^~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' + 496 | sign = public_key_ser(pkey.get(), sign, ec); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:225:33: required from here + 225 | ret = PEMSign::sign; + | ^~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' + 496 | sign = public_key_ser(pkey.get(), sign, ec); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here + 228 | ret = PEMSign::sign; + | ^~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' + 496 | sign = public_key_ser(pkey.get(), sign, ec); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:231:33: required from here + 231 | ret = PEMSign::sign; + | ^~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' + 496 | sign = public_key_ser(pkey.get(), sign, ec); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here + 234 | ret = PEMSign::sign; + | ^~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' + 496 | sign = public_key_ser(pkey.get(), sign, ec); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here + 237 | ret = PEMSign::sign; + | ^~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here 267 | ret = PEMSign::verify; @@ -1373,9 +1595,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here - 270 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here + 267 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1401,9 +1623,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here - 273 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here + 270 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1429,9 +1651,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here - 276 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here + 270 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1445,9 +1667,9 @@ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here - 267 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here + 273 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1455,12 +1677,12 @@ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ @@ -1485,9 +1707,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here - 279 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here + 267 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1513,9 +1735,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here - 270 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here + 276 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1541,9 +1763,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here - 282 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here + 270 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1597,9 +1819,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here - 276 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here + 279 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1625,9 +1847,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here - 279 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here + 273 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1653,40 +1875,9 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' - 496 | sign = public_key_ser(pkey.get(), sign, ec); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here - 222 | ret = PEMSign::sign; - | ^~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here - 282 | ret = PEMSign::verify; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here + 276 | ret = PEMSign::verify; | ^~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; @@ -1700,356 +1891,183 @@ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' - 496 | sign = public_key_ser(pkey.get(), sign, ec); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:225:33: required from here - 225 | ret = PEMSign::sign; - | ^~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' - 496 | sign = public_key_ser(pkey.get(), sign, ec); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here - 228 | ret = PEMSign::sign; - | ^~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' - 496 | sign = public_key_ser(pkey.get(), sign, ec); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:231:33: required from here - 231 | ret = PEMSign::sign; - | ^~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' - 496 | sign = public_key_ser(pkey.get(), sign, ec); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here - 234 | ret = PEMSign::sign; - | ^~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' - 496 | sign = public_key_ser(pkey.get(), sign, ec); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here - 222 | ret = PEMSign::sign; - | ^~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' - 496 | sign = public_key_ser(pkey.get(), sign, ec); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:225:33: required from here - 225 | ret = PEMSign::sign; - | ^~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here + 276 | ret = PEMSign::verify; + | ^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' - 496 | sign = public_key_ser(pkey.get(), sign, ec); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here - 237 | ret = PEMSign::sign; - | ^~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here + 282 | ret = PEMSign::verify; + | ^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' - 496 | sign = public_key_ser(pkey.get(), sign, ec); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here - 228 | ret = PEMSign::sign; - | ^~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here + 279 | ret = PEMSign::verify; + | ^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' - 496 | sign = public_key_ser(pkey.get(), sign, ec); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:231:33: required from here - 231 | ret = PEMSign::sign; - | ^~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here + 279 | ret = PEMSign::verify; + | ^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' - 496 | sign = public_key_ser(pkey.get(), sign, ec); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here - 234 | ret = PEMSign::sign; - | ^~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here + 282 | ret = PEMSign::verify; + | ^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' - 496 | sign = public_key_ser(pkey.get(), sign, ec); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here - 237 | ret = PEMSign::sign; - | ^~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here + 282 | ret = PEMSign::verify; + | ^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ @@ -2193,31 +2211,34 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here - 282 | ret = PEMSign::verify; - | ^~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' + 496 | sign = public_key_ser(pkey.get(), sign, ec); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here + 222 | ret = PEMSign::sign; + | ^~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ @@ -2283,12 +2304,12 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' 496 | sign = public_key_ser(pkey.get(), sign, ec); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here - 228 | ret = PEMSign::sign; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:225:33: required from here + 225 | ret = PEMSign::sign; | ^~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; @@ -2302,6 +2323,22 @@ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here + 282 | ret = PEMSign::verify; + | ^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ @@ -2314,12 +2351,24 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 119 | EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' 496 | sign = public_key_ser(pkey.get(), sign, ec); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:231:33: required from here - 231 | ret = PEMSign::sign; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here + 228 | ret = PEMSign::sign; | ^~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; @@ -2345,12 +2394,12 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' 496 | sign = public_key_ser(pkey.get(), sign, ec); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here - 234 | ret = PEMSign::sign; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here + 228 | ret = PEMSign::sign; | ^~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; @@ -2376,12 +2425,12 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' 496 | sign = public_key_ser(pkey.get(), sign, ec); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here - 222 | ret = PEMSign::sign; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:231:33: required from here + 231 | ret = PEMSign::sign; | ^~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; @@ -2407,12 +2456,12 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' 496 | sign = public_key_ser(pkey.get(), sign, ec); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here - 237 | ret = PEMSign::sign; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:231:33: required from here + 231 | ret = PEMSign::sign; | ^~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; @@ -2438,12 +2487,12 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' 496 | sign = public_key_ser(pkey.get(), sign, ec); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:225:33: required from here - 225 | ret = PEMSign::sign; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here + 234 | ret = PEMSign::sign; | ^~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; @@ -2463,25 +2512,25 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' 496 | sign = public_key_ser(pkey.get(), sign, ec); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here - 228 | ret = PEMSign::sign; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here + 234 | ret = PEMSign::sign; | ^~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -2500,12 +2549,12 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' 496 | sign = public_key_ser(pkey.get(), sign, ec); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:231:33: required from here - 231 | ret = PEMSign::sign; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here + 237 | ret = PEMSign::sign; | ^~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; @@ -2516,6 +2565,25 @@ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' + 496 | sign = public_key_ser(pkey.get(), sign, ec); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here + 237 | ret = PEMSign::sign; + | ^~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:1391:19: note: declared here + 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ @@ -2531,12 +2599,24 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' 496 | sign = public_key_ser(pkey.get(), sign, ec); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here - 234 | ret = PEMSign::sign; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here + 222 | ret = PEMSign::sign; | ^~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; @@ -2562,12 +2642,12 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' 496 | sign = public_key_ser(pkey.get(), sign, ec); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here - 237 | ret = PEMSign::sign; +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:225:33: required from here + 225 | ret = PEMSign::sign; | ^~~~ /build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; @@ -2593,171 +2673,127 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here - 267 | ret = PEMSign::verify; - | ^~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here - 270 | ret = PEMSign::verify; - | ^~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/usr/include/openssl/evp.h:1391:19: note: declared here - 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here - 273 | ret = PEMSign::verify; - | ^~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' + 496 | sign = public_key_ser(pkey.get(), sign, ec); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here + 228 | ret = PEMSign::sign; + | ^~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here - 276 | ret = PEMSign::verify; - | ^~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' + 496 | sign = public_key_ser(pkey.get(), sign, ec); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:231:33: required from here + 231 | ret = PEMSign::sign; + | ^~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here - 279 | ret = PEMSign::verify; - | ^~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' + 496 | sign = public_key_ser(pkey.get(), sign, ec); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here + 234 | ret = PEMSign::sign; + | ^~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here - 282 | ret = PEMSign::verify; - | ^~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' + 496 | sign = public_key_ser(pkey.get(), sign, ec); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here + 237 | ret = PEMSign::sign; + | ^~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1391:19: note: declared here 1391 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 119 | EC_KEY_get0_group(ec_key.get())); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/build/reproducible-path/cpp-jwt-1.4+ds/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ @@ -3338,19 +3374,19 @@ cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_es.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro -Wl,--dependency-file=CMakeFiles/test_jwt_es.dir/link.d CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o -o test_jwt_es /usr/lib/i386-linux-gnu/libgtest_main.a /usr/lib/i386-linux-gnu/libgtest.a /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' -[ 78%] Built target test_jwt_es -[ 85%] Linking CXX executable test_jwt_decode_verifiy -cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_decode_verifiy.dir/link.txt --verbose=1 -[ 92%] Linking CXX executable test_jwt_encode +[ 85%] Linking CXX executable test_jwt_encode cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_encode.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro -Wl,--dependency-file=CMakeFiles/test_jwt_decode_verifiy.dir/link.d CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o -o test_jwt_decode_verifiy /usr/lib/i386-linux-gnu/libgtest_main.a /usr/lib/i386-linux-gnu/libgtest.a /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so -make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' -[ 92%] Built target test_jwt_decode_verifiy +[ 85%] Built target test_jwt_es +[ 92%] Linking CXX executable test_jwt_decode_verifiy +cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_decode_verifiy.dir/link.txt --verbose=1 [100%] Linking CXX executable test_jwt_decode_verifiy_with_exception cd /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro -Wl,--dependency-file=CMakeFiles/test_jwt_encode.dir/link.d CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o -o test_jwt_encode /usr/lib/i386-linux-gnu/libgtest_main.a /usr/lib/i386-linux-gnu/libgtest.a /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' [100%] Built target test_jwt_encode +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro -Wl,--dependency-file=CMakeFiles/test_jwt_decode_verifiy.dir/link.d CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o -o test_jwt_decode_verifiy /usr/lib/i386-linux-gnu/libgtest_main.a /usr/lib/i386-linux-gnu/libgtest.a /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so +make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' +[100%] Built target test_jwt_decode_verifiy /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/reproducible-path/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro -Wl,--dependency-file=CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/link.d CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o -o test_jwt_decode_verifiy_with_exception /usr/lib/i386-linux-gnu/libgtest_main.a /usr/lib/i386-linux-gnu/libgtest.a /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so make[3]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' [100%] Built target test_jwt_decode_verifiy_with_exception @@ -3358,10 +3394,10 @@ /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/CMakeFiles 0 make[1]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' dh_auto_test - cd obj-i686-linux-gnu && make -j22 test ARGS\+=--verbose ARGS\+=-j22 + cd obj-i686-linux-gnu && make -j10 test ARGS\+=--verbose ARGS\+=-j10 make[1]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' Running tests... -/usr/bin/ctest --force-new-ctest-process --verbose -j22 +/usr/bin/ctest --force-new-ctest-process --verbose -j10 UpdateCTestConfiguration from :/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/DartConfiguration.tcl UpdateCTestConfiguration from :/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu/DartConfiguration.tcl Test project /build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu @@ -3432,6 +3468,43 @@ 2: [ RUN ] EncodeTest.TestRemoveClaim 2: [ OK ] EncodeTest.TestRemoveClaim (0 ms) 2: [ RUN ] EncodeTest.TestRemoveTypHeader +2: Header: {"alg":"HS256"} +2: Signature: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzkwNzAyNjUsImlhdCI6MTUxMzg2MjM3MSwiaWQiOiJhLWItYy1kLWUtZi0xLTItMyIsImlzcyI6ImFydW4ubXVyYWxpZGhhcmFuIiwic3ViIjoiYWRtaW4ifQ.4szSqPkYn5epXUz2cTnThiEKay6mzFKei2STBLAv-rs +2: [ OK ] EncodeTest.TestRemoveTypHeader (51 ms) +2: [ RUN ] EncodeTest.StrEncodeHS256_1 +2: Header: {"alg":"HS256","typ":"JWT"} +2: Payload: {"iat":1513862371,"id":"a-b-c-d-e-f-1-2-3","iss":"arun.muralidharan","sub":"admin"} +2: Signature: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1MTM4NjIzNzEsImlkIjoiYS1iLWMtZC1lLWYtMS0yLTMiLCJpc3MiOiJhcnVuLm11cmFsaWRoYXJhbiIsInN1YiI6ImFkbWluIn0.jk7bRQKTLvs1RcuvMc2B_rt6WBYPoVPirYi_QRBPiuk +2: [ OK ] EncodeTest.StrEncodeHS256_1 (0 ms) +2: [ RUN ] EncodeTest.StrEncodeHS256_2 +2: [ OK ] EncodeTest.StrEncodeHS256_2 (0 ms) +2: [ RUN ] EncodeTest.StrEncodeNONE +2: Header: {"alg":"NONE","typ":"JWT"} +2: Payload: {"aud":"rift.io","exp":1513863371,"sub":"nothing much"} +2: [ OK ] EncodeTest.StrEncodeNONE (0 ms) +2: [ RUN ] EncodeTest.StrEncodeHS256WithKey +2: [ OK ] EncodeTest.StrEncodeHS256WithKey (0 ms) +2: [ RUN ] EncodeTest.StrEncodeHS384WithKey +2: [ OK ] EncodeTest.StrEncodeHS384WithKey (0 ms) +2: [ RUN ] EncodeTest.StrEncodeHS512WithKey +2: [ OK ] EncodeTest.StrEncodeHS512WithKey (0 ms) +2: [ RUN ] EncodeTest.StrEncodeChangeAlg +2: [ OK ] EncodeTest.StrEncodeChangeAlg (0 ms) +2: [ RUN ] EncodeTest.StrEncodeNoKey +2: [ OK ] EncodeTest.StrEncodeNoKey (0 ms) +2: [ RUN ] EncodeTest.StrEncodeNoneAlgWithKey +2: [ OK ] EncodeTest.StrEncodeNoneAlgWithKey (0 ms) +2: [ RUN ] EncodeTest.OverwriteClaimsTest +2: [ OK ] EncodeTest.OverwriteClaimsTest (0 ms) +2: [ RUN ] EncodeTest.HeaderParamTest +2: {"alg":"none","crit":["exp"],"kid":1234567,"typ":"jwt"} +2: {"alg":"none","crit":["exp"],"kid":1234567,"typ":"jwt"} +2: [ OK ] EncodeTest.HeaderParamTest (0 ms) +2: [----------] 13 tests from EncodeTest (51 ms total) +2: +2: [----------] Global test environment tear-down +2: [==========] 13 tests from 1 test suite ran. (51 ms total) +2: [ PASSED ] 13 tests. 3: Running main() from ./googletest/src/gtest_main.cc 3: [==========] Running 11 tests from 1 test suite. 3: [----------] Global test environment set-up. @@ -3460,114 +3533,65 @@ 3: [ RUN ] DecodeTest.TypHeaderMiss 3: Decode header: {"alg":"HS256"} 3: [ OK ] DecodeTest.TypHeaderMiss (0 ms) -3: [----------] 11 tests from DecodeTest (1 ms total) +3: [----------] 11 tests from DecodeTest (0 ms total) 3: 3: [----------] Global test environment tear-down -3: [==========] 11 tests from 1 test suite ran. (1 ms total) +3: [==========] 11 tests from 1 test suite ran. (0 ms total) 3: [ PASSED ] 11 tests. 4: Running main() from ./googletest/src/gtest_main.cc 4: [==========] Running 12 tests from 1 test suite. 4: [----------] Global test environment set-up. 4: [----------] 12 tests from DecodeVerify 4: [ RUN ] DecodeVerify.BeforeExpiryTest -5: Running main() from ./googletest/src/gtest_main.cc -5: [==========] Running 13 tests from 1 test suite. -5: [----------] Global test environment set-up. -5: [----------] 13 tests from DecodeVerifyExp -5: [ RUN ] DecodeVerifyExp.BeforeExpiryTest -1/7 Test #1: test_jwt_object .......................... Passed 0.01 sec -2/7 Test #3: test_jwt_decode .......................... Passed 0.01 sec -6: Running main() from ./googletest/src/gtest_main.cc -6: [==========] Running 4 tests from 1 test suite. -6: [----------] Global test environment set-up. -6: [----------] 4 tests from RSAAlgo -6: [ RUN ] RSAAlgo.RSA256EncodingDecodingTest -7: Running main() from ./googletest/src/gtest_main.cc -7: [==========] Running 4 tests from 1 test suite. -7: [----------] Global test environment set-up. -7: [----------] 4 tests from ESAlgo -7: [ RUN ] ESAlgo.ES256EncodingDecodingTest -2: Header: {"alg":"HS256"} -2: Signature: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NzM0ODAzMDIsImlhdCI6MTUxMzg2MjM3MSwiaWQiOiJhLWItYy1kLWUtZi0xLTItMyIsImlzcyI6ImFydW4ubXVyYWxpZGhhcmFuIiwic3ViIjoiYWRtaW4ifQ.xBoHip1qATZoWkBmXGJgHEUzivmO4lQY9y_g9Wm3z1U -2: [ OK ] EncodeTest.TestRemoveTypHeader (9 ms) -2: [ RUN ] EncodeTest.StrEncodeHS256_1 -2: Header: {"alg":"HS256","typ":"JWT"} -2: Payload: {"iat":1513862371,"id":"a-b-c-d-e-f-1-2-3","iss":"arun.muralidharan","sub":"admin"} -4: [ OK ] DecodeVerify.BeforeExpiryTest (7 ms) +4: [ OK ] DecodeVerify.BeforeExpiryTest (11 ms) 4: [ RUN ] DecodeVerify.AfterExpiryTest 4: [ OK ] DecodeVerify.AfterExpiryTest (0 ms) 4: [ RUN ] DecodeVerify.AfterExpiryWithLeeway -2: Signature: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1MTM4NjIzNzEsImlkIjoiYS1iLWMtZC1lLWYtMS0yLTMiLCJpc3MiOiJhcnVuLm11cmFsaWRoYXJhbiIsInN1YiI6ImFkbWluIn0.jk7bRQKTLvs1RcuvMc2B_rt6WBYPoVPirYi_QRBPiuk -2: [ OK ] EncodeTest.StrEncodeHS256_1 (0 ms) -2: [ RUN ] EncodeTest.StrEncodeHS256_2 -2: [ OK ] EncodeTest.StrEncodeHS256_2 (0 ms) -2: [ RUN ] EncodeTest.StrEncodeNONE -2: Header: {"alg":"NONE","typ":"JWT"} -2: Payload: {"aud":"rift.io","exp":1513863371,"sub":"nothing much"} -2: [ OK ] EncodeTest.StrEncodeNONE (0 ms) -2: [ RUN ] EncodeTest.StrEncodeHS256WithKey -5: [ OK ] DecodeVerifyExp.BeforeExpiryTest (6 ms) -5: [ RUN ] DecodeVerifyExp.AfterExpiryTest -5: [ OK ] DecodeVerifyExp.AfterExpiryTest (0 ms) -5: [ RUN ] DecodeVerifyExp.AfterExpiryWithLeeway 4: [ OK ] DecodeVerify.AfterExpiryWithLeeway (0 ms) 4: [ RUN ] DecodeVerify.ValidIssuerTest 4: [ OK ] DecodeVerify.ValidIssuerTest (0 ms) 4: [ RUN ] DecodeVerify.InvalidIssuerTest_1 -2: [ OK ] EncodeTest.StrEncodeHS256WithKey (0 ms) -2: [ RUN ] EncodeTest.StrEncodeHS384WithKey -2: [ OK ] EncodeTest.StrEncodeHS384WithKey (0 ms) -2: [ RUN ] EncodeTest.StrEncodeHS512WithKey -2: [ OK ] EncodeTest.StrEncodeHS512WithKey (0 ms) -2: [ RUN ] EncodeTest.StrEncodeChangeAlg 4: [ OK ] DecodeVerify.InvalidIssuerTest_1 (0 ms) 4: [ RUN ] DecodeVerify.InvalidIssuerTest_2 4: [ OK ] DecodeVerify.InvalidIssuerTest_2 (0 ms) 4: [ RUN ] DecodeVerify.NotImmatureSignatureTest -2: [ OK ] EncodeTest.StrEncodeChangeAlg (0 ms) -2: [ RUN ] EncodeTest.StrEncodeNoKey -2: [ OK ] EncodeTest.StrEncodeNoKey (0 ms) -2: [ RUN ] EncodeTest.StrEncodeNoneAlgWithKey -2: [ OK ] EncodeTest.StrEncodeNoneAlgWithKey (0 ms) -2: [ RUN ] EncodeTest.OverwriteClaimsTest -2: [ OK ] EncodeTest.OverwriteClaimsTest (0 ms) -2: [ RUN ] EncodeTest.HeaderParamTest -5: [ OK ] DecodeVerifyExp.AfterExpiryWithLeeway (0 ms) -5: [ RUN ] DecodeVerifyExp.ValidIssuerTest -5: [ OK ] DecodeVerifyExp.ValidIssuerTest (0 ms) -5: [ RUN ] DecodeVerifyExp.InvalidIssuerTest_1 4: [ OK ] DecodeVerify.NotImmatureSignatureTest (0 ms) 4: [ RUN ] DecodeVerify.ImmatureSignatureTest 4: [ OK ] DecodeVerify.ImmatureSignatureTest (0 ms) 4: [ RUN ] DecodeVerify.ImmatureSignatureTestWithLeeway -2: {"alg":"none","crit":["exp"],"kid":1234567,"typ":"jwt"} -2: {"alg":"none","crit":["exp"],"kid":1234567,"typ":"jwt"} -2: [ OK ] EncodeTest.HeaderParamTest (0 ms) -5: [ OK ] DecodeVerifyExp.InvalidIssuerTest_1 (0 ms) -5: [ RUN ] DecodeVerifyExp.InvalidIssuerTest_2 -5: [ OK ] DecodeVerifyExp.InvalidIssuerTest_2 (0 ms) 4: [ OK ] DecodeVerify.ImmatureSignatureTestWithLeeway (0 ms) 4: [ RUN ] DecodeVerify.InvalidAudienceTest -2: [----------] 13 tests from EncodeTest (9 ms total) -2: -2: [----------] Global test environment tear-down -2: [==========] 13 tests from 1 test suite ran. (9 ms total) -2: [ PASSED ] 13 tests. -5: [ RUN ] DecodeVerifyExp.NotImmatureSignatureTest -5: [ OK ] DecodeVerifyExp.NotImmatureSignatureTest (0 ms) -5: [ RUN ] DecodeVerifyExp.ImmatureSignatureTest 4: [ OK ] DecodeVerify.InvalidAudienceTest (0 ms) 4: [ RUN ] DecodeVerify.InvalidIATTest -5: [ OK ] DecodeVerifyExp.ImmatureSignatureTest (0 ms) -5: [ RUN ] DecodeVerifyExp.ImmatureSignatureTestWithLeeway 4: [ OK ] DecodeVerify.InvalidIATTest (0 ms) 4: [ RUN ] DecodeVerify.InvalidSignatureTest 4: [ OK ] DecodeVerify.InvalidSignatureTest (0 ms) -4: [----------] 12 tests from DecodeVerify (7 ms total) +4: [----------] 12 tests from DecodeVerify (11 ms total) 4: 4: [----------] Global test environment tear-down -4: [==========] 12 tests from 1 test suite ran. (7 ms total) +4: [==========] 12 tests from 1 test suite ran. (11 ms total) 4: [ PASSED ] 12 tests. +5: Running main() from ./googletest/src/gtest_main.cc +5: [==========] Running 13 tests from 1 test suite. +5: [----------] Global test environment set-up. +5: [----------] 13 tests from DecodeVerifyExp +5: [ RUN ] DecodeVerifyExp.BeforeExpiryTest +5: [ OK ] DecodeVerifyExp.BeforeExpiryTest (10 ms) +5: [ RUN ] DecodeVerifyExp.AfterExpiryTest +5: [ OK ] DecodeVerifyExp.AfterExpiryTest (0 ms) +5: [ RUN ] DecodeVerifyExp.AfterExpiryWithLeeway +5: [ OK ] DecodeVerifyExp.AfterExpiryWithLeeway (0 ms) +5: [ RUN ] DecodeVerifyExp.ValidIssuerTest +5: [ OK ] DecodeVerifyExp.ValidIssuerTest (0 ms) +5: [ RUN ] DecodeVerifyExp.InvalidIssuerTest_1 +5: [ OK ] DecodeVerifyExp.InvalidIssuerTest_1 (0 ms) +5: [ RUN ] DecodeVerifyExp.InvalidIssuerTest_2 +5: [ OK ] DecodeVerifyExp.InvalidIssuerTest_2 (0 ms) +5: [ RUN ] DecodeVerifyExp.NotImmatureSignatureTest +5: [ OK ] DecodeVerifyExp.NotImmatureSignatureTest (0 ms) +5: [ RUN ] DecodeVerifyExp.ImmatureSignatureTest +5: [ OK ] DecodeVerifyExp.ImmatureSignatureTest (0 ms) +5: [ RUN ] DecodeVerifyExp.ImmatureSignatureTestWithLeeway 5: [ OK ] DecodeVerifyExp.ImmatureSignatureTestWithLeeway (0 ms) 5: [ RUN ] DecodeVerifyExp.InvalidAudienceTest 5: [ OK ] DecodeVerifyExp.InvalidAudienceTest (0 ms) @@ -3577,49 +3601,61 @@ 5: [ OK ] DecodeVerifyExp.KeyNotPresentTest (0 ms) 5: [ RUN ] DecodeVerifyExp.InvalidSubjectTest 5: [ OK ] DecodeVerifyExp.InvalidSubjectTest (0 ms) -5: [----------] 13 tests from DecodeVerifyExp (6 ms total) +5: [----------] 13 tests from DecodeVerifyExp (11 ms total) 5: 5: [----------] Global test environment tear-down -5: [==========] 13 tests from 1 test suite ran. (6 ms total) +5: [==========] 13 tests from 1 test suite ran. (11 ms total) 5: [ PASSED ] 13 tests. -3/7 Test #2: test_jwt_encode .......................... Passed 0.01 sec -4/7 Test #4: test_jwt_decode_verifiy .................. Passed 0.01 sec -5/7 Test #5: test_jwt_decode_verifiy_with_exception ... Passed 0.01 sec -7: [ OK ] ESAlgo.ES256EncodingDecodingTest (10 ms) +6: Running main() from ./googletest/src/gtest_main.cc +6: [==========] Running 4 tests from 1 test suite. +6: [----------] Global test environment set-up. +6: [----------] 4 tests from RSAAlgo +6: [ RUN ] RSAAlgo.RSA256EncodingDecodingTest +1/7 Test #1: test_jwt_object .......................... Passed 0.15 sec +2/7 Test #2: test_jwt_encode .......................... Passed 0.14 sec +3/7 Test #3: test_jwt_decode .......................... Passed 0.11 sec +4/7 Test #4: test_jwt_decode_verifiy .................. Passed 0.10 sec +5/7 Test #5: test_jwt_decode_verifiy_with_exception ... Passed 0.07 sec +7: Running main() from ./googletest/src/gtest_main.cc +7: [==========] Running 4 tests from 1 test suite. +7: [----------] Global test environment set-up. +7: [----------] 4 tests from ESAlgo +7: [ RUN ] ESAlgo.ES256EncodingDecodingTest +7: [ OK ] ESAlgo.ES256EncodingDecodingTest (26 ms) 7: [ RUN ] ESAlgo.ES384EncodingDecodingTest -6: [ OK ] RSAAlgo.RSA256EncodingDecodingTest (15 ms) -6: [ RUN ] RSAAlgo.RSA384EncodingDecodingTest -7: [ OK ] ESAlgo.ES384EncodingDecodingTest (3 ms) +7: [ OK ] ESAlgo.ES384EncodingDecodingTest (7 ms) 7: [ RUN ] ESAlgo.ES512EncodingDecodingTest -7: [ OK ] ESAlgo.ES512EncodingDecodingTest (3 ms) +6: [ OK ] RSAAlgo.RSA256EncodingDecodingTest (58 ms) +6: [ RUN ] RSAAlgo.RSA384EncodingDecodingTest +7: [ OK ] ESAlgo.ES512EncodingDecodingTest (6 ms) 7: [ RUN ] ESAlgo.ES384EncodingDecodingValidTest -7: [ OK ] ESAlgo.ES384EncodingDecodingValidTest (9 ms) -7: [----------] 4 tests from ESAlgo (28 ms total) +7: [ OK ] ESAlgo.ES384EncodingDecodingValidTest (36 ms) +7: [----------] 4 tests from ESAlgo (77 ms total) 7: 7: [----------] Global test environment tear-down -7: [==========] 4 tests from 1 test suite ran. (28 ms total) +7: [==========] 4 tests from 1 test suite ran. (77 ms total) 7: [ PASSED ] 4 tests. -6/7 Test #7: test_jwt_es .............................. Passed 0.03 sec -6: [ OK ] RSAAlgo.RSA384EncodingDecodingTest (55 ms) +6/7 Test #7: test_jwt_es .............................. Passed 0.11 sec +6: [ OK ] RSAAlgo.RSA384EncodingDecodingTest (102 ms) 6: [ RUN ] RSAAlgo.RSA512EncodingDecodingTest -6: [ OK ] RSAAlgo.RSA512EncodingDecodingTest (320 ms) +6: [ OK ] RSAAlgo.RSA512EncodingDecodingTest (1097 ms) 6: [ RUN ] RSAAlgo.NoSpecificAlgo -6: [ OK ] RSAAlgo.NoSpecificAlgo (321 ms) -6: [----------] 4 tests from RSAAlgo (712 ms total) +6: [ OK ] RSAAlgo.NoSpecificAlgo (824 ms) +6: [----------] 4 tests from RSAAlgo (2083 ms total) 6: 6: [----------] Global test environment tear-down -6: [==========] 4 tests from 1 test suite ran. (713 ms total) +6: [==========] 4 tests from 1 test suite ran. (2083 ms total) 6: [ PASSED ] 4 tests. -7/7 Test #6: test_jwt_rsa ............................. Passed 0.72 sec +7/7 Test #6: test_jwt_rsa ............................. Passed 2.11 sec 100% tests passed, 0 tests failed out of 7 -Total Test time (real) = 0.73 sec +Total Test time (real) = 2.26 sec make[1]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/libcpp-jwt-dev/ - cd obj-i686-linux-gnu && make -j22 install DESTDIR=/build/reproducible-path/cpp-jwt-1.4\+ds/debian/libcpp-jwt-dev AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + cd obj-i686-linux-gnu && make -j10 install DESTDIR=/build/reproducible-path/cpp-jwt-1.4\+ds/debian/libcpp-jwt-dev AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' /usr/bin/cmake -S/build/reproducible-path/cpp-jwt-1.4+ds -B/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 preinstall @@ -3636,29 +3672,29 @@ -- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/detail/meta.hpp -- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/impl -- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/impl/algorithm.ipp --- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/impl/jwt.ipp -- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/impl/stack_alloc.ipp -- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/impl/error_codes.ipp -- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/impl/string_view.ipp +-- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/impl/jwt.ipp -- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/json -- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/json/test_json.cc -- Up-to-date: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt --- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/algorithm.hpp --- Up-to-date: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/detail --- Up-to-date: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/detail/meta.hpp --- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/base64.hpp --- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/error_codes.hpp --- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/jwt.hpp --- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/test -- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/exceptions.hpp +-- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/jwt.hpp -- Up-to-date: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/json --- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/stack_alloc.hpp --- Up-to-date: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/impl --- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/config.hpp +-- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/test -- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/parameters.hpp -- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/assertions.hpp --- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/short_string.hpp -- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/string_view.hpp +-- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/stack_alloc.hpp +-- Up-to-date: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/detail +-- Up-to-date: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/detail/meta.hpp +-- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/short_string.hpp +-- Up-to-date: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/impl +-- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/error_codes.hpp +-- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/config.hpp +-- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/algorithm.hpp +-- Installing: /build/reproducible-path/cpp-jwt-1.4+ds/debian/libcpp-jwt-dev/usr/include/jwt/base64.hpp make[1]: Leaving directory '/build/reproducible-path/cpp-jwt-1.4+ds/obj-i686-linux-gnu' debian/rules execute_after_dh_auto_install make[1]: Entering directory '/build/reproducible-path/cpp-jwt-1.4+ds' @@ -3685,12 +3721,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/47694/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/47694/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/10485 and its subdirectories -I: Current time: Fri Mar 13 21:25:06 -12 2026 -I: pbuilder-time-stamp: 1773480306 +I: removing directory /srv/workspace/pbuilder/47694 and its subdirectories +I: Current time: Sun Feb 9 17:04:46 +14 2025 +I: pbuilder-time-stamp: 1739070287