News for hackers. Stuff that matters.
Re:Show HN: Use encrypted passwords in shell scripts signed ... by rockymadden on Wednesday February 21, 2018 @06:14PM (#16433814)
I did something similar where you could send GitHubers encrypted messages only they could decrypt via their SSH public key that GitHub makes available: https://github.com/rockymadden/github-crypt
Re:Show HN: Use encrypted passwords in shell scripts signed ... by danenania on Wednesday February 21, 2018 @06:42PM (#16433974)
I've considered adding Github public key support to EnvKey[1]. Currently, when inviting a user, you need to send a token out of band in order to not trust our servers during the invite process. Using the Github public key could potentially eliminate this step.

My only concern is that these might have a tendency to get out of date or not be managed securely, in which case it could be more trouble than it's worth.

1 - https://www.envkey.com

Re:Show HN: Use encrypted passwords in shell scripts signed ... by ahnick on Wednesday February 21, 2018 @06:29PM (#16433905)
That's a cool idea. It would be neat to have some way of sending that to the githubber builtin to the tool. Maybe send an email to the githubber if they have an email published or maybe just post it to a gist that then you can send them the link to?
Re:Show HN: Use encrypted passwords in shell scripts signed ... by rockymadden on Wednesday February 21, 2018 @06:36PM (#16433941)
I love that idea! I think you could use the anonymous gist API. Have the tool output to stdout/pbcopy the gist URL that was created upon encrypt and similarly have it accept a gist URL to decrypt. Nothing to send on either side beyond the URL.
Re:Show HN: Use encrypted passwords in shell scripts signed ... by michaelmior on Wednesday February 21, 2018 @08:54PM (#16434592)
Unfortunately creation of automated gists via the API is soon to be deprecated.

https://github.com/blog/2503-deprecation-notice-removing-ano...