public key format?

Pete Baron
Pete Baron Posts: 2
edited September 2022 in General #1

I'm registering developer access for Camera Kit but the public key field is not accepting my file contents. ssh-keygen -t rsa -f snapkit_rsa
I did a search and found that sometimes we need to enclose the key in additional markers: "-----BEGIN PUBLIC KEY-----" and corresponding END. Adding these makes the 'Add Key' button become available, but on pressing it I get
"Failed to save public key due to an unknown error".
Is there a server problem, a restriction on the key types, or is this key required in an unusual format?

Best Answer

  • stevenxu
    stevenxu Posts: 611 👻
    #2 Answer ✓

    Closing this loop! This has been resolved in a private channel. Thanks Pete!


  • Pete Baron

    I discovered my mistake and created a new private+public key using the commands:

    openssl genrsa -out snapkit_rsa.pem
    openssl rsa -in snapkit_rsa.pem -pubout >

    However I still get the same 'unknown error' when I try to add the public key data.
    My questions all still stand...