Editing Sealedkey / pfsSKKey
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 82: | Line 82: | ||
const char tropkey = "/trophy/data/sce_trop/sealedkey"; | const char tropkey = "/trophy/data/sce_trop/sealedkey"; | ||
char usb_error = "[-] ERROR: Can't access usb0 nor usb1!\n[-] Will return now to caller.\n" | char usb_error = "[-] ERROR: Can't access usb0 nor usb1!\n[-] Will return now to caller.\n" | ||
char usb0path[( | char usb0path[(sizeof(usb0) + sizeof(pfs))]; | ||
char usb1path[ | char usb1path[sizeof(usb0path)]; | ||
/* Get's the encrypted sealed key based on user id */ | /* Get's the encrypted sealed key based on user id */ | ||
int get_pfsSKKey(byte *buffer, const char *userID, char path) { | int get_pfsSKKey(byte *buffer, const char *userID, char path) { | ||
char toOpen[( | char toOpen[(sizeof(home) + sizeof(userID) + sizeof(path))]; | ||
sprintf(toOpen, home, userID, path) | sprintf(toOpen, home, userID, path) |