<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2-platforms.git/Features/Intel/UserInterface/UserAuthFeaturePkg, branch CodeCleanup</title>
<subtitle>EDK II sample platform branches and tags (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/'/>
<updated>2023-11-30T23:13:23+00:00</updated>
<entry>
<title>UserAuthFeaturePkg/UserAuthenticationSmm: Support Standalone MM.</title>
<updated>2023-11-30T23:13:23+00:00</updated>
<author>
<name>Wei6 Xu</name>
<email>wei6.xu@intel.com</email>
</author>
<published>2023-11-30T15:07:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=bd1c9ed97dc96a53671786ea73102c78da4c7e32'/>
<id>urn:sha1:bd1c9ed97dc96a53671786ea73102c78da4c7e32</id>
<content type='text'>
Refactor UserAuthenticationSmm to support Standalone MM.
- Factor out variable lock code logic that references boot services.
- UserAuthenticationStandaloneMmDxe is added to lock the variables.
  It is only used for UserAuthenticationStandaloneMm.
- UserAuthenticationStandaloneMm doesn't lock the variables, needs to
  rely on UserAuthenticationStandaloneMmDxe to do the lock.
- UserAuthenticationSmm still locks the variables by itself, no need
  to include UserAuthenticationStandaloneMmDxe.
- Register gEfiEventExitBootServicesGuid notify which is used by the
  StandaloneMmCore.

Since gEdkiiVariableLockProtocolGuid is a deprecated interface, use
gEdkiiVariablePolicyProtocolGuid to lock password variables instead.

Cc: Dandan Bi &lt;dandan.bi@intel.com&gt;
Reviewed-by: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Signed-off-by: Wei6 Xu &lt;wei6.xu@intel.com&gt;
</content>
</entry>
<entry>
<title>Features/Intel: Prepare for edk2-platforms CI</title>
<updated>2023-01-13T00:37:50+00:00</updated>
<author>
<name>Isaac Oram</name>
<email>isaac.w.oram@intel.com</email>
</author>
<published>2023-01-10T00:05:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=c227f900f52311f1d85ccfe7bb6f1269d55a7d70'/>
<id>urn:sha1:c227f900f52311f1d85ccfe7bb6f1269d55a7d70</id>
<content type='text'>
Fix some build issues with GCC5 targets
Add a Readme.md for AdvancedFeaturePkg
Add VS2019, CLANGPDB, and GCC5 build targets to Readme.md
for each feature

Cc: Sai Chaganty &lt;rangasai.v.chaganty@intel.com&gt;
Cc: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Eric Dong &lt;eric.dong@intel.com&gt;
Cc: Dandan Bi &lt;dandan.bi@intel.com&gt;
Signed-off-by: Isaac Oram &lt;isaac.w.oram@intel.com&gt;
Reviewed-by: Sai Chaganty &lt;rangasai.v.chaganty@intel.com&gt;
</content>
</entry>
<entry>
<title>Features/Intel: Reduce duplicate code</title>
<updated>2022-09-01T01:42:40+00:00</updated>
<author>
<name>Isaac Oram</name>
<email>isaac.w.oram@intel.com</email>
</author>
<published>2022-07-19T21:14:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=63f9e0d918aac6ec7ac6458039f72b0823729e90'/>
<id>urn:sha1:63f9e0d918aac6ec7ac6458039f72b0823729e90</id>
<content type='text'>
Enable simpler initialation of the MinPlatformPkg feature
selection PCD.  Most features and boards don't benefit from
initializing these.

Cc: Sai Chaganty &lt;rangasai.v.chaganty@intel.com&gt;
Cc: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Signed-off-by: Isaac Oram &lt;isaac.w.oram@intel.com&gt;
Reviewed-by: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
</content>
</entry>
<entry>
<title>UserAuthFeaturePkg: Use MinPlatformPkg build include files</title>
<updated>2022-02-02T23:26:20+00:00</updated>
<author>
<name>Isaac Oram</name>
<email>isaac.w.oram@intel.com</email>
</author>
<published>2021-12-23T01:24:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=f0d3ca189448a8870f3dcfd10b05e53fe64bcb23'/>
<id>urn:sha1:f0d3ca189448a8870f3dcfd10b05e53fe64bcb23</id>
<content type='text'>
Use the MinPlatformPkg common core build files to build libraries
needed by this feature.

Cc: Dandan Bi &lt;dandan.bi@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;

Signed-off-by: Isaac Oram &lt;isaac.w.oram@intel.com&gt;
Reviewed-by: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
</content>
</entry>
<entry>
<title>UserAuthFeaturePkg: Fix all relative package paths</title>
<updated>2022-02-02T23:26:20+00:00</updated>
<author>
<name>Isaac Oram</name>
<email>isaac.w.oram@intel.com</email>
</author>
<published>2021-12-23T00:11:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=c51e90eb23d5e6129dec62571e404ec7bdca528f'/>
<id>urn:sha1:c51e90eb23d5e6129dec62571e404ec7bdca528f</id>
<content type='text'>
Packages should be at the root of a PACKAGES_PATH entry.
At some point, paths were relative to edk2-platforms/Features/Intel
which was functional, but interferes with the proper functioning
of packaging tools.

Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Dandan Bi &lt;dandan.bi@intel.com&gt;

Signed-off-by: Isaac Oram &lt;isaac.w.oram@intel.com&gt;
Reviewed-by: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
</content>
</entry>
<entry>
<title>UserAuthFeaturePkg/PlatformPasswordLibNull: Add UEFI app support</title>
<updated>2022-01-21T19:56:43+00:00</updated>
<author>
<name>Isaac Oram</name>
<email>isaac.w.oram@intel.com</email>
</author>
<published>2022-01-20T19:40:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=0b4770e1ca1af424062da5fc06162cfcf1a0348c'/>
<id>urn:sha1:0b4770e1ca1af424062da5fc06162cfcf1a0348c</id>
<content type='text'>
Enable library use with UEFI_APPLICATION components similarly to the
other libraries in the package.

Cc: Dandan Bi &lt;dandan.bi@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Guillermo Antonio Palomino Sosa &lt;guillermo.a.palomino.sosa@intel.com&gt;

Signed-off-by: Isaac Oram &lt;isaac.w.oram@intel.com&gt;
Reviewed-by: Dandan Bi &lt;dandan.bi@intel.com&gt;
</content>
</entry>
<entry>
<title>UserAuthFeaturePkg: VerifyPassword() allows one extra password attempt</title>
<updated>2021-12-08T00:54:51+00:00</updated>
<author>
<name>Nate DeSimone</name>
<email>nathaniel.l.desimone@intel.com</email>
</author>
<published>2021-12-01T22:26:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=15d8aa1828a1f91fde335f4f36f3a0dde148280a'/>
<id>urn:sha1:15d8aa1828a1f91fde335f4f36f3a0dde148280a</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3756

If the password provided by the user is incorrect, then the VerifyPassword()
function is supposed to return EFI_SECURITY_VIOLATION if the user has not
exceeded the maximum number of password guesses (currently set to 3). If the
number of password guesses has been exceeded, then VerifyPassword() shall return
EFI_ACCESS_DENIED. UserAuthenticationDxe uses EFI_ACCESS_DENIED as the signal
that the number of guesses has been exceeded for the purposes of triggering a
forced reboot.

VerifyPassword() checks if the number of password guess attempts has exceeded
the maximum allowed before checking if the current password guess is correct. If
it has, then VerifyPassword() immediately returns EFI_ACCESS_DENIED. This
behavior is correct since it is possible for VerifyPassword() to be called again
after the maximum number of attempts has been exceeded. However, if the user
guesses incorrectly, then VerifyPassword() will always return
EFI_SECURITY_VIOLATION. This is where the bug is. It is possible that after the
current attempt, the maximum allowed number of attempts is exceeded. Therefore,
VerifyPassword() should check the number of attempts again, after checking if
the password is correct.

Cc: Dandan Bi &lt;dandan.bi@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Jadhav Manoj D &lt;manoj.d.jadhav@intel.com&gt;
Cc: Chasel Chiu &lt;chasel.chiu@intel.com&gt;
Signed-off-by: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
Reviewed-by: Dandan Bi &lt;dandan.bi@intel.com&gt;
</content>
</entry>
<entry>
<title>UserAuthFeaturePkg/UserAuthenticationDxeSmm: The SMI to handle the user authentication should be unregister before booting to OS</title>
<updated>2021-10-13T01:52:55+00:00</updated>
<author>
<name>Shi, Hao</name>
<email>hao.shi@intel.com</email>
</author>
<published>2021-09-28T02:09:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=23ca68c23dd600973e961de4368abacf4db8c5c0'/>
<id>urn:sha1:23ca68c23dd600973e961de4368abacf4db8c5c0</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3648

Register SmmExitBootServices and SmmLegacyBoot callback function to unregister this handler.

Signed-off-by: Hao Shi &lt;hao.shi@intel.com&gt;
Cc: Dandan Bi &lt;dandan.bi@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Reviewed-by: Dandan Bi &lt;dandan.bi@intel.com&gt;
</content>
</entry>
<entry>
<title>Features/UserInterface: Consume MdeLibs.dsc.inc for RegisterFilterLib</title>
<updated>2021-03-31T06:20:12+00:00</updated>
<author>
<name>Dandan Bi</name>
<email>dandan.bi@intel.com</email>
</author>
<published>2021-03-16T08:23:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=e3f2c322179bd7a428a83b19e0368c80a1ab3631'/>
<id>urn:sha1:e3f2c322179bd7a428a83b19e0368c80a1ab3631</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Signed-off-by: Dandan Bi &lt;dandan.bi@intel.com&gt;
Reviewed-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>Features/Intel/UserInterface/UserAuthFeaturePkg: Add RngLib instance to DSC</title>
<updated>2020-10-27T05:46:06+00:00</updated>
<author>
<name>Liu, Zhiguang</name>
<email>Zhiguang.Liu@intel.com</email>
</author>
<published>2020-10-19T06:16:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=4472034ad3ee6c2dd0aa22a3aa885d37388bfec0'/>
<id>urn:sha1:4472034ad3ee6c2dd0aa22a3aa885d37388bfec0</id>
<content type='text'>
The UserAuthFeaturePkg build currently fails since it does not specify
a RngLib instance and OpensslLib links against RngLib.

Cc: Dandan Bi &lt;dandan.bi@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Signed-off-by: Zhiguang Liu &lt;zhiguang.liu@intel.com&gt;
Reviewed-by: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Reviewed-by: Dandan Bi &lt;dandan.bi@intel.com&gt;
</content>
</entry>
</feed>
