Home
last modified time | relevance | path

Searched +full:self +full:- +full:signed (Results 1 – 25 of 270) sorted by relevance

1234567891011

/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dsigning.py4 # SPDX-License-Identifier: MIT
25 def setup_gpg(self): argument
26 bitbake('gnupg-native -c addto_recipe_sysroot')
28 self.gpg_dir = tempfile.mkdtemp(prefix="oeqa-signing-")
29 self.track_for_cleanup(self.gpg_dir)
31 self.pub_key_path = os.path.join(self.testlayer_path, 'files', 'signing', "key.pub")
32 self.secret_key_path = os.path.join(self.testlayer_path, 'files', 'signing', "key.secret")
34 nsysroot = get_bb_var("RECIPE_SYSROOT_NATIVE", "gnupg-native")
36 …nCmd('gpg --agent-program=`which gpg-agent`\|--auto-expand-secmem --batch --homedir %s --import %s…
41 def create_new_builddir(self, builddir, newbuilddir): argument
[all …]
H A Dfitimage.py4 # SPDX-License-Identifier: MIT
14 def _setup_uboot_tools_native(self): argument
15 """build u-boot-tools-native and return ${RECIPE_SYSROOT_NATIVE}/${bindir}"""
16 bitbake("u-boot-tools-native -c addto_recipe_sysroot")
17 vars = get_bb_vars(['RECIPE_SYSROOT_NATIVE', 'bindir'], 'u-boot-tools-native')
20 def _run_dumpimage(self, fitimage_path, uboot_tools_bindir): argument
22 return runCmd('%s -l %s' % (dumpimage_path, fitimage_path))
24 …def _verify_fit_image_signature(self, uboot_tools_bindir, fitimage_path, dtb_path, conf_name=None): argument
27 The fit_check_sign utility from u-boot-tools-native is called.
28 uboot-fit_check_sign -f fitImage -k $dtb_name -c conf-$dtb_name
[all …]
H A Dcve_check.py4 # SPDX-License-Identifier: MIT
14 def test_version_compare(self): argument
18 self.assertTrue( result, msg="Failed to compare version '100' > '99'")
20 self.assertTrue( result, msg="Failed to compare version '2.3.1' > '2.2.3'")
21 result = Version("2021-01-21") > Version("2020-12-25")
22 self.assertTrue( result, msg="Failed to compare version '2021-01-21' > '2020-12-25'")
23 result = Version("1.2-20200910") < Version("1.2-20200920")
24 self.assertTrue( result, msg="Failed to compare version '1.2-20200910' < '1.2-20200920'")
27 self.assertTrue( result, msg="Failed to compare version '1.0' >= '1.0beta'")
28 result = Version("1.0-rc2") > Version("1.0-rc1")
[all …]
/openbmc/openbmc-build-scripts/config/gitlint/
H A Dbad_signedoffby.py7 name = "bad-signed-off-by"
10 # These are individuals, by email address, who chose to go by a one-word name.
13 def validate(self, commit): argument
17 x for x in commit.message.body if x.startswith("Signed-off-by:")
20 match = re.search("Signed-off-by: (.*) <(.*)>", sob)
23 RuleViolation(self.id, "Invalid Signed-off-by format", sob)
29 and match.group(2) not in self.exceptions
33 self.id,
34 … "Signed-off-by user has too few words; likely user id instead of legal name?",
H A Dblock_comment.py8 name = "body-max-line-length-with-exceptions"
11 options_spec = [IntOption("line-length", 80, "Max line length")]
22 def validate(self, commit): argument
38 RuleViolation(self.id, self.tabs_violation_message, line)
47 # allow signed-off-by
48 if line.startswith("Signed-off-by:"):
55 max_length = self.options["line-length"].value
59 self.id,
60 self.line_length_violation_message.format(
/openbmc/openbmc/poky/scripts/
H A Dpatchtest3 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
9 # SPDX-License-Identifier: GPL-2.0-only
47 def startTestRun(self): argument
56 self.repo_error = False
57 self.test_error = False
58 self.test_failure = False
61 self.repo = PatchtestParser.repo = PatchTestRepo(**repoargs)
64 self.repo_error = True
65 self.stop()
69 self.repo.merge()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3/
H A D0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch3 Date: Thu, 1 Apr 2021 13:08:37 -0700
6 Skip these tests until AB-INT is solved.
10 Upstream-Status: Inappropriate [OE-Specific]
12 Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
19 Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
20 ---
25 diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
27 --- a/Lib/test/_test_multiprocessing.py
29 @@ -688,6 +688,7 @@ class _TestProcess(BaseTestCase):
34 def test_many_processes(self):
[all …]
H A D0001-test_active_children-skip-problematic-test.patch3 Date: Thu, 13 Jun 2024 10:54:31 -0400
9 Upstream-Status: Inappropriate [OE-Specific]
11 Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
12 ---
16 diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
18 --- a/Lib/test/_test_multiprocessing.py
20 @@ -585,6 +585,7 @@ class _TestProcess(BaseTestCase):
21 self.assertTrue(type(cpus) is int)
22 self.assertTrue(cpus >= 1)
25 def test_active_children(self):
[all …]
/openbmc/qemu/scripts/
H A Danalyze-migration.py36 def __init__(self, filename): argument
37 self.filename = filename
38 self.file = open(self.filename, "rb")
40 def read64(self): argument
41 return int.from_bytes(self.file.read(8), byteorder='big', signed=False)
43 def read32(self): argument
44 return int.from_bytes(self.file.read(4), byteorder='big', signed=False)
46 def read16(self): argument
47 return int.from_bytes(self.file.read(2), byteorder='big', signed=False)
49 def read8(self): argument
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-pykickstart/files/
H A D0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch7 - Add lock for readKickstart to fix race issue
9 - Support to download kickstart file through https without certification
11 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
12 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
13 ---
14 Upstream-Status: Pending
16 pykickstart/load.py | 2 +-
18 2 files changed, 19 insertions(+), 1 deletion(-)
20 diff --git a/pykickstart/load.py b/pykickstart/load.py
22 --- a/pykickstart/load.py
[all …]
H A D0003-comment-out-sections-shutdown-and-environment-in-gen.patch9 Upstream-Status: Inappropriate [oe specific]
11 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
14 ---
16 pykickstart/parser.py | 2 +-
17 2 files changed, 4 insertions(+), 1 deletion(-)
19 diff --git a/pykickstart/commands/reboot.py b/pykickstart/commands/reboot.py
21 --- a/pykickstart/commands/reboot.py
23 @@ -43,6 +43,9 @@ class FC3_Reboot(KickstartCommand):
24 elif self.action == KS_SHUTDOWN:
26 retval += self._getArgsAsStr() + "\n"
[all …]
/openbmc/u-boot/tools/patman/
H A Dtest.py1 # -*- coding: utf-8 -*-
2 # SPDX-License-Identifier: GPL-2.0+
23 def testBasic(self): argument
29 Date: Thu, 28 Apr 2011 09:58:51 -0700
32 This adds functions to enable/disable clocks and reset to on-chip peripherals.
36 ‘u64 {aka long unsigned int}’ [-Wformat=]
38 BUG=chromium-os:13875
39 TEST=build U-Boot for Seaboard, boot
41 Change-Id: I80fe1d0c0b7dd10aa58ce5bb1d9290b6664d5413
45 Signed-off-by: Simon Glass <sjg@chromium.org>
[all …]
/openbmc/dbus-sensors/src/ipmb/
H A DIpmbSDRSensor.cpp3 #include <phosphor-logging/lg2.hpp>
51 conn->async_method_call( in getSDRRepositoryInfo()
54 auto self = weakRef.lock(); in getSDRRepositoryInfo() local
55 if (!self) in getSDRRepositoryInfo()
61 if (!status(self->hostIndex)) in getSDRRepositoryInfo()
73 "INDEX", self->hostIndex); in getSDRRepositoryInfo()
83 self->reserveSDRRepository(recordCount); in getSDRRepositoryInfo()
94 conn->async_method_call( in reserveSDRRepository()
97 auto self = weakRef.lock(); in reserveSDRRepository() local
98 if (!self) in reserveSDRRepository()
[all …]
/openbmc/openbmc/meta-security/meta-integrity/data/debug-keys/
H A DREADME.md5 - ima-local-ca.priv: The CA's private key (password: 1234)
6 - ima-local-ca.pem: The CA's self-signed certificate
7 - privkey_ima.pem: IMA & EVM private key used for signing files
8 - x509_ima.der: Certificate containing public key (of privkey_ima.pem) to verify signatures
10 The CA's (self-signed) certificate can be used to verify the validity of
16 openssl verify -CAfile ima-local-ca.pem x509_ima.der
/openbmc/linux/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfgraph-retval.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: ftrace - function graph print function return value
4 # requires: options/funcgraph-retval options/funcgraph-retval-hex function_graph:tracer
6 # Make sure that funcgraph-retval works
16 # get self PID, can not use $$, because it is PPID
17 read PID _ < /proc/self/stat
19 [ -f set_ftrace_filter ] && echo proc_reg_write > set_ftrace_filter
20 [ -f set_ftrace_pid ] && echo ${PID} > set_ftrace_pid
22 echo 1 > options/funcgraph-retval
28 set -e
[all …]
/openbmc/openbmc/poky/meta/recipes-core/ovmf/ovmf/
H A D0004-reproducible.patch14 TMPDIR = "${TOPDIR}/tmp-inital-mylongpath-mylongpath-mylongpath-mylongpath-mylongpath-mylongpath-my…
27 Upstream-Status: Submitted [https://github.com/tianocore/edk2/pull/2176]
28 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
30 ---
31 BaseTools/Source/C/GenFw/Elf64Convert.c | 8 ++++---
33 BaseTools/Source/Python/AutoGen/GenMake.py | 24 +++++++++----------
34 .../Source/Python/AutoGen/ModuleAutoGen.py | 5 +++-
35 4 files changed, 24 insertions(+), 16 deletions(-)
37 diff --git a/BaseTools/Source/C/GenFw/Elf64Convert.c b/BaseTools/Source/C/GenFw/Elf64Convert.c
[all …]
/openbmc/openbmc/poky/meta/recipes-gnome/libxmlb/libxmlb/
H A D0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch2 From: Markus Volk <f_l_k@t-online.de>
4 Subject: [PATCH] xb-self-test.c: hardcode G_TEST_SRCDIR
7 libxmlb-0.3.14-r0 do_package_qa: QA Issue: File
8 /usr/libexec/installed-tests/libxmlb/xb-self-test in package libxmlb-ptest
13 Upstream-Status: Inappropriate [oe-specific]
15 Signed-off-by: Markus Volk <f_l_k@t-online.de>
16 ---
17 src/xb-self-test.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
20 diff --git a/src/xb-self-test.c b/src/xb-self-test.c
[all …]
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/
H A Dno-exec-on-configure.patch3 Upstream-Status: Inappropriate [Cross-compile specific]
4 Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 --- a/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 14:56:24.788544991 +0200
6 +++ b/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 15:00:12.847266331 +0200
7 @@ -24,20 +24,7 @@
8 $self->requires_external_cc;
10 my $prefix = $self->find_openssl_prefix;
11 - my $exec = $self->find_openssl_exec($prefix);
12 -
13 - unless (-x $exec) {
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/perl/files/
H A Dnative-perlinc.patch6 Upstream-Status: Inappropriate [embedded specific]
7 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8 ---
9 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 13 +++++++++++++
12 diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils…
14 --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
15 +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
16 @@ -1862,6 +1862,19 @@ from the perl source tree.
17 $self->{PERL_LIB} ||= $Config{privlibexp};
18 $self->{PERL_ARCHLIB} ||= $Config{archlibexp};
[all …]
/openbmc/u-boot/tools/binman/etype/
H A Dvblock.py1 # SPDX-License-Identifier: GPL-2.0+
6 # Support for a Chromium OS verified boot block, used to sign a read-write
21 - keydir: Directory containing the public keys to use
22 - keyblock: Name of the key file to use (inside keydir)
23 - signprivate: Name of provide key file to use (inside keydir)
24 - version: Version number of the vblock (typically 1)
25 - kernelkey: Name of the kernel key to use (inside keydir)
26 - preamble-flags: Value of the vboot preamble flags (typically 0)
29 - input.<unique_name> - input file passed to futility
30 - vblock.<unique_name> - output file generated by futility (which is
[all …]
/openbmc/openbmc/poky/meta/recipes-support/gpgme/gpgme/
H A D0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch4 Subject: [PATCH] gpgme/lang/python: gpg-error-config should not be used
6 gpg-error-config was modified by OE to always return an error.
10 Upstream-Status: Inappropriate [changes are specific to OE]
12 Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
16 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
17 ---
18 lang/python/setup.py.in | 3 +--
19 1 file changed, 1 insertion(+), 2 deletions(-)
21 diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in
23 --- a/lang/python/setup.py.in
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Certs/
H A DREADME.md6 key file with another (possibly certification Authority (CA) signed) certificate
10 format, which includes both private key and signed certificate.
12 ### Signed Certificate upload Design flow(Pre-generated)
14 - The REST Server copies the certificate and private key file to a temporary
16 - REST server should map the URI to the target DBus application (Certs) object.
17 The recommendation for the D-Bus application implementing certificate D-Bus
19 - The URI /xyz/openbmc_project/certs/server/https maps to instance of the
21 - The URI /xyz/openbmc_project/certs/client/ldap maps to instance of the
23 - The URI /xyz/openbmc_project/certs/authority/truststore maps to instance of
25 - REST server should call the install method of the certificate application
[all …]
/openbmc/qemu/rust/qemu-api/src/
H A Derrno.rs1 // SPDX-License-Identifier: GPL-2.0-or-later
22 fn from(value: Errno) -> ErrorKind { in from()
51 fn from(value: io::ErrorKind) -> Errno { in from()
79 fn from(value: Errno) -> io::Error { in from()
85 fn from(value: Errno) -> io::Error { in from()
92 fn from(value: io::Error) -> Errno { in from()
107 /// A signed type that can be converted into an
110 /// Unsigned variant of `Self`, used as the type for the `Ok` case.
113 /// Return `Ok(self)` if positive, `Err(Errno(-self))` if negative
114 fn into_errno_result(self) -> Result<Self::Out, Errno>; in into_errno_result()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/meson/meson/
H A D0001-dependencies-dev-prepend-sysroot-when-searching-for-.patch8 cross-compile or other builds with a sysroot this will find the host
13 Upstream-Status: Submitted [https://github.com/mesonbuild/meson/pull/13934]
14 Signed-off-by: Ross Burton <ross.burton@arm.com>
15 ---
16 mesonbuild/dependencies/dev.py | 4 +++-
17 1 file changed, 3 insertions(+), 1 deletion(-)
19 diff --git a/mesonbuild/dependencies/dev.py b/mesonbuild/dependencies/dev.py
21 --- a/mesonbuild/dependencies/dev.py
23 @@ -56,7 +56,9 @@ class GTestDependencySystem(SystemDependency):
24 def __init__(self, name: str, environment: 'Environment', kwargs: T.Dict[str, T.Any]) -> None:
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-setuptools/
H A D0001-conditionally-do-not-fetch-code-by-easy_install.patch12 Upstream-Status: Denied [https://github.com/pypa/setuptools/issues/4735]
13 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
17 Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
18 ---
22 diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
24 --- a/setuptools/command/easy_install.py
26 @@ -673,6 +673,11 @@ class easy_install(Command):
29 def easy_install(self, spec, deps: bool = False) -> Distribution | None:
35 with self._tmpdir() as tmpdir:

1234567891011