Use key from gnupg ?
Just to let you know, I'm not an expert in PGP.
I'm using gnupg as my PGP impl, and I want to write a small utility using sequoia, which reencrypts a file (or a list of files) using a new key (for example,
reencrypt my_encrypted_file.gpg --key 0xAABBCCDD where
0xAABBCCDD is the new key).
However, the keys are hold by gnupg (I'm not sure if it's the right word for that).
How should I use sequoia for retrieving the right old key from gnupg ?