Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement implicit rejection for RSA PKCS#1 v1.5 de-padding #737

Merged
merged 3 commits into from Jan 23, 2024

testcases: Add RSA implicit rejection test cases

cee1d66
Select commit
Failed to load commit list.
Merged

Implement implicit rejection for RSA PKCS#1 v1.5 de-padding #737

testcases: Add RSA implicit rejection test cases
cee1d66
Select commit
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jan 22, 2024 in 19m 50s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #737 Implement implicit rejection for RSA PKCS#1 v1.5 de-padding.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has eight jobs, running in parallel.

Job Compiler ENV OS State
2065.1 linux-x86-clang clang CONFIG_OPTS="--enable-swtok --enable-icsftok --enable-ccatok --enable-testcases --with-systemd" CFLAGS="-O3 -Werror -Wno-error=unused-but-set-variable -DDEBUG" Linux passed
2065.2 linux-x86-gcc gcc CONFIG_OPTS="--enable-swtok --enable-icsftok --enable-ccatok --enable-testcases --with-systemd" CFLAGS="-O3 -Wno-clobbered -Werror" Linux passed
2065.3 linux-ppc64le-clang clang CONFIG_OPTS="--enable-swtok --enable-icsftok --enable-ccatok --enable-tpmtok --enable-testcases --with-systemd" CFLAGS="-O3 -Werror" Linux passed
2065.4 linux-ppc64le-gcc gcc CONFIG_OPTS="--enable-swtok --enable-icsftok --enable-ccatok --enable-tpmtok --enable-testcases --with-systemd" CFLAGS="-O3 -Wno-clobbered -Werror -DDEBUG" Linux passed
2065.5 linux-s390x-clang clang CONFIG_OPTS="--enable-swtok --enable-icsftok --enable-ccatok --enable-tpmtok --enable-icatok --enable-ep11tok --enable-testcases --with-systemd" CFLAGS="-O3 -Werror -DDEBUG" Linux passed
2065.6 linux-s390x-gcc gcc CONFIG_OPTS="--enable-swtok --enable-icsftok --enable-ccatok --enable-tpmtok --enable-icatok --enable-ep11tok --enable-testcases --with-systemd" CFLAGS="-O3 -Wno-clobbered -Werror" Linux passed
2065.7 linux-arm64-clang clang CONFIG_OPTS="--enable-swtok --enable-icsftok --enable-ccatok --enable-tpmtok --enable-testcases --with-systemd" CFLAGS="-O3 -Werror" Linux passed
2065.8 linux-arm64-gcc gcc CONFIG_OPTS="--enable-swtok --enable-icsftok --enable-ccatok --enable-tpmtok --enable-testcases --with-systemd" CFLAGS="-O3 -Wno-clobbered -Werror -DDEBUG" Linux passed

Build Configuration

Build Option Setting
Language C
Operating System Linux (Focal)
Build Configuration
{
  "language": "c",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "before_install": [
    "sudo apt-get -qq update",
    "sudo apt-get install -y expect libldap2-dev wget libudev-dev autoconf-archive libcap-dev",
    "if [ \"$TRAVIS_CPU_ARCH\" != \"amd64\" ]; then sudo apt-get install -y trousers libtspi-dev; fi",
    "if [ \"$TRAVIS_CPU_ARCH\" = \"s390x\" ]; then sudo apt-get install -y libica3 libica-dev; fi"
  ],
  "jobs": {
    "include": [
      {
        "name": "linux-x86-clang",
        "os": "linux",
        "compiler": "clang",
        "env": [
          {
            "CONFIG_OPTS": "\"--enable-swtok --enable-icsftok --enable-ccatok --enable-testcases --with-systemd\"",
            "CFLAGS": "\"-O3 -Werror -Wno-error=unused-but-set-variable -DDEBUG\""
          }
        ]
      },
      {
        "name": "linux-x86-gcc",
        "os": "linux",
        "compiler": "gcc",
        "env": [
          {
            "CONFIG_OPTS": "\"--enable-swtok --enable-icsftok --enable-ccatok --enable-testcases --with-systemd\"",
            "CFLAGS": "\"-O3 -Wno-clobbered -Werror\""
          }
        ]
      },
      {
        "name": "linux-ppc64le-clang",
        "os": "linux",
        "arch": "ppc64le",
        "compiler": "clang",
        "env": [
          {
            "CONFIG_OPTS": "\"--enable-swtok --enable-icsftok --enable-ccatok --enable-tpmtok --enable-testcases --with-systemd\"",
            "CFLAGS": "\"-O3 -Werror\""
          }
        ]
      },
      {
        "name": "linux-ppc64le-gcc",
        "os": "linux",
        "arch": "ppc64le",
        "compiler": "gcc",
        "env": [
          {
            "CONFIG_OPTS": "\"--enable-swtok --enable-icsftok --enable-ccatok --enable-tpmtok --enable-testcases --with-systemd\"",
            "CFLAGS": "\"-O3 -Wno-clobbered -Werror -DDEBUG\""
          }
        ]
      },
      {
        "name": "linux-s390x-clang",
        "os": "linux",
        "arch": "s390x",
        "compiler": "clang",
        "env": [
          {
            "CONFIG_OPTS": "\"--enable-swtok --enable-icsftok --enable-ccatok --enable-tpmtok --enable-icatok --enable-ep11tok --enable-testcases --with-systemd\"",
            "CFLAGS": "\"-O3 -Werror -DDEBUG\""
          }
        ]
      },
      {
        "name": "linux-s390x-gcc",
        "os": "linux",
        "arch": "s390x",
        "compiler": "gcc",
        "env": [
          {
            "CONFIG_OPTS": "\"--enable-swtok --enable-icsftok --enable-ccatok --enable-tpmtok --enable-icatok --enable-ep11tok --enable-testcases --with-systemd\"",
            "CFLAGS": "\"-O3 -Wno-clobbered -Werror\""
          }
        ]
      },
      {
        "name": "linux-arm64-clang",
        "os": "linux",
        "arch": "arm64",
        "compiler": "clang",
        "env": [
          {
            "CONFIG_OPTS": "\"--enable-swtok --enable-icsftok --enable-ccatok --enable-tpmtok --enable-testcases  --with-systemd\"",
            "CFLAGS": "\"-O3 -Werror\""
          }
        ]
      },
      {
        "name": "linux-arm64-gcc",
        "os": "linux",
        "arch": "arm64",
        "compiler": "gcc",
        "env": [
          {
            "CONFIG_OPTS": "\"--enable-swtok --enable-icsftok --enable-ccatok --enable-tpmtok --enable-testcases --with-systemd\"",
            "CFLAGS": "\"-O3 -Wno-clobbered -Werror -DDEBUG\""
          }
        ]
      }
    ]
  },
  "before_script": [
    "./bootstrap.sh"
  ],
  "script": [
    "./configure --silent $CONFIG_OPTS && make V=0",
    "make check V=0",
    "sudo make install",
    "sudo ldconfig",
    "sudo pkcsslotd",
    "sudo pkcsconf -i",
    "sudo pkcsconf -s",
    "sudo pkcsconf -t",
    "cd testcases",
    "sudo PKCS11_SO_PIN=76543210 PKCS11_USER_PIN=01234567 PKCSLIB=/usr/local/lib/pkcs11/libopencryptoki.so ./ock_tests.sh -s 3",
    "sudo SLOT=3 PKCS11_USER_PIN=01234567 PKCS11_SO_PIN=76543210 PKCSLIB=/usr/local/lib/pkcs11/libopencryptoki.so ./misc_tests/p11sak_test.sh"
  ]
}