Diff of the two buildlogs: -- --- b1/build.log 2023-05-03 11:01:17.380930329 +0000 +++ b2/build.log 2023-05-03 11:03:12.923853782 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 2 22:56:18 -12 2023 -I: pbuilder-time-stamp: 1683111378 +I: Current time: Wed Jun 5 07:24:20 +14 2024 +I: pbuilder-time-stamp: 1717521860 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./cpp-jwt_1.4+ds.orig.tar.xz] I: copying [./cpp-jwt_1.4+ds-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Dec 27 01:40:13 2022 -12 +gpgv: Signature made Wed Dec 28 03:40:13 2022 +14 gpgv: using EDDSA key BA56E348BD94451EDEC970074A9208A2455077A7 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./cpp-jwt_1.4+ds-3.dsc: no acceptable signature found @@ -29,52 +29,84 @@ dpkg-source: info: applying cmake-version-file-arch-independent.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/17446/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/7607/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-arm64. +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 Jun 5 07:24 /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/7607/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/7607/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='17446' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=7607 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.7E5KTtdQ/pbuilderrc_NpLN --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.7E5KTtdQ/b1 --logfile b1/build.log cpp-jwt_1.4+ds-3.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.7E5KTtdQ/pbuilderrc_Dlnk --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.7E5KTtdQ/b2 --logfile b2/build.log --extrapackages usrmerge cpp-jwt_1.4+ds-3.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink14-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 30 22:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/17446/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 4 06:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/7607/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -170,7 +202,7 @@ Get: 50 http://deb.debian.org/debian bookworm/main arm64 libgtest-dev arm64 1.12.1-0.2 [231 kB] Get: 51 http://deb.debian.org/debian bookworm/main arm64 libssl-dev arm64 3.0.8-1 [2296 kB] Get: 52 http://deb.debian.org/debian bookworm/main arm64 nlohmann-json3-dev all 3.11.2-2 [259 kB] -Fetched 33.2 MB in 1s (46.8 MB/s) +Fetched 33.2 MB in 3s (10.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libproc2-0:arm64. (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 ... 19616 files and directories currently installed.) @@ -392,8 +424,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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-3_source.changes +I: user script /srv/workspace/pbuilder/7607/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/7607/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/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-3_source.changes dpkg-buildpackage: info: source package cpp-jwt dpkg-buildpackage: info: source version 1.4+ds-3 dpkg-buildpackage: info: source distribution unstable @@ -449,62 +490,68 @@ make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' make -f tests/CMakeFiles/test_jwt_object.dir/build.make tests/CMakeFiles/test_jwt_object.dir/depend +make -f tests/CMakeFiles/test_jwt_encode.dir/build.make tests/CMakeFiles/test_jwt_encode.dir/depend +make -f tests/CMakeFiles/test_jwt_decode.dir/build.make tests/CMakeFiles/test_jwt_decode.dir/depend +make -f tests/CMakeFiles/test_jwt_decode_verifiy.dir/build.make tests/CMakeFiles/test_jwt_decode_verifiy.dir/depend +make -f tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/build.make tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/depend make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/cpp-jwt-1.4+ds /build/cpp-jwt-1.4+ds/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests/CMakeFiles/test_jwt_object.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/test_jwt_encode.dir/build.make tests/CMakeFiles/test_jwt_encode.dir/depend +make -f tests/CMakeFiles/test_jwt_rsa.dir/build.make tests/CMakeFiles/test_jwt_rsa.dir/depend make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/cpp-jwt-1.4+ds /build/cpp-jwt-1.4+ds/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests/CMakeFiles/test_jwt_encode.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/test_jwt_decode.dir/build.make tests/CMakeFiles/test_jwt_decode.dir/depend -make -f tests/CMakeFiles/test_jwt_decode_verifiy.dir/build.make tests/CMakeFiles/test_jwt_decode_verifiy.dir/depend make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/cpp-jwt-1.4+ds /build/cpp-jwt-1.4+ds/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests/CMakeFiles/test_jwt_decode.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/cpp-jwt-1.4+ds /build/cpp-jwt-1.4+ds/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests/CMakeFiles/test_jwt_decode_verifiy.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/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/cpp-jwt-1.4+ds /build/cpp-jwt-1.4+ds/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/DependInfo.cmake --color= -make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/cpp-jwt-1.4+ds /build/cpp-jwt-1.4+ds/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests/CMakeFiles/test_jwt_rsa.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/build -make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' make -f tests/CMakeFiles/test_jwt_es.dir/build.make tests/CMakeFiles/test_jwt_es.dir/depend make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/cpp-jwt-1.4+ds /build/cpp-jwt-1.4+ds/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests/CMakeFiles/test_jwt_es.dir/DependInfo.cmake --color= make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' -make -f tests/CMakeFiles/test_jwt_object.dir/build.make tests/CMakeFiles/test_jwt_object.dir/build make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' -[ 7%] Building CXX object tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o -make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' -cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/c++ -I/build/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -DGTEST_HAS_PTHREAD=1 -std=gnu++14 -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/cpp-jwt-1.4+ds/tests/test_jwt_decode_verifiy_with_exception.cc make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' -make -f tests/CMakeFiles/test_jwt_decode.dir/build.make tests/CMakeFiles/test_jwt_decode.dir/build make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' -make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' -make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' make -f tests/CMakeFiles/test_jwt_encode.dir/build.make tests/CMakeFiles/test_jwt_encode.dir/build -make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' +make -f tests/CMakeFiles/test_jwt_object.dir/build.make tests/CMakeFiles/test_jwt_object.dir/build +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[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' make -f tests/CMakeFiles/test_jwt_rsa.dir/build.make tests/CMakeFiles/test_jwt_rsa.dir/build make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' +make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' +make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' +make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' +make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' +make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-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/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' make -f tests/CMakeFiles/test_jwt_es.dir/build.make tests/CMakeFiles/test_jwt_es.dir/build make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' -[ 14%] Building CXX object tests/CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o -[ 21%] Building CXX object tests/CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o -cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/c++ -I/build/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -DGTEST_HAS_PTHREAD=1 -std=gnu++14 -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/cpp-jwt-1.4+ds/tests/test_jwt_object.cc -cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/c++ -I/build/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -DGTEST_HAS_PTHREAD=1 -std=gnu++14 -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/cpp-jwt-1.4+ds/tests/test_jwt_rsa.cc +make[3]: Entering directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' +[ 28%] Building CXX object tests/CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o +[ 28%] Building CXX object tests/CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o [ 28%] Building CXX object tests/CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -[ 35%] Building CXX object tests/CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o -[ 42%] Building CXX object tests/CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o -cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/c++ -I/build/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -DGTEST_HAS_PTHREAD=1 -std=gnu++14 -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/cpp-jwt-1.4+ds/tests/test_jwt_encode.cc +[ 28%] Building CXX object tests/CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/c++ -I/build/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -DGTEST_HAS_PTHREAD=1 -std=gnu++14 -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/cpp-jwt-1.4+ds/tests/test_jwt_decode.cc +cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/c++ -I/build/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -DGTEST_HAS_PTHREAD=1 -std=gnu++14 -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/cpp-jwt-1.4+ds/tests/test_jwt_encode.cc cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/c++ -I/build/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -DGTEST_HAS_PTHREAD=1 -std=gnu++14 -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/cpp-jwt-1.4+ds/tests/test_jwt_decode_verifiy.cc +cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/c++ -I/build/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -DGTEST_HAS_PTHREAD=1 -std=gnu++14 -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/cpp-jwt-1.4+ds/tests/test_jwt_object.cc +[ 35%] Building CXX object tests/CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o +cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/c++ -I/build/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -DGTEST_HAS_PTHREAD=1 -std=gnu++14 -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/cpp-jwt-1.4+ds/tests/test_jwt_rsa.cc +[ 42%] Building CXX object tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o +cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/c++ -I/build/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -DGTEST_HAS_PTHREAD=1 -std=gnu++14 -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/cpp-jwt-1.4+ds/tests/test_jwt_decode_verifiy_with_exception.cc [ 50%] Building CXX object tests/CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/c++ -I/build/cpp-jwt-1.4+ds/include -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -DGTEST_HAS_PTHREAD=1 -std=gnu++14 -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/cpp-jwt-1.4+ds/tests/test_jwt_es.cc In file included from /build/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, + from /build/cpp-jwt-1.4+ds/tests/test_jwt_decode_verifiy.cc:5: +/build/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': +/build/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 /build/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, from /build/cpp-jwt-1.4+ds/tests/test_jwt_decode_verifiy_with_exception.cc:5: /build/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /build/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] @@ -516,12 +563,6 @@ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ -In file included from /build/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, - from /build/cpp-jwt-1.4+ds/tests/test_jwt_decode_verifiy.cc:5: -/build/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': -/build/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/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:39: @@ -585,7 +626,7 @@ 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ In file included from /build/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, - from /build/cpp-jwt-1.4+ds/tests/test_jwt_decode.cc:3: + from /build/cpp-jwt-1.4+ds/tests/test_jwt_object.cc:2: /build/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /build/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); @@ -597,7 +638,7 @@ 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /build/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, - from /build/cpp-jwt-1.4+ds/tests/test_jwt_object.cc:2: + from /build/cpp-jwt-1.4+ds/tests/test_jwt_decode.cc:3: /build/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /build/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); @@ -621,6 +662,18 @@ 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /build/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, + from /build/cpp-jwt-1.4+ds/tests/test_jwt_rsa.cc:7: +/build/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': +/build/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/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:39: +/usr/include/openssl/ec.h:1003:28: note: declared here + 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); + | ^~~~~~~~~~~ +In file included from /build/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, from /build/cpp-jwt-1.4+ds/tests/test_jwt_es.cc:7: /build/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /build/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] @@ -641,25 +694,15 @@ /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/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:1034:39: note: declared here - 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:554: +/build/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/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/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:1034:39: note: declared here - 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ In file included from /build/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:554: /build/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/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] @@ -675,6 +718,18 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ +/build/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:1034:39: note: declared here + 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/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:1034:39: note: declared here + 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ In file included from /build/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:554: /build/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/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] @@ -697,39 +752,6 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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:1034:39: note: declared here - 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -In file included from /build/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:554: -/build/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/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:1374:19: note: declared here - 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -In file included from /build/cpp-jwt-1.4+ds/include/jwt/jwt.hpp:37, - from /build/cpp-jwt-1.4+ds/tests/test_jwt_rsa.cc:7: -/build/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': -/build/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/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:39: -/usr/include/openssl/ec.h:1003:28: note: declared here - 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); - | ^~~~~~~~~~~ -/build/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:1034:39: note: declared here - 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ /build/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/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}; @@ -756,6 +778,12 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ +/build/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:1034:39: note: declared here + 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ In file included from /build/cpp-jwt-1.4+ds/include/jwt/algorithm.hpp:554: /build/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/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] @@ -765,9 +793,22 @@ /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ +/build/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/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:1374:19: note: declared here + 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ /build/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/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:1034:39: note: declared here + 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ @@ -836,8 +877,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -862,8 +903,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -888,8 +929,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -914,8 +955,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -940,8 +981,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -966,8 +1007,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -992,8 +1033,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1018,8 +1059,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1044,8 +1085,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1096,20 +1137,6 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here -/build/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:1374:19: note: declared here - 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/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:1374:19: note: declared here - 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ /build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here /build/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] @@ -1136,18 +1163,6 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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:1034:39: note: declared here - 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/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:1034:39: note: declared here - 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ /build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here /build/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] @@ -1174,8 +1189,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1200,8 +1215,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1226,8 +1241,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1252,8 +1267,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1278,8 +1293,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1304,8 +1319,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1330,8 +1345,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1356,8 +1371,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1382,8 +1397,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1408,8 +1423,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:267:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1460,8 +1475,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1500,32 +1515,6 @@ /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here -/build/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:1374:19: note: declared here - 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/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:1374:19: note: declared here - 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/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:1034:39: note: declared here - 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/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:1034:39: note: declared here - 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ /build/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())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ @@ -1564,8 +1553,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1590,8 +1579,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1616,8 +1605,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1668,8 +1657,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:270:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1694,8 +1683,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1725,6 +1714,11 @@ /build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here +/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ @@ -1746,8 +1740,8 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:273:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ @@ -1760,23 +1754,6 @@ /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/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:1034:39: note: declared here - 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/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:1034:39: note: declared here - 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here -/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ @@ -1798,20 +1775,33 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here -/build/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/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here +/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/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/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ +/build/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:1034:39: note: declared here + 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/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:1034:39: note: declared here + 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ /build/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())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ @@ -1824,29 +1814,30 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here -/build/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/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:225:33: required from here +/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/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/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/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/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ @@ -1876,9 +1867,9 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -1903,36 +1894,62 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:225:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here +/build/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/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:231:33: required from here /build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:1374:19: note: declared here + 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/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/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:1374:19: note: declared here + 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ /build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ +/build/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:1034:39: note: declared here + 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ /build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here +/build/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:1034:39: note: declared here + 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -1957,9 +1974,9 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:231:33: required from here +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -1984,63 +2001,87 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:276:33: required from here +/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/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/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/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/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:279:33: required from here +/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/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/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/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/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here +/build/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:282:33: required from here +/build/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:1374:19: note: declared here + 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/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:1374:19: note: declared here + 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +/build/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:1034:39: note: declared here + 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/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:1034:39: note: declared here + 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -2146,9 +2187,9 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -2173,9 +2214,9 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -2200,9 +2241,9 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:225:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -2227,9 +2268,9 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:225:33: required from here +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -2242,21 +2283,9 @@ /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ -/build/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:1034:39: note: declared here - 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/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:1034:39: note: declared here - 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -2266,9 +2295,21 @@ /build/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/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1034:39: note: declared here + 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +/build/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:1034:39: note: declared here + 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ /build/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())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ @@ -2416,9 +2457,9 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -2443,9 +2484,9 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:231:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -2470,18 +2511,9 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:231:33: required from here -/build/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:1374:19: note: declared here - 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:225:33: required from here +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -2506,6 +2538,15 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here +/build/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:1374:19: note: declared here + 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -2524,9 +2565,9 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:234:33: required from here +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:222:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -2551,9 +2592,9 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:225:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -2578,9 +2619,9 @@ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:237:33: required from here +/build/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/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/cpp-jwt-1.4+ds/include/jwt/impl/jwt.ipp:228:33: required from here /build/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}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ @@ -3015,16 +3056,16 @@ /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o -o test_jwt_object /usr/lib/aarch64-linux-gnu/libgtest_main.a /usr/lib/aarch64-linux-gnu/libgtest.a /usr/lib/aarch64-linux-gnu/libssl.so /usr/lib/aarch64-linux-gnu/libcrypto.so make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' [ 57%] Built target test_jwt_object -[ 64%] Linking CXX executable test_jwt_decode -cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_decode.dir/link.txt --verbose=1 -/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -o test_jwt_decode /usr/lib/aarch64-linux-gnu/libgtest_main.a /usr/lib/aarch64-linux-gnu/libgtest.a /usr/lib/aarch64-linux-gnu/libssl.so /usr/lib/aarch64-linux-gnu/libcrypto.so -make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' -[ 64%] Built target test_jwt_decode -[ 71%] Linking CXX executable test_jwt_rsa +[ 64%] Linking CXX executable test_jwt_rsa cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_rsa.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o -o test_jwt_rsa /usr/lib/aarch64-linux-gnu/libgtest_main.a /usr/lib/aarch64-linux-gnu/libgtest.a /usr/lib/aarch64-linux-gnu/libssl.so /usr/lib/aarch64-linux-gnu/libcrypto.so make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' -[ 71%] Built target test_jwt_rsa +[ 64%] Built target test_jwt_rsa +[ 71%] Linking CXX executable test_jwt_decode +cd /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_decode.dir/link.txt --verbose=1 +/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -o test_jwt_decode /usr/lib/aarch64-linux-gnu/libgtest_main.a /usr/lib/aarch64-linux-gnu/libgtest.a /usr/lib/aarch64-linux-gnu/libssl.so /usr/lib/aarch64-linux-gnu/libcrypto.so +make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' +[ 71%] Built target test_jwt_decode [ 78%] Linking CXX executable test_jwt_es cd /build/cpp-jwt-1.4+ds/obj-aarch64-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/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o -o test_jwt_es /usr/lib/aarch64-linux-gnu/libgtest_main.a /usr/lib/aarch64-linux-gnu/libgtest.a /usr/lib/aarch64-linux-gnu/libssl.so /usr/lib/aarch64-linux-gnu/libcrypto.so @@ -3035,16 +3076,16 @@ /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o -o test_jwt_decode_verifiy /usr/lib/aarch64-linux-gnu/libgtest_main.a /usr/lib/aarch64-linux-gnu/libgtest.a /usr/lib/aarch64-linux-gnu/libssl.so /usr/lib/aarch64-linux-gnu/libcrypto.so make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' [ 85%] Built target test_jwt_decode_verifiy -[ 92%] Linking CXX executable test_jwt_decode_verifiy_with_exception -cd /build/cpp-jwt-1.4+ds/obj-aarch64-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/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro 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/aarch64-linux-gnu/libgtest_main.a /usr/lib/aarch64-linux-gnu/libgtest.a /usr/lib/aarch64-linux-gnu/libssl.so /usr/lib/aarch64-linux-gnu/libcrypto.so -[100%] Linking CXX executable test_jwt_encode +[ 92%] Linking CXX executable test_jwt_encode cd /build/cpp-jwt-1.4+ds/obj-aarch64-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/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o -o test_jwt_encode /usr/lib/aarch64-linux-gnu/libgtest_main.a /usr/lib/aarch64-linux-gnu/libgtest.a /usr/lib/aarch64-linux-gnu/libssl.so /usr/lib/aarch64-linux-gnu/libcrypto.so -make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' -[100%] Built target test_jwt_decode_verifiy_with_exception +[100%] Linking CXX executable test_jwt_decode_verifiy_with_exception +cd /build/cpp-jwt-1.4+ds/obj-aarch64-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/cpp-jwt-1.4+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DCERT_ROOT_DIR="\"/build/cpp-jwt-1.4+ds/tests/certs\"" -Wl,-z,relro 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/aarch64-linux-gnu/libgtest_main.a /usr/lib/aarch64-linux-gnu/libgtest.a /usr/lib/aarch64-linux-gnu/libssl.so /usr/lib/aarch64-linux-gnu/libcrypto.so make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' [100%] Built target test_jwt_encode +make[3]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' +[100%] Built target test_jwt_decode_verifiy_with_exception make[2]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' /usr/bin/cmake -E cmake_progress_start /build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu/CMakeFiles 0 make[1]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' @@ -3123,7 +3164,7 @@ 2: [ OK ] EncodeTest.TestRemoveClaim (0 ms) 2: [ RUN ] EncodeTest.TestRemoveTypHeader 2: Header: {"alg":"HS256"} -2: Signature: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2ODMxMTE2NjYsImlhdCI6MTUxMzg2MjM3MSwiaWQiOiJhLWItYy1kLWUtZi0xLTItMyIsImlzcyI6ImFydW4ubXVyYWxpZGhhcmFuIiwic3ViIjoiYWRtaW4ifQ.NFU-eFl6u3a3bwgfibl0JRjjtj9ZaQhD_7j0cxkoSlI +2: Signature: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTc1MjE5NjQsImlhdCI6MTUxMzg2MjM3MSwiaWQiOiJhLWItYy1kLWUtZi0xLTItMyIsImlzcyI6ImFydW4ubXVyYWxpZGhhcmFuIiwic3ViIjoiYWRtaW4ifQ.SSvbCDhCbz0x5uTlOxwUWZ1q_OPAUd5EvNETnowuHOY 2: [ OK ] EncodeTest.TestRemoveTypHeader (3 ms) 2: [ RUN ] EncodeTest.StrEncodeHS256_1 2: Header: {"alg":"HS256","typ":"JWT"} @@ -3135,7 +3176,7 @@ 2: [ RUN ] EncodeTest.StrEncodeNONE 2: Header: {"alg":"NONE","typ":"JWT"} 2: Payload: {"aud":"rift.io","exp":1513863371,"sub":"nothing much"} -2: [ OK ] EncodeTest.StrEncodeNONE (8 ms) +2: [ OK ] EncodeTest.StrEncodeNONE (0 ms) 2: [ RUN ] EncodeTest.StrEncodeHS256WithKey 2: [ OK ] EncodeTest.StrEncodeHS256WithKey (0 ms) 2: [ RUN ] EncodeTest.StrEncodeHS384WithKey @@ -3154,10 +3195,10 @@ 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 (12 ms total) +2: [----------] 13 tests from EncodeTest (4 ms total) 2: 2: [----------] Global test environment tear-down -2: [==========] 13 tests from 1 test suite ran. (12 ms total) +2: [==========] 13 tests from 1 test suite ran. (4 ms total) 2: [ PASSED ] 13 tests. 3: Running main() from ./googletest/src/gtest_main.cc 3: [==========] Running 11 tests from 1 test suite. @@ -3187,17 +3228,17 @@ 3: [ RUN ] DecodeTest.TypHeaderMiss 3: Decode header: {"alg":"HS256"} 3: [ OK ] DecodeTest.TypHeaderMiss (0 ms) -3: [----------] 11 tests from DecodeTest (9 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. (9 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 -4: [ OK ] DecodeVerify.BeforeExpiryTest (7 ms) +4: [ OK ] DecodeVerify.BeforeExpiryTest (3 ms) 4: [ RUN ] DecodeVerify.AfterExpiryTest 4: [ OK ] DecodeVerify.AfterExpiryTest (0 ms) 4: [ RUN ] DecodeVerify.AfterExpiryWithLeeway @@ -3217,14 +3258,14 @@ 4: [ RUN ] DecodeVerify.InvalidAudienceTest 4: [ OK ] DecodeVerify.InvalidAudienceTest (0 ms) 4: [ RUN ] DecodeVerify.InvalidIATTest -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.06 sec -2/7 Test #2: test_jwt_encode .......................... Passed 0.05 sec -3/7 Test #3: test_jwt_decode .......................... Passed 0.04 sec +4: [ OK ] DecodeVerify.InvalidIATTest (0 ms) +4: [ RUN ] DecodeVerify.InvalidSignatureTest +4: [ OK ] DecodeVerify.InvalidSignatureTest (0 ms) +4: [----------] 12 tests from DecodeVerify (4 ms total) +4: +4: [----------] Global test environment tear-down +4: [==========] 12 tests from 1 test suite ran. (4 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. @@ -3236,21 +3277,7 @@ 5: [ RUN ] DecodeVerifyExp.AfterExpiryWithLeeway 5: [ OK ] DecodeVerifyExp.AfterExpiryWithLeeway (0 ms) 5: [ RUN ] DecodeVerifyExp.ValidIssuerTest -4: [ OK ] DecodeVerify.InvalidIATTest (8 ms) -4: [ RUN ] DecodeVerify.InvalidSignatureTest -4: [ OK ] DecodeVerify.InvalidSignatureTest (0 ms) -4: [----------] 12 tests from DecodeVerify (17 ms total) -4: -4: [----------] Global test environment tear-down -4: [==========] 12 tests from 1 test suite ran. (17 ms total) -4: [ PASSED ] 12 tests. -4/7 Test #4: test_jwt_decode_verifiy .................. Passed 0.05 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 -5: [ OK ] DecodeVerifyExp.ValidIssuerTest (18 ms) +5: [ OK ] DecodeVerifyExp.ValidIssuerTest (0 ms) 5: [ RUN ] DecodeVerifyExp.InvalidIssuerTest_1 5: [ OK ] DecodeVerifyExp.InvalidIssuerTest_1 (0 ms) 5: [ RUN ] DecodeVerifyExp.InvalidIssuerTest_2 @@ -3269,42 +3296,56 @@ 5: [ OK ] DecodeVerifyExp.KeyNotPresentTest (0 ms) 5: [ RUN ] DecodeVerifyExp.InvalidSubjectTest 5: [ OK ] DecodeVerifyExp.InvalidSubjectTest (0 ms) -5: [----------] 13 tests from DecodeVerifyExp (23 ms total) +5: [----------] 13 tests from DecodeVerifyExp (4 ms total) 5: 5: [----------] Global test environment tear-down -5: [==========] 13 tests from 1 test suite ran. (23 ms total) +5: [==========] 13 tests from 1 test suite ran. (4 ms total) 5: [ PASSED ] 13 tests. -5/7 Test #5: test_jwt_decode_verifiy_with_exception ... Passed 0.05 sec -7: [ OK ] ESAlgo.ES256EncodingDecodingTest (23 ms) +1/7 Test #1: test_jwt_object .......................... Passed 0.02 sec +2/7 Test #2: test_jwt_encode .......................... Passed 0.02 sec +3/7 Test #3: test_jwt_decode .......................... Passed 0.02 sec +4/7 Test #4: test_jwt_decode_verifiy .................. Passed 0.02 sec +5/7 Test #5: test_jwt_decode_verifiy_with_exception ... 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 +6: [ OK ] RSAAlgo.RSA256EncodingDecodingTest (12 ms) +6: [ RUN ] RSAAlgo.RSA384EncodingDecodingTest +7: [ OK ] ESAlgo.ES256EncodingDecodingTest (12 ms) 7: [ RUN ] ESAlgo.ES384EncodingDecodingTest -7: [ OK ] ESAlgo.ES384EncodingDecodingTest (10 ms) +7: [ OK ] ESAlgo.ES384EncodingDecodingTest (5 ms) 7: [ RUN ] ESAlgo.ES512EncodingDecodingTest -6: [ OK ] RSAAlgo.RSA256EncodingDecodingTest (54 ms) -6: [ RUN ] RSAAlgo.RSA384EncodingDecodingTest -7: [ OK ] ESAlgo.ES512EncodingDecodingTest (6 ms) +7: [ OK ] ESAlgo.ES512EncodingDecodingTest (5 ms) 7: [ RUN ] ESAlgo.ES384EncodingDecodingValidTest -7: [ OK ] ESAlgo.ES384EncodingDecodingValidTest (23 ms) -7: [----------] 4 tests from ESAlgo (64 ms total) +6: [ OK ] RSAAlgo.RSA384EncodingDecodingTest (24 ms) +6: [ RUN ] RSAAlgo.RSA512EncodingDecodingTest +7: [ OK ] ESAlgo.ES384EncodingDecodingValidTest (15 ms) +7: [----------] 4 tests from ESAlgo (39 ms total) 7: 7: [----------] Global test environment tear-down -7: [==========] 4 tests from 1 test suite ran. (64 ms total) +7: [==========] 4 tests from 1 test suite ran. (39 ms total) 7: [ PASSED ] 4 tests. -6/7 Test #7: test_jwt_es .............................. Passed 0.09 sec -6: [ OK ] RSAAlgo.RSA384EncodingDecodingTest (62 ms) -6: [ RUN ] RSAAlgo.RSA512EncodingDecodingTest -6: [ OK ] RSAAlgo.RSA512EncodingDecodingTest (220 ms) +6/7 Test #7: test_jwt_es .............................. Passed 0.05 sec +6: [ OK ] RSAAlgo.RSA512EncodingDecodingTest (144 ms) 6: [ RUN ] RSAAlgo.NoSpecificAlgo -6: [ OK ] RSAAlgo.NoSpecificAlgo (152 ms) -6: [----------] 4 tests from RSAAlgo (490 ms total) +6: [ OK ] RSAAlgo.NoSpecificAlgo (144 ms) +6: [----------] 4 tests from RSAAlgo (326 ms total) 6: 6: [----------] Global test environment tear-down -6: [==========] 4 tests from 1 test suite ran. (490 ms total) +6: [==========] 4 tests from 1 test suite ran. (327 ms total) 6: [ PASSED ] 4 tests. -7/7 Test #6: test_jwt_rsa ............................. Passed 0.50 sec +7/7 Test #6: test_jwt_rsa ............................. Passed 0.34 sec 100% tests passed, 0 tests failed out of 7 -Total Test time (real) = 0.55 sec +Total Test time (real) = 0.35 sec make[1]: Leaving directory '/build/cpp-jwt-1.4+ds/obj-aarch64-linux-gnu' create-stamp debian/debhelper-build-stamp dh_prep @@ -3375,12 +3416,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/7607/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/7607/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/17446 and its subdirectories -I: Current time: Tue May 2 23:01:15 -12 2023 -I: pbuilder-time-stamp: 1683111675 +I: removing directory /srv/workspace/pbuilder/7607 and its subdirectories +I: Current time: Wed Jun 5 07:26:11 +14 2024 +I: pbuilder-time-stamp: 1717521971