Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
fix paragraph appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-GS committed Apr 4, 2017
1 parent 2a59fe0 commit 052c0eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/PLUGIN_SIGNING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ By default, the Snap daemon (snapteld) has plugin signing verification enabled.

##How it works
![How it works](https://cloud.githubusercontent.com/assets/14298289/19846788/de129a2a-9f4a-11e6-8275-fdd5fac63c82.png)


Private/public keys and keyrings are generated by GPG. The plugin is signed with the private key and the public key needs to be added to the user's keyring. The signing is an armored detached signature in the form of a `.asc` file.

The Snap daemon uses the [Golang OpenPGP library](https://godoc.org/golang.org/x/crypto/openpgp)'s `CheckArmoredDetachedSignature` function to validate the signature using the keyring, plugin, and signature file before loading the plugin. It checks the issuer key ID, hash, and signature type.
Expand Down

0 comments on commit 052c0eb

Please sign in to comment.