Re: How SHA1 in signature header is calculated?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After 6 hours of gdb I've figured at least how to make a rpm without librpm.


I've found several undocumented things:

1) file list MUST be sorted before packing it to header
2) header MUST NOT be aggressively aligned with gaps and it MUST be aligned STRICTLY as it is declared
3) directory names MUST be packed with leading /
4) SHA1 header MUST exists or Centos will refuse to install it


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux