Duo_api_ruby uses the Ruby openssl extension for TLS operations. All currently supported Ruby versions (2.7 and higher) support TLS 1.2 and 1.3.