Tool/software:
How are the keys stored in the keyring used for encryption and decryption?
From my understanding of the keyring - each key is stored with a key hash and a key index. Therefore when an image is needing to be decrypted using the keyring id from the certificate - is the public hash used in the decryption function, is there a way to retrieve the key from the keyring given the keyring index and that is used to decrypt the image, or is there another way this is done?
Is there any code that I can follow to see how this works?