开发者

Reading PGP key information

开发者 https://www.devze.com 2022-12-30 03:13 出处:网络
can someone show a description of the information of what a pgp looks like if only the descriptions were there but not the actual information? something like (i dont remember if the values are correct

can someone show a description of the information of what a pgp looks like if only the descriptions were there but not the actual information? something like (i dont remember if the values are correct):

packet-type[4 bits], total length in bytes[16 bits], packet version type [4 bits], creation开发者_开发知识库-time[32 bits], encryption-algorithm[8 bits], ...,etc,etc

ive tried to understand rfc4880, but its tedious and confusing. so far, i am think i have extracted the 4 i wrote above, but i cant seem to get the rest of the information out.

can anyone help? i know i can just find some pgp program, but the whole point of this is to allow me to learn how those programs work in the first place


Read carefully section 4.2 of RFC 4880, there different packet formats, with different packet length encodings.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号