Title: Fix undefined instance var AS encryptor by swiknaba · Pull Request #31 · diffcrypt/diffcrypt-ruby · GitHub
Open Graph Title: Fix undefined instance var AS encryptor by swiknaba · Pull Request #31 · diffcrypt/diffcrypt-ruby
X Title: Fix undefined instance var AS encryptor by swiknaba · Pull Request #31 · diffcrypt/diffcrypt-ruby
Description: creating new credentials fails with 0.4.0/lib/diffcrypt/rails/encrypted_configuration.rb:102:in `decrypt': undefined method `decrypt_and_verify' for nil:NilClass (NoMethodError) it seems decrypt_and_verify is never called, thus @decrypt_and_verify is not populated and hence results in this error. Not sure if def active_support_encryptor @active_support_encryptor = ActiveSupport::MessageEncryptor.new( [key].pack('H*'), cipher: @diffcrypt_file.cipher, ) end was intended to memorize the AS Message Encryptor instance, if so, we can drop in @active_support_encryptor ||= ....
Open Graph Description: creating new credentials fails with 0.4.0/lib/diffcrypt/rails/encrypted_configuration.rb:102:in `decrypt': undefined method `decrypt_and_verify' for nil:NilClass (NoMethodError) it seems d...
X Description: creating new credentials fails with 0.4.0/lib/diffcrypt/rails/encrypted_configuration.rb:102:in `decrypt': undefined method `decrypt_and_verify' for nil:NilClass (NoMethodError) it...
Opengraph URL: https://github.com/diffcrypt/diffcrypt-ruby/pull/31
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:a3496ff9-d5ae-bc0f-20fd-9618c25941c2 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B374:938B4:32B63C2:410FE95:69800977 |
| html-safe-nonce | c112b2bdb0e0903513b6e08ef8cada4e3ed21adfe3c4922f96dcd9ae8803caf2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzc0OjkzOEI0OjMyQjYzQzI6NDEwRkU5NTo2OTgwMDk3NyIsInZpc2l0b3JfaWQiOiIzMzUyNzk1NTYwNTkwNDQ0OTE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dd0a790cbde1f779c08f569ba923f277979d6230623dd827a932fe07c883c9c8 |
| hovercard-subject-tag | pull_request:498658226 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/diffcrypt/diffcrypt-ruby/pull/31/checks |
| twitter:image | https://avatars.githubusercontent.com/u/20702503?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/20702503?s=400&v=4 |
| og:image:alt | creating new credentials fails with 0.4.0/lib/diffcrypt/rails/encrypted_configuration.rb:102:in `decrypt': undefined method `decrypt_and_verify' for nil:NilClass (NoMethodError) it seems d... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/diffcrypt/diffcrypt-ruby git https://github.com/diffcrypt/diffcrypt-ruby.git |
| octolytics-dimension-user_id | 77545058 |
| octolytics-dimension-user_login | diffcrypt |
| octolytics-dimension-repository_id | 275567034 |
| octolytics-dimension-repository_nwo | diffcrypt/diffcrypt-ruby |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 275567034 |
| octolytics-dimension-repository_network_root_nwo | diffcrypt/diffcrypt-ruby |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width