Skip to content

Instantly share code, notes, and snippets.

@seisvelas
Last active May 8, 2021 10:14
Show Gist options
  • Save seisvelas/a3e79876404fd6198346ff7ee288545b to your computer and use it in GitHub Desktop.
Save seisvelas/a3e79876404fd6198346ff7ee288545b to your computer and use it in GitHub Desktop.
ugly Python one-liner
python3 -c 'with open("secure_sigalgs") as f: print("jdk.tls.server.SignatureSchemes=" + ",".join([i.rstrip() for i in f.readlines()]))'
echo $(tr '\n' ',' < secure_sigalgs | sed 's/.$//')
@seisvelas
Copy link
Author

There we go. Beautiful bash version added :D. Now I can rest in power for eternity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment