<div dir='auto'>Because RFC1991, which RFC2440 built on, which in turn ultimately became RFC4880, far predates XML, YAML, or JSON. By now the RFC way of storing data has a huge amount of bureaucratic inertia.</div><div class="gmail_extra"><br><div class="gmail_quote">On Dec 27, 2019 12:14 PM, Denis BEURIVE <denis.beurive@gmail.com> wrote:<br type="attribution" /><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">
<p style="margin:0px;white-space:pre-wrap">Hello,</p>
<p style="margin:0px;white-space:pre-wrap"><br /></p>
<p style="margin:0px;white-space:pre-wrap">I've just finished the implementation of RFC 4880 in Python (at least part of it).</p>
<p style="margin:0px;white-space:pre-wrap"><br /></p>
<p style="margin:0px;white-space:pre-wrap">And I am asking the question :</p><p style="margin:0px;white-space:pre-wrap"><br /></p><p style="margin:0px;white-space:pre-wrap"><i>why is PGP not using a standard format to encode data ?</i></p>
<p style="margin:0px;white-space:pre-wrap"><br /></p>
<p style="margin:0px;white-space:pre-wrap">I mean : we could very well use XML, JSON or YAML to represent a PGP document.</p>
<p style="margin:0px;white-space:pre-wrap"><br /></p>
<p style="margin:0px;white-space:pre-wrap">Is there a good reason to define a specific format for storing cryptographic data ?</p><p style="margin:0px;white-space:pre-wrap"><br /></p><p style="margin:0px;white-space:pre-wrap">Regards,</p><p style="margin:0px;white-space:pre-wrap"><br /></p><p style="margin:0px;white-space:pre-wrap">Denis</p></div></div>
</blockquote></div><br></div>