Yes, you're entirely right. I'm not sure what I was confused about before, and frankly even the question seems dumb now.

I'll change the order to `secret key -> public key -> storage -> nonce -> storage