Last active
May 8, 2021 10:14
-
-
Save seisvelas/a3e79876404fd6198346ff7ee288545b to your computer and use it in GitHub Desktop.
ugly Python one-liner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python3 -c 'with open("secure_sigalgs") as f: print("jdk.tls.server.SignatureSchemes=" + ",".join([i.rstrip() for i in f.readlines()]))' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo $(tr '\n' ',' < secure_sigalgs | sed 's/.$//') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There we go. Beautiful bash version added :D. Now I can rest in power for eternity.