[JIRA] (IDP-2009) Plugin Installer does not fail gracefully if no certificate is installed piped input provided

Rod Widdowson (Jira) jira at shibboleth.atlassian.net
Fri Sep 23 14:35:28 UTC 2022


Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *commented* on IDP-2009 ( https://shibboleth.atlassian.net/browse/IDP-2009?atlOrigin=eyJpIjoiYjI1NWNlZTM5OWIzNDhiYzg0MzliMmY2NTUwZDFmOTQiLCJwIjoiaiJ9 )

Re: Plugin Installer does not fail gracefully if no certificate is installed piped input provided ( https://shibboleth.atlassian.net/browse/IDP-2009?atlOrigin=eyJpIjoiYjI1NWNlZTM5OWIzNDhiYzg0MzliMmY2NTUwZDFmOTQiLCJwIjoiaiJ9 )

--noPrompt already fails gracefully:

TrustStore does not contain signature 0x1483F262A4B3FF0
Key import barred by user
Key not added to Trust Store
ERROR  -  Plugin Install failed: Could not check signature of distribution

Detected the NPE and psuch that piping input to the prompt fails better

$ yes |./plugin.sh -I net.shibboleth.idp.plugin.metadatagen
.....
TrustStore does not contain signature 0x1483F262A4B3FF0
ERROR  -  No Console Attached to installer
Key import barred by user
Key not added to Trust Store

( https://shibboleth.atlassian.net/browse/IDP-2009#add-comment?atlOrigin=eyJpIjoiYjI1NWNlZTM5OWIzNDhiYzg0MzliMmY2NTUwZDFmOTQiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-2009#add-comment?atlOrigin=eyJpIjoiYjI1NWNlZTM5OWIzNDhiYzg0MzliMmY2NTUwZDFmOTQiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100207- sha1:4756b15 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220923/eb54f65b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-db915328-3891-4bc3-94bf-916d2bf0072d
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220923/eb54f65b/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-d70ee0f2-e6f3-4284-a2bf-7ccc8c936dc6
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220923/eb54f65b/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-4937d4fc-b50d-4b55-a0bb-cafbf8cc2264
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220923/eb54f65b/attachment-0005.png>


More information about the commits mailing list