[rfc-i] PGP in VCard.

Philippe Worontzoff mailinglists at philippeworontzoff.name
Sun Jul 15 05:47:11 PDT 2012


Hi,

I hope I send this question on the right e-mail address. This is about 
the VCard specification: <ftp://ftp.rfc-editor.org/in-notes/rfc2426.txt>.

I have found no example of PGP Key added in a VCard and I would like to 
know how to do it, as example, I'll use my own PGP public key (0xDEBD4F1E).
Is the right VCard encoding:
BEGIN:VCARD

VERSION:3.0
KEY;PGP:0xDEBD4F1E
END:VCARD

or

BEGIN:VCARD
VERSION:3.0
KEY;PGP;ENCODING=BASE64:
mI0ETKxd5gEEANhREJcCiuFJAslRQM2uOu3zhfUg9LPhZ2B1Yjy3no/snzG2K9oO
kTzum6EDZDqbth8JsiyhfZrvf7FTsYJr5csIdo31lK3kBwDX6ahKapzB4xY1Dp02
acuKQu/V6vv/p9FSngUmwLbWeP90f9ktNKcq5Fk6d3kH+ygLE80J8nc/ABEBAAG0
QlBoaWxpcHBlINCS0L7RgNC+0L3RhtC+0LIgPGZpbGlwdmVyYW50c29mQHBoaWxp
cHBld29yb250em9mZi5uYW1lPoi4BBMBAgAiBQJMrF3mAhsjBgsJCAcDAgYVCAIJ
CgsEFgIDAQIeAQIXgAAKCRADiboe3r1PHqPLA/43+RqEqQPs2JaHQdcZnX2EBugc
0Q9qjpGos68WjYZV2uKgR/S/j1PhG5RcSwckqeuy0O8bm5nH1Tl4i8XxMQS4wd01
16mqd6efEVhoGNbWIh36MIpgR1Uv3H7mbGRDoEUlUSzKJs0Otb2faJHe/5whrBo1
yZJRPT+HSG4xnwGcHLiNBEysXeYBBADDJmK5kVhCD6ZDpMC2G0EBneHXxoxZzemy
7xndASaFqnCwW3nPp2laEhwFisauXMbN2v5TsXVu7Oj/EWz3SEJBlcNVEVZu29Od
/vrWYZcNdVh7UrCRVn6JTpEUnnaAzCn6+8n/wKrMY1nJ3FBTDu5VYjvVf6jWfnUR
SH2eqQ8jqwARAQABiJ8EGAECAAkFAkysXeYCGwwACgkQA4m6Ht69Tx6k2gP9F0Jx
0SIyW19rhgyaoXkh6tzTmURBIfaElsVhqXCnajaKVgR9hU/ns9vWaG9ub70GW4Uv
IiPjzg4C9jK7GzIZtN2P3VXhF4BapiyK2RurYDebNGbEciI5dlpdMc70phkriMsU
LtKI42R0btONI8kDllmHlEEalmGrwRb/x8Zt6Pc=
=waEF
END:VCARD

ore are they both correct or do I have to use it another way?

It would be great to have a clear example on 
<ftp://ftp.rfc-editor.org/in-notes/rfc2426.txt>

Thanks in advance for your reply.



More information about the rfc-interest mailing list