Project

Profile

Help

Story #5945

Updated by dkliban@redhat.com almost 5 years ago

As a pulp administrator, I can create a SigningService by providing a script that implements the following interface: 

 script-name <file-name> 

 The script should can produce any number of files in the current working directory and then output a JSON structure that has a key for every file generated and the value for each is the sha256 sum of the file. e.g.  

 <pre> 
 $ /var/lib/pulp/mysigningscript.sh repomd.xml 
 {"repomd.xml.asc": "ce72f1c9f90c6ca85a88352b677ed8cc85d4ba81b4887be39afb01ad9c4fd8f8", "repomd.xml.gpg": "e36e08b23107745247855b1a06d6d8ae27883fb56d7d7a282d93393db801cfe0"} 
 </pre> 

Back