I am creating a snap of my software and sideloading it to my devices; which works nicely. However, I have to add the --dangerous flag to snap install and I'd prefer to digitally sign these snaps in order to make the process safer.

I can't find any specific documentation on how to sign the snaps when creating them with snapcraft. I am obviously not looking into the right places (snapcraft.io). Could you point me to the right direction?

  • If you publish them to the store, then you don't need to use --dangerous. Is there any reason you're not just pushing to the store? – popey Feb 10 '17 at 9:56
  • We are not publishing the snap into the store as it is a private project (that it's not intended to distribute outside of the organization) and, also, the devices are not usually connected to the internet. – chaos.ct Feb 10 '17 at 10:08

If you add your key to your login in Launchpad, it will be signed in your snaps that are uploaded and published under that login.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.