Commit Graph

195 Commits

Author SHA1 Message Date
Nate McMaster 28acde451e Use Directory.Build.props/targets 2017-08-29 09:14:03 -07:00
Ryan Brandenburg 5b85b3f6c7 Update VersionPrefix 2017-07-26 15:35:24 -07:00
Ajay Bhargav Baaskaran 379d6d8dcd Added some missed doc comments 2017-06-27 15:02:17 -07:00
Nate McMaster 5d1a523682 Make ILoggerFactory an optional service on any DI-injected services 2017-06-13 15:15:19 -07:00
Nate McMaster abf05e2856 Docker: add warning when FileSystemXmlRepository saves a key to non-volume mounted folder 2017-06-13 11:04:52 -07:00
Nate McMaster ddd041b0f1 Remove DefaultKeyServices 2017-06-13 00:34:35 -07:00
Nate McMaster e7fa69d63c Minor cleanup: remove unnecessary conditional compilation line 2017-06-08 16:40:09 -07:00
Ajay Bhargav Baaskaran 5d22a42a2a Merge branch 'rel/2.0.0-preview2' into dev 2017-06-02 15:22:48 -07:00
Ajay Bhargav Baaskaran ac3cbb5f8d Generated api check baselines for AzureStorage 2017-06-02 15:16:16 -07:00
Nate McMaster fe83e69b1a Add a startup filter which initializes the key ring before the server starts 2017-06-02 11:31:16 -07:00
Nate McMaster 285b973a5c Use IHostingEnvironment to determine application identifier
Reverses changes made in #230
2017-06-02 11:27:25 -07:00
Ajay Bhargav Baaskaran 22ebf68f74 Enable Api check and added breakingchanges json 2017-06-01 17:39:52 -07:00
Nate McMaster b706a75e03 Target .NET Standard 2.0
This retargets all data protection libraries to ns2.0. This means .NET
Framework applications will need to upgrade to .NET Framework 4.6.1.
This upgrade makes available API to .NET Core that was previously only
available on .NET Framework, such as encrypting keys at rest with
certificates.

