summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sssd: re-package to fix QA issueshardknottJeremy A. Puhlman2021-12-031-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It packages all file in ${libdir} to package sssd, including the .so symlink files. Then it causes QA issues: | ERROR: QA Issue: sssd rdepends on dbus-dev [dev-deps] | ERROR: QA Issue: sssd rdepends on ding-libs-dev [dev-deps] So re-package sssd then the .so symlink files and .pc files are packaged to sssd-dev which should be. File ${libdir}/libsss_sudo.so is not a symlink file but packaged to sssd-dev too. Then causes another QA issue: | ERROR: sssd-2.5.2-r0 do_package_qa: QA Issue: -dev package sssd-dev contains non-symlink .so '/usr/lib/libsss_sudo.so' [dev-elf] So create a new sub-package libsss-sudo to package file libsss_sudo.so and make sssd rdepends on it. JP: Updated for version differences. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> (cherry picked from commit e81c15f851ca5396c78c8737967ee38db0ebe0cd) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* recipes: Update SRC_URI branch and protocolsArmin Kuster2021-12-0331-31/+31
| | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Armin Kuster <akuster808@gmail.com>
* sssd: fix CVE-2021-3621Kai Kang2021-09-102-0/+292
| | | | | | | | | Backport patch to fix CVE-2021-3621. CVE: CVE-2021-3621 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* linux-%_5.%.bbappend: drop recipeArmin Kuster2021-09-091-4/+0
| | | | | Signed-off-by: Armin Kuster <akuster808@gmail.com> (cherry picked from commit 833ae34c8f3222358f65e8ee3fdbac565485694e)
* tpm-tools: fix build issueArmin Kuster2021-07-101-6/+6
| | | | | | | | | | | | This error occurs randomly. /bin/bash: pod2man: command not found [Yocto #14304] minor space/tab cleanup Signed-off-by: Armin Kuster <akuster808@gmail.com> Cc: Ben <koncept1@gmail.com>
* kas-security-base: fix feature namespace for tpm*Armin Kuster2021-04-191-1/+2
| | | | | | They are MACHINE not DISTRO FEATURES Signed-off-by: Armin Kuster <akuster808@gmail.com>
* .gitlab-ci: use kas shell in some cases.Armin Kuster2021-04-191-5/+2
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* packagegroup-core-security: exclude apparmor in mips64Armin Kuster2021-04-191-0/+2
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* kas: cleanup some kas filesArmin Kuster2021-04-182-10/+1
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* gitlab-ci: add new before scriptArmin Kuster2021-04-181-11/+20
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* gitlab-ci: cleanup after_scriptArmin Kuster2021-04-181-36/+15
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* .gitlab-ci: work on pipelimeArmin Kuster2021-04-181-21/+76
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* gitlab-ci: move tpm buildArmin Kuster2021-04-181-11/+3
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* *-tpm.yml: drop tpms jobsArmin Kuster2021-04-183-30/+0
| | | | | | way too many jobs. TPM have there own images, use that Signed-off-by: Armin Kuster <akuster808@gmail.com>
* kas-security-base: Move some DISTRO_FEATURES aroundArmin Kuster2021-04-182-1/+2
| | | | | | Move FEATURES that affect kernel configuation to minimize rebuilds Signed-off-by: Armin Kuster <akuster808@gmail.com>
* gitlab-ci: Move all parsec builds into a separate jobAnton Antonov2021-04-181-5/+9
| | | | | Signed-off-by: Anton Antonov <Anton.Antonov@arm.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* kas-security-base: add hardknott local dirsArmin Kuster2021-04-151-0/+2
| | | | | | move to different builder and define SSTATE_DIR Signed-off-by: Armin Kuster <akuster808@gmail.com>
* kas-security-base: change branch to hardknottArmin Kuster2021-04-141-4/+2
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lkrg-module: Add Linux Kernel Runtime GuardArmin Kuster2021-04-142-0/+106
| | | | | | | | | | | | | | | | | | For more info see: https://github.com/openwall/lkrg Add to local.conf: IMAGE_INSTALL_append = " kernel-module-lkrg" Need these kconfig options enabled: CONFIG_KALLSYMS_ALL=y CONFIG_JUMP_LABEL=y CONFIG_DEBUG_KERNEL=y To invoke module: sudo insmod {path-to-modules}/p_lkrg.ko kint_enforce=1 Signed-off-by: Armin Kuster <akuster808@gmail.com>
* clamav: remove rest of mirror.dat refArmin Kuster2021-04-141-4/+2
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* Clearly define clang toolchain in Parsec recipesAnton Antonov2021-04-142-4/+3
| | | | | Signed-off-by: Anton Antonov <Anton.Antonov@arm.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* gitlab-ci: fine tune orderArmin Kuster2021-04-141-6/+6
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* kas-security-base.yml: tweek build varsArmin Kuster2021-04-141-1/+1
| | | | | | add meta-filesystems Signed-off-by: Armin Kuster <akuster808@gmail.com>
* .gitlab-ci.yml: reorder to speed up buildsArmin Kuster2021-04-141-80/+31
| | | | | | Also clean up extra spaces Signed-off-by: Armin Kuster <akuster808@gmail.com>
* initramfs-framework-ima: introduce IMA_FORCEMing Liu2021-04-142-2/+12
| | | | | | | | | | | | | | Introduce IMA_FORCE to allow the IMA policy be applied forcely even 'no_ima' boot parameter is available. This ensures the end users have a way to disable 'no_ima' support if they want to, because it may expose a security risk if an attacker can find a way to change kernel arguments, it will easily bypass rootfs authenticity checks. Signed-off-by: Sergio Prado <sergio.prado@toradex.com> Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* Define secure images with parsec-service and parsec-tool included and add ↵Anton Antonov2021-04-147-0/+76
| | | | | | | the images into gitlab CI Signed-off-by: Anton Antonov <Anton.Antonov@arm.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* Add meta-parsec layer into meta-security.Anton Antonov2021-04-1410-0/+661
| | | | | | | The layer contains recipes for Parsec service version 0.7.0 and parsec-tool version 0.3.0. The Parsec service is built with all supported providers and deployed with the MbedCrypto provider enabled. Both systemd and sysv-init are supported. Signed-off-by: Anton Antonov <Anton.Antonov@arm.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* Use libest "main" branch instead of "master".Anton Antonov2021-04-121-1/+1
| | | | | | | | | | | This patch fixes the issue: WARNING: libest-3.2.0-r0 do_fetch: Failed to fetch URL git://github.com/cisco/libest, attempting MIRRORS if available ERROR: libest-3.2.0-r0 do_fetch: Fetcher failure: Unable to find revision 4ca02c6d7540f2b1bcea278a4fbe373daac7103b in branch master even from upstream ERROR: libest-3.2.0-r0 do_fetch: Fetcher failure for URL: 'git://github.com/cisco/libest'. Unable to fetch URL from any source. Signed-off-by: Anton Antonov <Anton.Antonov@arm.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* python3-suricata-update: update to 1.2.1Armin Kuster2021-04-121-3/+5
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* swtpm: fix check for tscd deamon on hostArmin Kuster2021-04-122-0/+66
| | | | | | Found a few places that tscd check was trying to run the hosts. Signed-off-by: Armin Kuster <akuster808@gmail.com>
* swtpm: file pip3 issueArmin Kuster2021-04-021-3/+3
| | | | | | | | | | | need native pip3, was using host's Signed-off-by: Armin Kuster <akuster808@gmail.com> -- V2] add python3-cryptography-native to DEPENDS forgot to add changes.
* swtpm: now need python-cryptography, pull in layerArmin Kuster2021-04-021-0/+1
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* clamav: fix systemd service installArmin Kuster2021-04-021-1/+4
| | | | | | | | ERROR: clamav-0.104.0-r0 do_package: QA Issue: clamav: Files/directories were installed but not shipped in any package: /lib/systemd/system/clamav-daemon.service /lib/systemd/system/clamav-clamonacc.service Signed-off-by: Armin Kuster <akuster808@gmail.com>
* python3-privacyidea: upgrade 3.5.1 -> 3.5.2Armin Kuster2021-04-021-1/+1
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* meta: drop IMA_POLICY from policy recipesMing Liu2021-04-023-21/+6
| | | | | | | | | | | | IMA_POLICY is being referred as policy recipe name in some places and it is also being referred as policy file in other places, they are conflicting with each other which make it impossible to set a IMA_POLICY global variable in config file. Fix it by dropping IMA_POLICY definitions from policy recipes Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* clamav: upgrade 104.0Armin Kuster2021-04-023-64/+134
| | | | | | | | | | | | | | | convert to cmake and general cleanup include on oe env patch and glibc 2.33 header fixup if running w/in qemu, need to add qemuparams="-m 2048" to allow freshclam not to oom Signed-off-by: Armin Kuster <akuster808@gmail.com> --- V2] Bump PV to match what is being d/l
* packagegroup-core-security: drop clamav-cvdArmin Kuster2021-04-021-2/+2
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* swtpm: update to 0.5.2Armin Kuster2021-03-251-8/+9
| | | | | | Add python package Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tpm2-tss-engine: update 1.1.0Armin Kuster2021-03-251-3/+3
| | | | | | LIC_FILES_CHKSUM hash changed between branches. Signed-off-by: Armin Kuster <akuster808@gmail.com>
* layer.conf: Add hardknott to LAYERSERIES_COMPATArmin Kuster2021-03-186-6/+6
| | | | | | Thats codename for 3.3 Signed-off-by: Armin Kuster <akuster808@gmail.com>
* ima-evm-keys: add file-checksums to IMA_EVM_X509Ming Liu2021-03-181-0/+1
| | | | | | | | This ensures when a end user change the IMA_EVM_X509 key file, ima-evm-keys recipe will be rebuilt. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* samhain: fix compile error on powerpcKai Kang2021-03-182-0/+29
| | | | | | | | | | | | | | It fails to comile samhain for powerpc(qemuppc): | x_sh_dbIO.c: In function 'swap_short': | x_sh_dbIO.c:229:36: error: initializer element is not constant | 229 | static unsigned short ooop = *iptr; | | ^ Assign after initialization of the static variable to avoid the failure. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* fscryptctl: Fix installation pathlukasz plachno2021-03-181-1/+1
| | | | | | | - Without the patch fscryptctl is installed in /usr/bin/usr/local/bin instead of /usr/bin. Signed-off-by: Armin Kuster <akuster808@gmail.com>
* python3-fail2ban: fix building with ptest enabledArmin Kuster2021-03-092-2/+3
| | | | | | Use new structure for testing. Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tpm-tools: update to 1.3.9.1Armin Kuster2021-03-092-112/+1
| | | | | | drop patch included in update Signed-off-by: Armin Kuster <akuster808@gmail.com>
* trousers: update to 0.3.15Armin Kuster2021-03-091-2/+2
| | | | | | includes: CVE-2020-24332, CVE-2020-24330, CVE-2020-24331 Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tpm2-topt: update 0.3.0Armin Kuster2021-03-091-2/+2
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tpm2-pkcs11: update to 1.5.0Armin Kuster2021-03-091-1/+1
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tpm2-tss: update to 3.0.3Armin Kuster2021-03-092-2/+52
| | | | | | include automate 2.70 fix Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tpm2-tools: update to 5.0Armin Kuster2021-03-091-1/+1
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>