texadactyl / diyca

Do-It-Yourself Certificate Authority
GNU General Public License v3.0
31 stars 11 forks source link

"DeprecationWarning: str for buf is no longer accepted, use bytes" #14

Closed texadactyl closed 2 years ago

texadactyl commented 4 years ago

Describe the bug Relatively new deprecation warnings in example programs alice and bob for not presenting the socket routines with bytes objects in stead of str objects. Currently, they work anyways. No telling about tomorrow.

To Reproduce Steps to reproduce the behavior:

  1. Run the alice and bob example programs as documented.
  2. See: "DeprecationWarning: str for buf is no longer accepted, use bytes"

Expected behavior No warnings.