-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to setup Staticman with GitHub and Zeit Now #291
Comments
@eduardoboucas If you like the idea of Zeit Now support in Staticman, then I would be happy to make a pull request. Let me know. |
For sure, that sounds great! |
In the first part of the linked series, there's a section about adding SSH keys. Nonetheless, according to #244 (comment), a PEM key is needed instead of an SSH key. In addition, GitLab EE docs recommend using ED25519 instead of RSA.
See also: |
Thank you for the information on SSH key standards and for the link on elliptic curve cryptography. Well, I am aware of elliptic curve cryptography and the advantages that it has over public key cryptography, I am behind on the latest encryption standards and need to commit some time updating my knowledge in this area. |
@BloggerBust I was able to follow your guide successfully until (and including) the "connect" part where the bot account accepts the collaborator invitation. Unfortunately, I have not been able to post comments since I am getting a 500 error without any details on the response or in the logs. I am puzzled, since I had v2 working with the staticman service before it went bad, so the client code should be ok (with the only change being the endpoint). Any hints as to where to begin looking? Thanks. |
I think the guide needs to be updated with v3 API introduced in #219. |
Yes, the guide definitely needs an update. I have been busy all summer. I will get caught up with things in the next week or so. Is the latest in upstream master functioning for v3 now? Or is that a problem that is yet to be solved? I responded to your comment on my blog with some instructions on how to obtain some useful logs to help you troubleshoot the issue. Cheers! Trevor |
I'm not keen on the recent addition of GitHub Apps support since this bundles Staticman with the proprietary service. As a result, I regret that I can't respond to your question. |
Hi @BloggerBust, I left a comment on your blog! I was able to make it work, thanks a lot for your detailed instructions. For anyone trying to do this, if you are coming from an earlier deployment (like the original api.staticman.net), do not forget to re-encrypt all your encrypted site configuration (staticman.yml) parameters (like your reCaptcha secret). Otherwise the decrypt will fail silently and you will get a 500 error with no details. BTW, that ZEIT service looks pretty darn good. Thanks again, Ricardo |
I had the same issue recently @jimmyangel and mentioned it in issue #108 and created PR #308 to address it. I'm glad you were able to get it figured out :) 👍 |
I am empathetic to your sentiment and yet we both have GitHub accounts :-P. I am hoping to move to sourcehut in the future, but in the meantime I am happy to help improve Staticman for GitHub. |
I saw that this morning. That is great news! |
This seems resolved. Feel free to comment if it isn't and I'll reopen this. |
Remove Google+
Hi Everyone!
I published a series on setting up Staticman with GitHub and Zeit Now. I hope this helps someone. Let me know what you think.
Cheers!
Trevor
The text was updated successfully, but these errors were encountered: