Title: Cannot initialize with a new repo · Issue #29 · diffcrypt/diffcrypt-ruby · GitHub
Open Graph Title: Cannot initialize with a new repo · Issue #29 · diffcrypt/diffcrypt-ruby
X Title: Cannot initialize with a new repo · Issue #29 · diffcrypt/diffcrypt-ruby
Description: The following errors have been observed on new Rails 6.0 applications with ruby 2.7.1 # when file is empty lib/diffcrypt/rails/encrypted_configuration.rb:102:in `decrypt': undefined method `decrypt_and_verify' for nil:NilClass (NoMethodE...
Open Graph Description: The following errors have been observed on new Rails 6.0 applications with ruby 2.7.1 # when file is empty lib/diffcrypt/rails/encrypted_configuration.rb:102:in `decrypt': undefined method `decrypt...
X Description: The following errors have been observed on new Rails 6.0 applications with ruby 2.7.1 # when file is empty lib/diffcrypt/rails/encrypted_configuration.rb:102:in `decrypt': undefined method `dec...
Opengraph URL: https://github.com/diffcrypt/diffcrypt-ruby/issues/29
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot initialize with a new repo","articleBody":"The following errors have been observed on new Rails 6.0 applications with ruby 2.7.1\r\n\r\n```ruby\r\n# when file is empty\r\nlib/diffcrypt/rails/encrypted_configuration.rb:102:in `decrypt': undefined method `decrypt_and_verify' for nil:NilClass (NoMethodError)\r\n```\r\n\r\n```ruby\r\n# when file just contents `---`\r\nlib/diffcrypt/file.rb:18:in `cipher': undefined method `[]' for nil:NilClass (NoMethodError)\r\n```\r\n\r\n```ruby\r\n# when file contains non encrypted data, like `---\\ntest: true`\r\nlib/diffcrypt/encryptor.rb:37:in `decrypt_hash': undefined method `each' for nil:NilClass (NoMethodError)\r\n```","author":{"url":"https://github.com/marcqualie","@type":"Person","name":"marcqualie"},"datePublished":"2020-10-05T01:10:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/29/diffcrypt-ruby/issues/29"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4ff00bba-9fb7-2b49-98a9-1864e69acca6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9EF8:27383:2FD3DF:3ED991:697F52D9 |
| html-safe-nonce | b4ca5b7d5aa52604e5df08e691a08ff95858cb23c08a693c24924065fa68d870 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUY4OjI3MzgzOjJGRDNERjozRUQ5OTE6Njk3RjUyRDkiLCJ2aXNpdG9yX2lkIjoiNjg5MzE4MzU1Mjc1NDUwNDQwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 57e14f09ef3c7f688361282291dd26b3d95c240a25e878b0a978655ea747c2cb |
| hovercard-subject-tag | issue:714445366 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/diffcrypt/diffcrypt-ruby/29/issue_layout |
| twitter:image | https://opengraph.githubassets.com/676198f2b91cc7c0820e4306d886595b2d7e33379356ac3ddc77fd94b0f34b59/diffcrypt/diffcrypt-ruby/issues/29 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/676198f2b91cc7c0820e4306d886595b2d7e33379356ac3ddc77fd94b0f34b59/diffcrypt/diffcrypt-ruby/issues/29 |
| og:image:alt | The following errors have been observed on new Rails 6.0 applications with ruby 2.7.1 # when file is empty lib/diffcrypt/rails/encrypted_configuration.rb:102:in `decrypt': undefined method `decrypt... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | marcqualie |
| 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 |
| 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 | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width