shim | trivial EFI application that , when run , attempts to open
kandi X-RAY | shim Summary
kandi X-RAY | shim Summary
shim is a C library. shim has no bugs, it has no vulnerabilities and it has low support. However shim has a Non-SPDX License. You can download it from GitHub.
shim is a trivial EFI application that, when run, attempts to open and execute another application. It will initially attempt to do this via the standard EFI LoadImage() and StartImage() calls. If these fail (because Secure Boot is enabled and the binary is not signed with an appropriate key, for instance) it will then validate the binary against a built-in certificate. If this succeeds and if the binary or signing key are not forbidden then shim will relocate and execute the binary. shim will also install a protocol which permits the second-stage bootloader to perform similar binary validation. This protocol has a GUID as described in the shim.h header file and provides a single entry point. On 64-bit systems this entry point expects to be called with SysV ABI rather than MSABI, so calls to it should not be wrapped. On systems with a TPM chip enabled and supported by the system firmware, shim will extend various PCRs with the digests of the targets it is loading. A full list is in the file README.tpm . To use shim, simply place a DER-encoded public certificate in a file such as pub.cer and build with make VENDOR_CERT_FILE=pub.cer. There are a couple of build options, and a couple of ways to customize the build, described in BUILDING.
shim is a trivial EFI application that, when run, attempts to open and execute another application. It will initially attempt to do this via the standard EFI LoadImage() and StartImage() calls. If these fail (because Secure Boot is enabled and the binary is not signed with an appropriate key, for instance) it will then validate the binary against a built-in certificate. If this succeeds and if the binary or signing key are not forbidden then shim will relocate and execute the binary. shim will also install a protocol which permits the second-stage bootloader to perform similar binary validation. This protocol has a GUID as described in the shim.h header file and provides a single entry point. On 64-bit systems this entry point expects to be called with SysV ABI rather than MSABI, so calls to it should not be wrapped. On systems with a TPM chip enabled and supported by the system firmware, shim will extend various PCRs with the digests of the targets it is loading. A full list is in the file README.tpm . To use shim, simply place a DER-encoded public certificate in a file such as pub.cer and build with make VENDOR_CERT_FILE=pub.cer. There are a couple of build options, and a couple of ways to customize the build, described in BUILDING.
Support
Quality
Security
License
Reuse
Support
shim has a low active ecosystem.
It has 6 star(s) with 0 fork(s). There are 6 watchers for this library.
It had no major release in the last 12 months.
shim has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of shim is ipxe-15.4
Quality
shim has no bugs reported.
Security
shim has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
shim has a Non-SPDX License.
Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.
Reuse
shim releases are available to install and integrate.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of shim
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of shim
shim Key Features
No Key Features are available at this moment for shim.
shim Examples and Code Snippets
Copy
async function cmdShim(src: string, dest: string) {
// If not a symlink we default to the actual src file
// https://github.com/npm/npm/blob/d081cc6c8d73f2aa698aab36605377c95e916224/lib/utils/gently-rm.js#L273
let relativeShimTarget = await rea
Copy
async function createWindowsSymlink(src, dest, type) {
if (type === 'exec') {
return await cmdShim(src, dest);
} else {
return await createSymbolicLink(src, dest, type);
}
}
Community Discussions
No Community Discussions are available at this moment for shim.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install shim
You can download it from GitHub.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page