bwackwat | 8 years ago | on: Ask HN: Do computers and tablets really improve education at elementary level?
bwackwat's comments
bwackwat | 8 years ago | on: Haskell vs. Ada vs. C++ an Experiment in Software Prototyping Productivity (1994) [pdf]
Anyone have a modern example of this type of research? Opinions are welcome!
bwackwat | 8 years ago | on: Ask HN: Google Doc email virus?
bwackwat | 8 years ago | on: Ask HN: Is there a sane alternative to Angular and React?
bwackwat | 9 years ago | on: What Are Some Examples of Well-Written C# Code?
Anyways, I suggest you use Visual Studio, use the code formatter, and stick to common good programming practices such as: using proper accessors (public, private, protected), don't duplicate code, name variables with style, document things that you think you'll be curious about later, and use git to keep track of your code.
bwackwat | 9 years ago | on: Ask HN: What's the best Git host?
Wait a second, lets just use rsync!
bwackwat | 9 years ago | on: Ask HN: Which drugs (medical and non-medical) do u take, and why?
bwackwat | 9 years ago | on: Ask HN: How are you doing S2S authentication?
I believe the standard is basically TLS 1.2 asymmetric encryption and then token-based authentication via username/password mechanisms. For example, most databases are securely accessible via external services using TLS.
Key distribution in my case (symmetric encryption,) is trivial, but securing or replacing those keys is non-trivial and I have yet to solve this problem.
Nonetheless, securing private or even public TLS keys is a seriously difficult problem as well.
bwackwat | 9 years ago | on: How Do You Name Your Servers
I'm going to start naming my web servers:
web-server-load-balancer
web-server-1
web-server-2
web-server-3
bwackwat | 9 years ago | on: Ask HN: What C++ parallelization framework do you use?
If anyone has a multi-threaded conundrum, I'd be glad to discuss it.
bwackwat | 9 years ago | on: Ask HN: What C++ parallelization framework do you use?
What kind of parallelization do you need?
bwackwat | 9 years ago | on: Ask HN: Is openssl enc a good choice for file encryption?
Furthermore, Canada, what about privately managed machines communicating via TCP and AES 256 CBC symmetrically encrypted messages? I also use a random salt and a transaction number.
Until now, I was thinking that successfully decrypted data would be safe. Is the case for TCP encrypted data the same? I need to have a MAC for each message and verify that between ACK's or something?
EDIT: Did some research: https://en.wikipedia.org/wiki/Authenticated_encryption
It looks like incorporating a MAC within or alongside the encrypted data is not as insecure or as complex as I was afraid.
Can both my TCP encryption and OP's file encryption problem by solved by just appending a HASH of the encrypted data to the end of the encrypted data (EtM), or appending a HASH of the plaintext data to the end of the plaintext data and then encrypting that (MtE)?
bwackwat | 9 years ago | on: Ask HN: Is openssl enc a good choice for file encryption?
I also see clearly how hashing the encrypted data before "storing it at this 3rd party" would allow you to verify CBC block modifications.
I guess I don't understand GPG well enough to see how it solves this problem better than AES CBC 256. Could you perchance provide a link? Or explain how GPG would take care of this?
bwackwat | 9 years ago | on: Ask HN: Is openssl enc a good choice for file encryption?
I'm personally curious about the best solution...
@Canada, if the "malicious"(untrusted?) server modifies the backup how could you decrypt anyway?
bwackwat | 9 years ago | on: Ask HN: Is openssl enc a good choice for file encryption?
For example, I use CryptoPP for AES 256 bit encryption in C++.
bwackwat | 9 years ago | on: Ask HN: What to do after installing windows
http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-...
Then you can setup a great Linux VM and not have to worry about anything! (Sorta joking.)
# yum -y install epel-release xterm firefox
# yum -y install cinnamon*
# echo "exec /usr/bin/cinnamon-session" >> ~/.xinitrc
# startx
Oh yeah you mentioned code editors I recommend VIM, GEDIT, or Sublime Text 3 on Windows.
bwackwat | 9 years ago | on: Ask HN: What is your full stack web development?
bwackwat | 9 years ago | on: Ask HN: Software for writing a diary that will be around in 20 years from now
I hope current digital file storage strategies and Ethernet internet exists in 20 years!
bwackwat | 9 years ago | on: Ask HN: What are the best web tools to build basic web apps as of October 2016?
bwackwat | 9 years ago | on: Ask HN: What is now on the fringe?