Removing a key
Gustavo Niemeyer
gustavo.niemeyer at canonical.com
Thu Oct 13 22:45:13 UTC 2016
I'm not quite sure we'll support removing of keys, as it's a bit awkward to
have keys just disappearing without a trace.
We obviously need to support revoking, though, and I see Colin Watson
already has a pre-req PR lined up here:
https://github.com/snapcore/snapd/pull/2083
Will see if we can review and land this tomorrow.
In this specific case I'm not sure that's what's desired though. We also
need to support renaming of keys, so you can opt to keep the current key
and simply make it non-default.
On Thu, Oct 13, 2016 at 7:31 PM, Loïc Minier <loic.minier at ubuntu.com> wrote:
> It is likely deleting keys isn't implemented yet:
> https://myapps.developer.ubuntu.com/docs/api/account.html
>
> In the mean time, I suggest you just register and use another key.
>
> Cheers,
> - Loïc Minier
>
> On Thu, Oct 13, 2016 at 11:54 PM, Luke Williams <
> luke.williams at canonical.com> wrote:
>
>> Hello,
>>
>> That didn’t work, it just dumped the snapcraft usage
>>
>> Thanks,
>>
>> Luke Williams - Technical Partner Manager, Network Switches/Ubuntu-Core
>> email: luke.williams at canonical.com
>> http://www.canonical.com/ | http://www.ubuntu.com
>>
>>
>>
>>
>>
>> On Oct 13, 2016, at 2:45 PM, Manik Taneja <manik at canonical.com> wrote:
>>
>>
>>
>> On Thu, Oct 13, 2016 at 1:48 PM, Luke Williams <
>> luke.williams at canonical.com> wrote:
>>
>> Hello,
>>>
>>> I was trying to build an Ubuntu-Core image and noticed that I don't have
>>> my original snap key on my newly rebuilt system (hard drive failure on my
>>> build machine) so I created a new default key, but can't upload it since I
>>> already have a key named default. I ended up creating a new key with a new
>>> name, but I would like to remove the original key, but can't seem to find
>>> anything on how to do this. I can see the keys with snapcraft list-keys but
>>> no way to remove them. Any ideas?
>>>
>>> try this-
>>
>> snapcraft revoke-key <default>
>>
>> /manik
>>
>>
>>
>> --
>> Snapcraft mailing list
>> Snapcraft at lists.snapcraft.io
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/snapcraft
>>
>>
>
>
> --
> - Loïc
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/snapcraft
>
>
--
gustavo @ http://niemeyer.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161013/9ed8aaf7/attachment.html>
More information about the Snapcraft
mailing list