[
https://issues.apache.org/jira/browse/SHINDIG-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654597#action_12654597
]
Paul Lindner commented on SHINDIG-475:
--------------------------------------
Looks like this code was refactored into
"java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/BasicOAuthStore.java"
where it does strip out the --- BEGIN....---- sequences.
Might want to rework this patch to use a regex to remove lines begining with a
hash and put in a test case for that...
> SigningFetcherFactory is too naive when reading key files
> ---------------------------------------------------------
>
> Key: SHINDIG-475
> URL: https://issues.apache.org/jira/browse/SHINDIG-475
> Project: Shindig
> Issue Type: Improvement
> Components: Gadget Rendering Server (Java)
> Reporter: Henning Schmiedehausen
> Attachments: signingfetcherfactory.patch
>
>
> The current "implementation" of loading PEM files for signing requests will
> choke on e.g. openssl created files because it tries to parse the --- BEGIN
> and --- END lines, too.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.