Skip to content
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

feat(ssh): set sudo password from command with --passcmd #212

Merged
merged 2 commits into from
Mar 11, 2024
Merged

Conversation

cafkafk
Copy link
Member

@cafkafk cafkafk commented Mar 6, 2024

Signed-off-by: Christina Sørensen [email protected]

@cafkafk cafkafk marked this pull request as ready for review March 6, 2024 08:50
@0z13
Copy link
Contributor

0z13 commented Mar 6, 2024

discussed oob: probably want to keep pw out of process table

@johanot
Copy link
Contributor

johanot commented Mar 6, 2024

An "askpass"-helper would be fine imho, but that's not what this code does, is it?

@cafkafk
Copy link
Member Author

cafkafk commented Mar 6, 2024

An "askpass"-helper would be fine imho, but that's not what this code does, is it?

not right now no

@cafkafk
Copy link
Member Author

cafkafk commented Mar 6, 2024

I'm planning to change this so you can supply some command to be run that gives a password, so I can use it with GNUPass

I have literally no idea how to write go this might be full of bugs :D

Signed-off-by: Christina Sørensen <[email protected]>
@cafkafk cafkafk marked this pull request as draft March 6, 2024 10:23
@cafkafk cafkafk marked this pull request as ready for review March 6, 2024 10:24
@cafkafk cafkafk changed the title feat(ssh): set sudo password with argument (allowing me to use pass for deployments) feat(ssh): set sudo password from command with --passcmd Mar 6, 2024
@cafkafk cafkafk merged commit be415d3 into master Mar 11, 2024
2 checks passed
@cafkafk cafkafk deleted the pass-cmd branch March 11, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants