Skip to content

Updated to .NET 7.0 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

Updated to .NET 7.0 #2

wants to merge 20 commits into from

Conversation

pinksnafu
Copy link

.NET 7.0 and NUGET dependency updates. Wanna merge or sumthing?

pinksnafu and others added 20 commits January 25, 2022 12:06
Bumps [Microsoft.EntityFrameworkCore.Tools](https://github.com/dotnet/efcore) from 7.0.0 to 7.0.5.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](dotnet/efcore@v7.0.0...v7.0.5)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.Tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [Moq](https://github.com/moq/moq4) from 4.18.2 to 4.18.4.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md)
- [Commits](devlooped/moq@v4.18.2...v4.18.4)

---
updated-dependencies:
- dependency-name: Moq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…yFrameworkCore.Tools-7.0.5

Bump Microsoft.EntityFrameworkCore.Tools from 7.0.0 to 7.0.5
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.4.0 to 17.6.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.4.0...v17.6.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [Microsoft.EntityFrameworkCore.SqlServer](https://github.com/dotnet/efcore) from 7.0.0 to 7.0.5.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](dotnet/efcore@v7.0.0...v7.0.5)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.SqlServer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…est.Sdk-17.6.0

Bump Microsoft.NET.Test.Sdk from 17.4.0 to 17.6.0
Bumps System.Data.SQLite from 1.0.116 to 1.0.117.

---
updated-dependencies:
- dependency-name: System.Data.SQLite
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…yFrameworkCore.SqlServer-7.0.5

Bump Microsoft.EntityFrameworkCore.SqlServer from 7.0.0 to 7.0.5
…ite-1.0.117

Bump System.Data.SQLite from 1.0.116 to 1.0.117
The .NET port did not convert the storage of encrypted passwords correctly.  It was using the encryption key as the dictionary key, storing the encrypted password and encrytion key in the same location.  This makes the encrypted password decryptable if someone were to compromise the underlying data store.  This commit creates a separate storage key for lookup purposes and does not store the encryption key.  A separate token is created that includes the storage key and the encryption key that is only used to generate the URL.  See pinterest/snappass#63 for additional conversation on the original source repo.
The .NET port included the password on a hidden form on the initial page request.  A button to reveal the password only unhid the form.  This caused the initial page request to expire the password, even if it wasn't viewed.  The intention of the preview feature was to prevent bots that prefetch the URL from destroying the secret.  This commit removes the password from the preview page and adds a new page where the secret is revealed.  Now the secret is only destroyed if the secret is revealed.  Ported based on pinterest/snappass#100
This was not ported properly to encode the encryption key.  See pinterest/snappass#73
@pinksnafu
Copy link
Author

Rebased to address split storage key and encryption key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants