<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2-platforms.git/Features/Intel/UserInterface/UserAuthFeaturePkg/UserAuthenticationDxeSmm, 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>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: 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/Intel/UserAuthFeaturePkg: Add initial package</title>
<updated>2019-12-07T01:37:59+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.a.kubacki@intel.com</email>
</author>
<published>2019-10-21T05:02:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=0110a8cf76966d632881a6570f764a42af577ab9'/>
<id>urn:sha1:0110a8cf76966d632881a6570f764a42af577ab9</id>
<content type='text'>
Adds a new feature package for the User Authentication feature.

Cc: Dandan Bi &lt;dandan.bi@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.a.kubacki@intel.com&gt;
Reviewed-by: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
</content>
</entry>
</feed>
