[Bug 228135] www/node 10.0.0: SSL routines:tls_process_key_exchange:wrong signature length on i386 only

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 10 22:16:36 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228135

            Bug ID: 228135
           Summary: www/node 10.0.0: SSL
                    routines:tls_process_key_exchange:wrong signature
                    length on i386 only
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bhughes at freebsd.org
          Reporter: saper at saper.info
             Flags: maintainer-feedback?(bhughes at freebsd.org)
          Assignee: bhughes at freebsd.org

node 10.0 built with default options as of r464137
10.4-RELEASE-p9 jail on 11.1-STABLE host

Same JS script:

# cat /tmp/fetch.js 
const https = require('https');

https.get('https://registry.npmjs.org/', (res) => {
  console.log('statusCode:', res.statusCode);
  console.log('headers:', res.headers);

  res.on('data', (d) => {
    process.stdout.write(d);
  });

}).on('error', (e) => {
  console.error(e);
});
# node /tmp/fetch.js 
{ Error: write EPROTO 704655488:error:1416D108:SSL
routines:tls_process_key_exchange:wrong signature
length:../deps/openssl/openssl/ssl/statem/statem_clnt.c:1693:

    at WriteWrap.afterWrite [as oncomplete] (net.js:835:14) errno: 'EPROTO',
code: 'EPROTO', syscall: 'write' }

# node -p process.versions
{ http_parser: '2.8.0',
  node: '10.0.0',
  v8: '6.6.346.24-node.5',
  uv: '1.20.3',
  zlib: '1.2.11',
  ares: '1.12.0',
  modules: '64',
  nghttp2: '1.29.0',
  napi: '3',
  openssl: '1.1.0h',
  icu: '61.1',
  unicode: '10.0',
  cldr: '33.0',
  tz: '2018c' }

# { target_defaults: 
   { cflags: [],
     default_configuration: 'Release',
     defines: [],
     include_dirs: 
      [ '/usr/local/include',
        '/usr/local/include',
        '/usr/local/include' ],
     libraries: 
      [ '-lz',
        '-L/usr/local/lib',
        '-luv',
        '-L/usr/local/lib',
        '-lcares',
        '-L/usr/local/lib',
        '-licui18n',
        '-licuuc',
        '-licudata' ] },
  variables: 
   { asan: 0,
     build_v8_with_gn: false,
     coverage: false,
     debug_http2: false,
     debug_nghttp2: false,
     force_dynamic_crt: 0,
     host_arch: 'ia32',
     icu_gyp_path: 'tools/icu/icu-system.gyp',
     icu_small: false,
     llvm_version: '3.4',
     node_byteorder: 'little',
     node_debug_lib: false,
     node_enable_d8: false,
     node_enable_v8_vtunejit: false,
     node_install_npm: false,
     node_module_version: 64,
     node_no_browser_globals: false,
     node_prefix: '/usr/local',
     node_release_urlbase: '',
     node_shared: false,
     node_shared_cares: true,
     node_shared_http_parser: false,
     node_shared_libuv: true,
     node_shared_nghttp2: false,
     node_shared_openssl: false,
     node_shared_zlib: true,
     node_tag: '',
     node_target_type: 'executable',
     node_use_bundled_v8: true,
     node_use_dtrace: false,
     node_use_etw: false,
     node_use_openssl: true,
     node_use_perfctr: false,
     node_use_v8_platform: true,
     node_without_node_options: false,
     openssl_fips: '',
     openssl_no_asm: 1,
     shlib_suffix: 'so.64',
     target_arch: 'ia32',
     v8_enable_gdbjit: 0,
     v8_enable_i18n_support: 1,
     v8_enable_inspector: 1,
     v8_no_strict_aliasing: 1,
     v8_optimized_debug: 0,
     v8_promise_internal_field_count: 1,
     v8_random_seed: 0,
     v8_trace_maps: 0,
     v8_typed_array_max_size_in_heap: 0,
     v8_use_snapshot: true,
     want_separate_host_toolset: 0 } }

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list