How to move assertion key

I started building my image using an unsupported architecture. I was able to register a key and sign the assertion but building failed. I would now like to continue with the proper architecture but it seems that the key is stored locally. On the other (proper) machine the default key was generated but never submitted.

Can I move the key to the other environment or is it easier to sign the assertion with a new key (with a label other than default)?

You should be able to move the old keys which live in .snap/gnupg/.

Thanks that helped. I had to copy everything to .gnupg/ since gpgp only exports from and to the default path but it worked. Now, snapcraft sees two keys named default (one unregistered) but since it hasn’t been used I ignore this and continue with another named one.