New API for .NET Core users:
- IDataProtectionBuilder.ProtectKeysWithCertificate(string thumbprint)
- CertificateXmlEncryptor
- ICertificateResolver
- DataProtectionProvider
  - .Create(string applicationName, X509Certificate2 certificate)
  - .Create(DirectoryInfo keyDirectory, X509Certificate2 certificate)
  - .Create(DirectoryInfo keyDirectory, Action<IDataProtectionBuilder>
  setupAction, X509Certificate2 certificate

Other minor changes in this commit:
- Fixed samples that were using obsolete logging API
- Remove calls to api-sets, instead using kernel32. .NET Core 2.0 no
longer requires using api-sets as Nano Server now forwards kernel32
calls
- Made minor improvements to the TypeForwardingActivator
- Remove dead code an unused api baselines
- Enable more tests on macOS/Linux that previously only ran on Windows
2017-05-24 09:47:10 -07:00
Chris R 129edaec7c Remove IHostingEnvironment dependency (#230) 2017-05-05 17:03:33 -07:00
Nate McMaster 53caf55116 Remove unnecessary null check.
Resolves #210
2017-05-01 16:25:44 -07:00
Nate McMaster 4dad47eeab Ignore assembly version when activating DataProtection types from string name (#223) 2017-04-25 14:29:26 -07:00
Smit Patel edd7386aa8 Update API Check related files
React to aspnet/BuildTools#238
2017-04-25 08:19:12 -07:00
Ajay Bhargav Baaskaran c959795a64 Creating one IAuthenticatedEncryptor per IKey 2017-04-24 10:46:33 -07:00
John Luo ff3ff939c3 Update WindowsAzure.Storage version (#217)
* Update WindowsAzure.Storage version

* Remove target fallback
2017-04-05 16:28:43 -07:00
Ajay Bhargav Baaskaran 697745c490 [Fixes #218] Set IXmlRepository using ConfigureOptions 2017-04-05 16:08:18 -07:00
Pranav K 9b5a26f774 Updating versions to 2.0.0-preview1 2017-04-03 21:41:09 -07:00
Pranav K 91406009d3 Remove net451 as a cross-compile target 2017-03-23 17:20:12 -07:00
Doug Bunting 55507de7dd Disable API Check in a project with untracked breaking changes 2017-03-22 08:33:14 -07:00
Ajay Bhargav Baaskaran 1ce7fc7245 Use TryAdd to add services 2017-03-15 17:57:44 -07:00
Nate McMaster 6a61e10a4b Unify dependency versions and remove workarounds 2017-03-15 10:47:41 -07:00
Ajay Bhargav Baaskaran cde3b96aa7 [Fixes #134] Refactored DI support
- Refactored builder extensions and service collection extensions
- Refactored Settings/Configuration/Descriptor
- Removed ConfigurationCommon/AuthenticatedEncryptorConfigurationExtensions
- Added IAuthenticatedEncryptorFactory and implementations
- Refactored IKey to have Descriptor instead of CreateEncryptorInstance()
- Handled Repository/Encryptor special logic
- Added samples
- Updated tests
2017-03-14 19:58:46 -07:00
Nate McMaster 89a63f5885
Downgrade to stable packages 2017-02-14 16:15:28 -08:00
Nate McMaster 0668a2a52e Upgrade to VS 2017 2017-01-31 16:51:24 -08:00
Nate McMaster 0f276780de Remove Microsoft.AspNetCore.DataProtection.Sources package 2017-01-04 15:24:13 -08:00
Pranav K b3afbc79d2 Updating to 4.4 CoreFx packages 2016-12-14 14:47:27 -08:00
Pranav K 8e4ab2c6ff Updating versions to 1.2.0-* 2016-11-09 14:17:00 -08:00
jacalvar 7c6583986c Created public API baselines 2016-11-04 13:06:13 -07:00
Pavel Krymets 6eacfd2679 Rename Azure.Storage to AzureStorage (#183) 2016-10-04 11:51:50 -07:00
Pranav K 3d3d6a3fba Updating partner package versions 2016-10-03 12:06:50 -07:00
Pavel Krymets 89c39a6c28 Update StackExchange.Redis.StrongName (#182) 2016-10-03 10:59:04 -07:00
Pavel Krymets 7a3fd8af33 Rename DataProtection.Azure.Blob to DataProtection.Azure.Storage (#180) 2016-09-29 15:23:42 -07:00
Pavel Krymets 7dcbb27b6f Updated Redis repository project to support .NET Core (#175) 2016-09-06 14:10:13 -07:00
Pavel Krymets 0e210dadea Port DataProtection blob XmlRepository (#163) 2016-09-06 08:09:13 -07:00
Pavel Krymets 8f8152f910 Fix build error 2016-09-02 16:16:41 -07:00
Pavel Krymets b340b0f0f7 Add Redis IXmlRepository implementation (#173) 2016-09-02 11:56:47 -07:00
Ajay Bhargav Baaskaran 1ad5d0e317 var cleanup 2016-07-28 17:29:06 -07:00
Ajay Bhargav Baaskaran 3733b53700 Removed unnecessary methods in DataProtectionServiceDescriptors 2016-07-28 17:17:27 -07:00
Doug Bunting 4f30dddb14 To de-dupe, we must remove
- part of aspnet/Common#93
- use `WebEncoders` from Common repo

Also let VS have its way w/ test `.xproj` files
2016-07-12 16:24:41 -07:00
Doug Bunting 332e0a0b87 One build to rule them all
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-06 22:03:23 -07:00
Pranav K 69fa821522 Updating to dev versions 2016-06-16 10:17:41 -07:00
Pavel Krymets 47d3ffdddc Add activator fallback to support rc1 keys 2016-06-03 12:27:17 -07:00
John Luo 5095594cd3 React to updated CoreCLR packages
https://github.com/aspnet/Coherence/issues/97
2016-05-26 18:26:02 -07:00
N. Taylor Mullen cc9873ae6c Unique-ify extension types to not be ambiguous.
- Also updated test class names to reflect new extension naming.

#148
2016-05-26 10:31:13 -07:00
Pranav K 297c5d3ac0 Revert "React to updated CoreCLR packages"
This reverts commit b7be616f83.
2016-05-18 09:44:03 -07:00
John Luo b7be616f83 React to updated CoreCLR packages
https://github.com/aspnet/Coherence/issues/97
2016-05-17 15:45:07 -07:00