dhleong / playactor

play around with your playstation devices
143 stars 13 forks source link

Implement basic "Dummy" authentication mechanism #2

Closed dhleong closed 3 years ago

dhleong commented 3 years ago

Not accessible anywhere yet since it still probably belongs exclusively in a CLI flow, but this PR implements the MimCredentialRequester, porting the old "Dummy" mechanism from ps4-waker as an implementation of the ICredentialRequester interface.

An actual usage should probably wrap this class with a "RootManagingCredentialRequester" (or something) that ensures any root priveleges the process has are relinquished; requesting those priveleges is done in ps4-waker by re-spawning the proc, which is probably not reasonably accomplishable within the API...