Windows error 0x80090034, -2146893772

Detailed Error Information

NTE_ENCRYPTION_FAILURE[1]

MessageEncryption failed.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode9 (0x009)
NameFACILITY_SSPI[2][1]
DescriptionThe source of the error code is the Security API layer.[2][1]
Error Code52 (0x0034)

Questions

3votes
4answers

DPAPI NG - NCryptProtectSecret returns NTE_ENCRYPTION_FAILURE

I am trying to encrypt data using DPAPI-NG but it fails on execution of NCryptProtectSecret, it returns: > 0x80090034 (NTE_ENCRYPTION_FAILURE) I have created NCryptCreateProtectionDescriptor with local user SID: "SID=S-1-5-21-2942599413-360359348-3087651068-500" Then I use this instance of descriptor as input for NCryptProtectSecret, but it does not work. If I use a protection [...] read more
windows-server-2012-r2
dpapi
cng

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0