| | 15 | === Signing Your Container File === |
| | 16 | |
| | 17 | * You may encounter the following messages, |
| | 18 | {{{ |
| | 19 | WARNING: integrity: signature not found for object group 1 |
| | 20 | WARNING: Skipping container verification |
| | 21 | }}} |
| | 22 | |
| | 23 | * If so, then you can sign your container file via the following. |
| | 24 | * Create or update your Sylabs token as needed at [https://cloud.sylabs.io/tokens Sylabs Cloud Tokens] |
| | 25 | * Copy the new Sylabs token provided in the above as needed in your clipboard. |
| | 26 | * Confirm your remote login in your interactive session by entering the command |
| | 27 | {{{ |
| | 28 | [tulaneID@cypress01-009 ~]$singularity remote login |
| | 29 | }}} |
| | 30 | * Paste the new Sylabs token provided as needed at the prompt. |
| | 31 | * Substitute your chosen values for '''sylabsID''', '''myCollection''', '''myImage''', and '''myTag''' in the URL !https://cloud.sylabs.io/library/sylabsID/myCollection/myImage |
| | 32 | * Observe on the Sylabs web page for the image the label '''Image is Unsigned'''. |
| | 33 | * Click on the button labeled '''Sign Image''', and at the terminal enter the commands in the resulting pop-up window, such as the following. |
| | 34 | {{{ |
| | 35 | [tulaneID@cypress01-009 ~]$singularity pull sylabsID_mycollection.sif library://sylabsID/mycollection/myimage:mytag |
| | 36 | [tulaneID@cypress01-009 ~]$singularity key list |
| | 37 | [tulaneID@cypress01-009 ~]$singularity sign --keyidx 0 sylabsID_mycollection.sif |
| | 38 | Signing image: cb4sylabs_mycollection.sif |
| | 39 | Signature created and applied to cb4sylabs_mycollection.sif |
| | 40 | [tulaneID@cypress01-009 ~]$singularity push sylabsID_mycollection.sif library://sylabsID/mycollection/myimage:mytag |
| | 41 | 3.6MiB / 3.6MiB [==============================================================================] 100 % 11.8 MiB/s 0s |
| | 42 | }}} |
| | 43 | * Confirm on the Sylabs web page for the image, refreshing the page as needed, the label '''Image is Signed'''. |
| | 44 | |