Digital signature in ERPNext - what would be the basic steps to implement it?

Code snippet using s3 to store signatures and pyhanko to sign pdf. gist: Frappe Framework and PyHanko digital signatures · GitHub