Secure Boot NVRAM Policy
1. Secure Boot NVRAM策略概述Secure Boot作为UEFI固件的重要安全机制,其策略配置主要通过NVRAM变量来实现和维护。本文将详细介绍Secure Boot相关的NVRAM策略管理。 1.1 核心安全变量Secure Boot使用以下关键NVRAM变量: PK (Platform Key):平台密钥 KEK (Key Exchange Key):密钥交换密钥 db (Signature Database):允许签名数据库 dbx (Forbidden Signature Database):禁止签名数据库 dbt (Timestamp Database):时间戳数据库 1.2 变量属性要求12345678910111213// Secure Boot变量通用属性#define SECURE_BOOT_VAR_ATTR ( \ EFI_VARIABLE_NON_VOLATILE | \ EFI_VARIABLE_BOOTSERVICE_ACCESS | \ EFI_VARIABLE_RUNTIME_ACCESS | \ ...
NVRAM在UEFI中的应用
NVRAM(Non-Volatile Random Access Memory)作为UEFI固件中的关键组件,在系统启动和运行时扮演着重要角色。本文将深入探讨NVRAM在UEFI中的应用,从基础概念到实际开发实践,帮助读者全面理解这一技术。 1. NVRAM技术概述1.1 基本概念非易失性随机访问存储器(NVRAM)在UEFI生态系统中主要用于: UEFI变量服务(Variable Services)实现 系统配置的持久化存储 安全启动参数维护 硬件配置保存 启动状态管理 系统恢复信息存储 1.2 NVRAM的特性 掉电数据不丢失 支持随机读写访问 有限的写入次数(需要磨损平衡) 支持属性控制的访问机制 提供安全存储能力 1.3 实际应用场景12345678910111213141516171819202122232425262728293031323334// 1. 存储显示器EDID信息EFI_STATUS SaveEdidInfo() { UINT8 edid[128]; EFI_STATUS Status; // 获取EDID数据 ...
Notes for my deployment of Hexo
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartMy Hexo Deployment Journey Environment SetupInstalled Node.js v16.x and Git on Windows 11. Verified installation with:12node --versiongit --version Hexo InitializationCreated project folder and installed hexo-cli:1234npm install -g hexo-clihexo init blogcd blognpm install Theme...