{"action":"opened","issue":{"url":"https://api.github.com/repos/clearhaus/pedicel/issues/8","repository_url":"https://api.github.com/repos/clearhaus/pedicel","labels_url":"https://api.github.com/repos/clearhaus/pedicel/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/clearhaus/pedicel/issues/8/comments","events_url":"https://api.github.com/repos/clearhaus/pedicel/issues/8/events","html_url":"https://github.com/clearhaus/pedicel/issues/8","id":319043236,"number":8,"title":"Spec Failures","user":{"login":"tibbon","id":82880,"avatar_url":"https://avatars1.githubusercontent.com/u/82880?v=4","gravatar_id":"","url":"https://api.github.com/users/tibbon","html_url":"https://github.com/tibbon","followers_url":"https://api.github.com/users/tibbon/followers","following_url":"https://api.github.com/users/tibbon/following{/other_user}","gists_url":"https://api.github.com/users/tibbon/gists{/gist_id}","starred_url":"https://api.github.com/users/tibbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tibbon/subscriptions","organizations_url":"https://api.github.com/users/tibbon/orgs","repos_url":"https://api.github.com/users/tibbon/repos","events_url":"https://api.github.com/users/tibbon/events{/privacy}","received_events_url":"https://api.github.com/users/tibbon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-30T21:32:09Z","updated_at":"2018-04-30T21:32:09Z","closed_at":null,"author_association":"NONE","body":"I'm seeing four failures here. Ruby 2.3.7\r\n\r\n```\r\n~/C/pedicel ❯❯❯ bundle                                                                                                                                                    master\r\nFetching gem metadata from https://rubygems.org/........\r\nResolving dependencies...\r\nUsing bundler 1.16.1\r\nUsing coderay 1.1.2\r\nUsing concurrent-ruby 1.0.5\r\nUsing diff-lcs 1.3\r\nFetching dry-configurable 0.7.0\r\nInstalling dry-configurable 0.7.0\r\nFetching dry-container 0.6.0\r\nInstalling dry-container 0.6.0\r\nFetching dry-core 0.4.5\r\nInstalling dry-core 0.4.5\r\nFetching dry-equalizer 0.2.1\r\nInstalling dry-equalizer 0.2.1\r\nFetching dry-logic 0.4.2\r\nInstalling dry-logic 0.4.2\r\nFetching inflecto 0.0.2\r\nInstalling inflecto 0.0.2\r\nFetching dry-types 0.12.2\r\nInstalling dry-types 0.12.2\r\nFetching dry-validation 0.11.1\r\nInstalling dry-validation 0.11.1\r\nUsing method_source 0.9.0\r\nUsing pedicel 0.0.2 from source at `.`\r\nUsing pry 0.11.3\r\nUsing rspec-support 3.7.1\r\nUsing rspec-core 3.7.1\r\nUsing rspec-expectations 3.7.0\r\nUsing rspec-mocks 3.7.0\r\nUsing rspec 3.7.0\r\nBundle complete! 3 Gemfile dependencies, 20 gems now installed.\r\nUse `bundle info [gemname]` to see where a bundled gem is installed.\r\n~/C/pedicel ❯❯❯ rspec                                                                                                                                                     master\r\nFFF.F..\r\n\r\nFailures:\r\n\r\n  1) basic test works\r\n     Failure/Error: cipher.iv_len = 16\r\n\r\n     NoMethodError:\r\n       undefined method `iv_len=' for #<OpenSSL::Cipher:0x00007fe4b0d89bd0>\r\n       Did you mean?  iv_len\r\n     # ./spec/spec_helper.rb:74:in `encrypted_with'\r\n     # ./spec/some_spec.rb:14:in `block (2 levels) in <top (required)>'\r\n\r\n  2) basic test works\r\n     Failure/Error: @ca_cert.sign(@ca_key, OpenSSL::Digest::SHA256.new)\r\n\r\n     NoMethodError:\r\n       undefined method `private?' for #<OpenSSL::PKey::EC:0x00007fe4b0d83118>\r\n       Did you mean?  private_key?\r\n     # ./spec/spec_helper.rb:148:in `sign'\r\n     # ./spec/spec_helper.rb:148:in `new_ca'\r\n     # ./spec/spec_helper.rb:118:in `initialize'\r\n     # ./spec/some_spec.rb:26:in `new'\r\n     # ./spec/some_spec.rb:26:in `block (2 levels) in <top (required)>'\r\n\r\n  3) Spreedly's gala Ruby library's test case decryption with private key and certificate decrypts correctly\r\n     Failure/Error: raise SignatureError, \"signature too old; signed #{-diff.to_i}s ago\"\r\n\r\n     Pedicel::SignatureError:\r\n       signature too old; signed 14400s ago\r\n     # ./lib/pedicel/base.rb:192:in `verify_signed_time'\r\n     # ./lib/pedicel/base.rb:138:in `verify_signature'\r\n     # ./lib/pedicel/ec.rb:28:in `decrypt'\r\n     # ./spec/spreedly_spec.rb:138:in `block (3 levels) in <top (required)>'\r\n\r\n  4) Spreedly's gala Ruby library's test case symmetric key can decrypt using the symmetric key\r\n     Failure/Error: raise SignatureError, \"signature too old; signed #{-diff.to_i}s ago\"\r\n\r\n     Pedicel::SignatureError:\r\n       signature too old; signed 14400s ago\r\n     # ./lib/pedicel/base.rb:192:in `verify_signed_time'\r\n     # ./lib/pedicel/base.rb:138:in `verify_signature'\r\n     # ./lib/pedicel/ec.rb:28:in `decrypt'\r\n     # ./spec/spreedly_spec.rb:156:in `block (3 levels) in <top (required)>'\r\n\r\nFinished in 0.0178 seconds (files took 0.29029 seconds to load)\r\n7 examples, 4 failures\r\n\r\nFailed examples:\r\n\r\nrspec ./spec/some_spec.rb:8 # basic test works\r\nrspec ./spec/some_spec.rb:25 # basic test works\r\nrspec ./spec/spreedly_spec.rb:137 # Spreedly's gala Ruby library's test case decryption with private key and certificate decrypts correctly\r\nrspec ./spec/spreedly_spec.rb:155 # Spreedly's gala Ruby library's test case symmetric key can decrypt using the symmetric key\r\n```"}}
{"actor":{"display_login":"tibbon"}}