Implement adding subkeys to an existing key
(cherry picked from commit ebc411664d7582ff38f9b1868fe3e42a92e59522)