[
https://issues.apache.org/jira/browse/PIO-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15871397#comment-15871397
]
ASF GitHub Bot commented on PIO-54:
-----------------------------------
GitHub user marevol opened a pull request:
https://github.com/apache/incubator-predictionio/pull/349
[PIO-54] Avoid access key started with -
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/marevol/incubator-predictionio retry-accesskey
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-predictionio/pull/349.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #349
----
----
> Avoid access key started with -
> -------------------------------
>
> Key: PIO-54
> URL: https://issues.apache.org/jira/browse/PIO-54
> Project: PredictionIO
> Issue Type: Improvement
> Reporter: Shinsuke Sugaya
> Priority: Minor
>
> Access key is generated by SecureRandom.
> If a key starts with -, it's difficult to use it as a command line argument.
> (I could not use it on data/import_eventserver.py...)
> {code}
> $ pio app list
> [INFO] [Pio$] Name | ID |
> Access Key | Allowed Event(s)
> [INFO] [Pio$] MyApp1 | 1 |
> -vlfOdrcYDx1ZUXROcpSOQJDyTtrMMGkSEzyeHUSmGpmaP8s-GJoQl_Mm1YEQeGU | (all)
> [INFO] [Pio$] Finished listing 1 app(s).
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)