Updated QR Codes (markdown)

Vincent Breitmoser 2018-05-25 09:33:42 +02:00
parent 97e0ae1dba
commit 22cc1c6e58
1 changed files with 18 additions and 0 deletions

@ -4,6 +4,24 @@
* Only full fingerprints are supported, not key IDs. After scanning, OpenKeychain allows for certification of keys and this is only secure with full fingerprints.
* OpenKeychain also supports opening ``openpgp4fpr`` Uris with full fingerprints via Android's ``android.intent.action.VIEW`` Intent.
## vCard support
OpenKeychain supports OpenPGP key fingerprints encoded in QR Code vCards. Key to be imported is retrieved from vCard's `KEY` field.
The following example shows how to embed a public key fingerprint as an `openpgp4fpr` scheme URI inside the vCard:
```
BEGIN:VCARD
FN:Linus Torvalds
EMAIL:torvalds.at.kernel.org
KEY:OPENPGP4FPR:ABAF11C65A2970B130ABE3C479BE3E4300411886
END:VCARD
```
After [encoding this text as a QR Code](https://www.the-qrcode-generator.com/) and scanning it with OpenKeychain's built-in QR Code scanner the key with fingerprint `ABAF11C65A2970B130ABE3C479BE3E4300411886` will be imported.
## About `openpgp4fpr` (copied from [effigies/openpgp4info](https://github.com/effigies/openpgp4info))
In 2010, the [Monkeysphere](http://web.monkeysphere.info/) project [introduced](http://permalink.gmane.org/gmane.comp.security.monkeysphere/592) the `openpgp4fpr:<FINGERPRINT>` scheme for sharing OpenPGP version 4 key fingerprints, where `<FINGERPRINT>` is the full 40 hex character fingerprint of a master key, and has since been adopted in vCards for sharing public keys.