Ñò ºµiVc@ssdZddklZddkZdeifd„ƒYZdd d„ƒYZd„Zed jo eƒndS( s\ Boot authorization class contains functions to manage setting and removing boot credential iÿÿÿÿ(tBootmgmtAddCredentialErrorNtMyDictcBsDeZdZdd„Zed„ƒZd„Zd„Zd„Z RS(s(A wrapper around dictionary objects cCs tii||ƒt|_dS(N(tUserDictt__init__tFalset_dirty(tselftdct((s!../../common/bootmgmt/bootauth.pyR%scCs|iS(N(R(R((s!../../common/bootmgmt/bootauth.pytdirty)scCsK||ijp|i||jo#t|_tii|||ƒndS(N(tdatatTrueRRt __setitem__(Rtkeytitem((s!../../common/bootmgmt/bootauth.pyR -s$ cCs4||ijo t|_tii||ƒndS(N(R R RRt __delitem__(RR ((s!../../common/bootmgmt/bootauth.pyR2s cCs7t|iƒdjo t|_ntii|ƒdS(Ni(tlenR R RRtclear(R((s!../../common/bootmgmt/bootauth.pyR7s N( t__name__t __module__t__doc__tNoneRtpropertyRR RR(((s!../../common/bootmgmt/bootauth.pyR"s    tCredentialStorecBsqeZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z d „Z d „Z RS( smCredentialStore is a container for GRUB menu global password and menu entry's username and password. cCs"g|_tƒ|_d|_dS(s'Initializating a CredentialStore objecttN(tlist_superuserRtuserpwstpassword(R((s!../../common/bootmgmt/bootauth.pyRBs  cCs|iS(s6Return the dictionary containing username and password(R(R((s!../../common/bootmgmt/bootauth.pyt get_userpwsKscCsB||ijo!||i|s M