Commit Graph

477 Commits

Author SHA1 Message Date
John Luo 37c12d5a64 Add sources
for the final time
2017-10-03 11:46:57 -07:00
John Luo f6fa111333 Another attempt 2017-10-02 19:18:12 -07:00
= 11b25e7c87 Build and pack Runtime Store
- Also add targets to build all metapackage.
2017-10-02 16:43:30 -07:00
Pavel Krymets 46dadbb186 Make RegistryPolicyResolver an interface to fix 3d party DI (#275) 2017-09-18 13:43:45 -07:00
Pavel Krymets ee009982dc Add KeyVault encryption to DataProtection (#273) 2017-09-11 08:51:56 -07:00
Nate McMaster 82ba6b51ef Use PackageLineup to manage PackageReference versions 2017-08-29 12:08:10 -07:00
Nate McMaster 59290efa6a Use Directory.Build.props/targets 2017-08-29 12:06:04 -07:00
Nate McMaster 9b45e7f118 Use PackageLineup to manage PackageReference versions 2017-08-29 09:16:24 -07:00
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
John Luo d25dbd572c Target NETStandard2.0 2017-05-24 11:10:13 -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
Pavel Krymets 67322fe8ab Remove unnecessary package references (#177) 2017-05-10 11:48:33 -07:00
Chris R 129edaec7c Remove IHostingEnvironment dependency (#230) 2017-05-05 17:03:33 -07:00
Andrew Stanton-Nurse 319f95db5e netcoreapp20 (#173) 2017-05-04 19:26:46 -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
Andrew Stanton-Nurse e25a2eced8 port dotnet/corefx#17444 to WebSockets (#162) 2017-04-13 09:55:45 -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
Pranav K 52911cd3f1 Change compilation targets.
* Remove net451 as a compilation target
* Upgrade to netcoreapp2.0
2017-03-21 16:41:15 -07:00
Nate McMaster 4abe714f2b Consolidate dependency versions into one file and remove workarounds 2017-03-15 19:29:21 -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
Andrew Stanton-Nurse cb150de808 port dotnet/corefx#17049 (#151) 2017-03-14 12:04:59 -07:00
Nate McMaster 89a63f5885
Downgrade to stable packages 2017-02-14 16:15:28 -08:00
John Luo 0e1dd78771 Upgrade to VS 2017 2017-02-02 13:55:14 -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 4b9276bac2 Updating to 4.4 CoreFx packages 2016-12-14 14:47:32 -08:00
Pranav K b3afbc79d2 Updating to 4.4 CoreFx packages 2016-12-14 14:47:27 -08:00
Pranav K 7f6410bc55 Updating versions to 1.2.0-* 2016-11-09 14:20:20 -08:00
Pranav K 8e4ab2c6ff Updating versions to 1.2.0-* 2016-11-09 14:17:00 -08:00
Ajay Bhargav Baaskaran 34f419f446 Added tags to project.json 2016-11-05 00:09:47 -07:00
jacalvar 7c6583986c Created public API baselines 2016-11-04 13:06:13 -07:00
Andrew Stanton-Nurse 5858c0a64a fix #85 by making HandshakeHelpers internal and tidying doc comments
we don't need to share it with anything in the current implementation
2016-11-03 10:27:15 -07:00
Andrew Stanton-Nurse f58a373704 fix #106 by removing ReplaceFeature 2016-11-02 15:58:17 -07:00
Andrew Stanton-Nurse 303f9ea2de update version to prepare for 1.1 release (#125)
* update version to prepare for 1.1 release

* update projects that reference WebSockets
2016-10-29 12:45:38 -07:00
Pavel Krymets 6eacfd2679 Rename Azure.Storage to AzureStorage (#183) 2016-10-04 11:51:50 -07:00
Pranav K 35cae5da7d Updating partner package versions 2016-10-03 14:28:45 -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
Martin Andreas Ullrich b8471455a7 Fix NuGet project description ASP.NET 5 > Core (#120)
changed leftover "ASP.NET 5" in project.json description to "ASP.NET Core"
2016-10-03 09:56:14 -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
Andrew Stanton-Nurse b996ee39a4 port dotnet/corefx#11348 (#114)
also adds some tests and extra features to the EchoApp test sample
2016-09-02 14:02:06 -07:00
Pavel Krymets b340b0f0f7 Add Redis IXmlRepository implementation (#173) 2016-09-02 11:56:47 -07:00
Andrew Stanton-Nurse c51aec5292 port dotnet/corefx#10792 (#111)
* port dotnet/corefx#10792
* add EchoApp sample
2016-08-19 15:22:20 -07:00
Andrew Stanton-Nurse 33e3e5b186 remove our WebSocket client
we'll use the one from dotnet/corefx now instead

fixes #108
2016-08-04 10:30:13 -07:00
Andrew Stanton-Nurse 45f0fe178f import WebSockets code from CoreFX (#105)
* import WebSockets code from CoreFX

* sync pr feedback from dotnet/corefx#10510
2016-08-03 11:07:01 -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 80437e878a 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-07 14:16:10 -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 38ba07487a Updating to dev versions 2016-06-16 10:18:54 -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
Pranav K 263d764215 Fix assembly metadata to fix package verifier warnings 2016-06-02 10:57:04 -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
John Luo 3a1c463e02 React to updated CoreCLR packages
https://github.com/aspnet/Coherence/issues/97
2016-05-26 18:19:13 -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
Pranav K f20a8acb61 Revert "React to updated CoreCLR packages"
This reverts commit 5ddbe38630.
2016-05-18 09:42:58 -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
John Luo 5ddbe38630 React to updated CoreCLR packages
https://github.com/aspnet/Coherence/issues/97
2016-05-17 14:45:03 -07:00
Pranav K 95b6a0a999 Fix build warnings 2016-05-02 11:27:30 -07:00
Pranav K 5abd3bf076 Fix build warnings 2016-05-02 11:27:08 -07:00
Pranav K 5e81b89378 Replace IApplicationEnvironment with IHostingEnvironment 2016-04-25 16:54:35 -07:00
Pranav K e06a0f0898 Removing imports from src projects 2016-04-08 06:49:22 -07:00
Pranav K 31732c3d91 Removing imports from src projects 2016-04-08 06:48:39 -07:00
Pranav K 40091fcb22 Fixing build break 2016-04-06 19:18:10 -07:00
Pranav K 8f5a75b26b Fix versions 2016-04-06 18:18:57 -07:00
Ajay Bhargav Baaskaran 5654310a68 [Fixes #130] Added few DataProtectionProvider.Create overloads 2016-04-06 13:10:55 -07:00
Eilon Lipton 7cace9a7fe Fix package metadata 2016-03-24 23:50:57 -07:00
Pranav K f2a42d1f71 Reacting to CoreCLR package changes 2016-03-23 13:00:46 -07:00
Doug Bunting 0f9e4eba02 React to HttpAbstractions change: `WebSocketAcceptContext` in new namespace
- see issue aspnet/HttpAbstractions#590 and pull aspnet/HttpAbstractions#589
2016-03-20 18:06:55 -07:00
Pranav K 8503e161d0 Reacting to CoreCLR package changes 2016-03-19 11:43:51 -07:00
jacalvar aa1495deb0 [Fixes #120, Fixes #121, Fixes #122] Make data protection follow the options model
* Add an IDataProtectionBuilder interface and move methods on DataProtectionConfiguration
  to extension methods on IDataProtectionBuilder.
* Make AddDataProtection return an IDataProtectionBuilder instance for further configuration.
* Make AddDataProtection take in an action with a GlobalConfigurationOptions parameter instead
  of a DataProtectionConfiguration parameter.
* Make DataProtectionProvider static
* Remove ConfigureGlobalOptions
* Change Option suffix in classes that are not actually options to Settings.
* Add extension method for configuring key management options.
* Cleanups.
2016-03-15 15:20:59 -07:00
Pranav K 3d4e0d41c8 Fixing CI build failure 2016-03-11 13:44:34 -08:00
Brice Lambson 9750924973 Don't reference facades 2016-03-10 13:05:04 -08:00
Ajay Bhargav Baaskaran 8474003b14 Removed duplicate attributes 2016-03-03 22:45:10 -08:00
Ajay Bhargav Baaskaran a561fecb91 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:30 -08:00
Ajay Bhargav Baaskaran 078cbb5d78 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:02 -08:00
Doug Bunting 51997b2bfc Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 21:40:10 -08:00
Pranav K 73cf5b3f84 Fixing build break 2016-03-02 17:07:03 -08:00
Doug Bunting a424475be7 Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 16:36:52 -08:00
N. Taylor Mullen 1e06560676 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:37:16 -08:00
N. Taylor Mullen d33c2ac377 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:31:31 -08:00
Ajay Bhargav Baaskaran 3007398648 Enabled xml doc generation 2016-02-19 15:44:54 -08:00
Ajay Bhargav Baaskaran 33d07b8f7c Enabled xml doc generation 2016-02-19 12:29:48 -08:00
N. Taylor Mullen 2abc6a2343 Update System.Linq 4.0.2-* => 4.1.0-*. 2016-02-18 15:36:49 -08:00
Pranav K 99fbeb6ac3 Reacting to CoreCLR package version changes 2016-02-08 09:33:51 -08:00
Pranav K 4e68e8f3ab Reacting to CoreCLR package version changes 2016-02-08 09:33:41 -08:00
N. Taylor Mullen cdf1d1f6c6 Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:23:13 -08:00
N. Taylor Mullen 342676925f Update ASP.NET 5 versions for ASP.NET Core.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:39:12 -08:00
N. Taylor Mullen 43dfd15a01 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:32:33 -08:00
N. Taylor Mullen 9beb46dff1 Update ASP.NET 5 versions for ASP.NET Core.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:28:42 -08:00
N. Taylor Mullen e28aa5f568 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:49 -08:00
N. Taylor Mullen 5227607c58 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:46 -08:00
N. Taylor Mullen b87a8001fe Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:16:08 -08:00
Pranav K 91ee0f323b Reacting to CoreCLR package version change 2016-01-20 21:03:04 -08:00
Pranav K c8aa4c2c51 Reacting to CoreCLR version changes 2016-01-20 20:39:57 -08:00
John Luo cd813844a0 Updating to new options pattern 2016-01-07 16:37:39 -08:00
John Luo 8872037812 Adding back middleware initialization with options instance 2015-12-23 15:43:52 -08:00
John Luo fe41412eeb Stardardizing option initialization using lambdas 2015-12-21 16:44:01 -08:00
Hao Kung f073d0556b React to OptionsModel => Options 2015-12-21 14:47:58 -08:00
Chris R 3809613618 Add missing System.ComponentModel dependency. 2015-12-17 15:37:20 -08:00
Pranav K 6fabd6f064 Removing unused dependencies 2015-12-07 19:09:28 -08:00
John Luo 79fca22b3b Reacting to verbose rename 2015-12-07 11:58:53 -08:00
Pranav K ca3e4669dc Updating tests to use moq.netcore 2015-11-20 14:40:50 -08:00
Pavel Krymets 09f54d6857 Fix build 2015-11-18 12:38:28 -08:00
Pavel Krymets c48173c948 Add event ids to all log calls 2015-11-18 11:36:15 -08:00
Hao Kung 0b808ca75a ConfigureDP => AddDP 2015-11-17 13:46:52 -08:00
Pranav K d09551af46 Reacting to DependencyInjection changes 2015-11-13 10:30:54 -08:00
Troy Dai 4c97cbb9b2 Update Microsoft.Win32.Registry reference's version 2015-11-12 15:28:21 -08:00
N. Taylor Mullen 37e4a80160 Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:24:19 -08:00
N. Taylor Mullen ca2629c004 Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:22:57 -08:00
Cesar Blum Silveira 7770e5f4db Strong name everything. 2015-11-03 12:05:40 -08:00
Cesar Blum Silveira acd8d3d44d Strong name everything. 2015-11-02 15:32:44 -08:00
Pavel Krymets bc80dab39d Compiles and passes tests 2015-10-22 18:15:32 -07:00
Pranav K c3a24cbe72 Switching to generations TFMs 2015-10-22 01:04:17 -07:00
Pranav K 1a40e7254d Switching to using generations TFM 2015-10-21 18:31:51 -07:00
Pranav K 9fc75d395d Replace NotNullAttribute with thrown exceptions 2015-10-07 18:05:26 -07:00
Pranav K bc6502825f Replacing NotNullAttribute with thrown exceptions 2015-10-07 17:44:11 -07:00
Cesar Blum Silveira 76cbb57f9a Fix build on Linux. 2015-10-07 15:06:50 -07:00
Pranav K aea8716df6 Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:48 -07:00
Pranav K ad9d75a599 Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:36 -07:00
Pranav K 98af679b0b Adding NeutralResourcesLanguageAttribute 2015-09-10 18:45:23 -07:00
Pranav K 5bf429d212 Adding NeutralResourcesLanguageAttribute 2015-09-10 16:41:24 -07:00
Chris R 6bc7df851f Use new HttpContext.Features API. 2015-08-31 09:45:21 -07:00
Chris R 821f470bb5 React to string[] -> StringValues changes. 2015-08-28 14:40:15 -07:00
Hao Kung a4144caedd React to options 2015-08-26 16:05:51 -07:00
Chris R b51cf63637 #49 React to CoreCLR Cryptography package changes. 2015-08-11 14:43:06 -07:00
Pranav K 4342f25ece Reacting to DI changes 2015-08-11 13:04:40 -07:00
Chris R 9bebd183d7 #396 React to CoreCLR Cryptography package refactoring. Remove transitive dependencies. 2015-08-11 10:34:11 -07:00
Troy Dai e174d2e154 Update CoreCLR versions 2015-08-04 10:15:38 -07:00
Troy Dai 7fe2a43b05 Update CoreCLR versions 2015-08-04 10:15:23 -07:00
Victor Hurdugaci 81e8830c67 React to DNX renames 2015-07-29 00:30:44 -07:00
Pranav K 4103d947f4 Merge remote-tracking branch 'origin/release' into dev 2015-07-16 08:26:01 -07:00
mikary bbd57217f2 React to API change in DependencyInjection 2015-07-07 14:40:20 -07:00
Victor Hurdugaci 6438362e0a Add repository information to project files 2015-07-01 20:34:07 -07:00
Victor Hurdugaci e332375f0e Add repository information to project files 2015-07-01 19:42:39 -07:00
anurse f65ad82c6b use the factory method to create RNG 2015-06-29 12:39:57 -07:00
anurse 1c50ec7166 clean-up 2015-06-29 12:21:46 -07:00
anurse 61894cb4e0 attempt 57: just don't support web socket client from dnxcore 2015-06-29 12:20:16 -07:00
anurse cc1b0c36ac fix #26 by using RNGCryptoServiceProvider on net45 2015-06-29 10:45:04 -07:00
Hisham Abdullah Bin Ateya a1409e0294 React to common package name change 2015-06-11 23:42:32 +03:00
Hisham Abdullah Bin Ateya e632831c09 Using [NotNull] 2015-06-11 22:49:17 +03:00
Hisham Abdullah Bin Ateya 208fa4af36 Using 'nameof' operator instead of magic strings 2015-06-11 22:44:11 +03:00
Troy Dai 430c903f65 Add System.IO to framework assemblies 2015-06-04 10:47:36 -07:00
Chris R 74c8363855 React to CoreClr dependency changes. 2015-05-15 11:34:15 -07:00
Pranav K 0d3c29f46a Reacting to CoreCLR package updates 2015-05-15 09:57:18 -07:00
Chris R ff406ecdf1 React to Http namespace changes. 2015-05-07 14:16:46 -07:00
Troy Dai 2f09b07adc Package rename: Microsoft.AspNet.DataProtection.Shared -> Microsoft.AspNet.DataProtection.Sources 2015-05-07 10:16:20 -07:00
Troy Dai fe80a65ffc React to common package name change 2015-05-07 09:36:15 -07:00
N. Taylor Mullen 552b336a78 Update LICENSE.txt and license header on files. 2015-05-01 14:07:00 -07:00
N. Taylor Mullen c6416f3520 Update LICENSE.txt and license header on files. 2015-05-01 13:45:56 -07:00
Troy Dai 4a58540bdf React to DNX packages name change 2015-05-01 11:05:09 -07:00
Brennan d578779fa6 Revert Runtime.Abstractions 2015-04-29 23:58:04 -07:00
Brennan a1144274a1 React to Interface package renames 2015-04-29 22:42:00 -07:00
Brennan 7ecbee2f7d Interfaces->Abstractions 2015-04-29 17:21:04 -07:00
Chris Ross 66b669aa22 React to WebSocket feature API changes. 2015-04-24 10:53:07 -07:00
Matt Ellis d386e78ee6 Use $HOME as a possible storage location
If LOCALAPPDATA and USERPROFILE are both null (as is the case on
Linux/OSX) use "$HOME/.aspnet" as the root folder for data protection
keys

Fixes #76
2015-04-19 21:52:35 -07:00
Pranav K 8983a03fed Reacting to changes in OptionsModel 2015-04-16 16:57:44 -07:00
Chris Ross a10245d39f Replace WebSocket dependency. 2015-04-08 14:50:42 -07:00
N. Taylor Mullen e0a651e9a6 Add serviceable attribute to projects.
aspnet/DNX#1600
2015-04-07 14:54:43 -07:00
N. Taylor Mullen 8b9b809ecd Add serviceable attribute to projects.
aspnet/DNX#1600
2015-04-07 14:41:49 -07:00
Doug Bunting cf2ba5aa25 Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:31 -07:00
Doug Bunting 19567ad39d Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:24 -07:00
Praburaj 33fa06a25c Fixing dataprotection on IIS
Fixes: https://github.com/aspnet/DataProtection/issues/73

On IIS where there is no user profile, the code tries to always read the 32bit registry view irrespective of the bitness of the worker process. So in case of 64 bit app pools the registry key is null so it falls back to in memory ephemeral repository. On 32 bit app pool it can find an appropriate registry key, but the keyRepositoryDescriptor is not populated resulting in a null reference exception.

Current behavior:
X86 throws
X64 falls back to in memory ephemeral

With fix:
Both X86 and X64 will use DPAPI.
2015-04-01 11:54:24 -07:00
Levi B d2def94712 Reliability: Tweak comparison in key revocation checks 2015-03-18 15:15:58 -07:00
Levi B fd08325918 Skip registry checks on non-Windows platforms 2015-03-18 10:42:09 -07:00
Levi B ca840d3711 Code cleanup in KeyDerivation
- Rename PRF members to be HMAC functions (which is technically correct)
- Use NotNullAttribute where possible
2015-03-17 22:03:43 -07:00
Levi B 271ec1bd4b Move IApplicationDiscriminator to Infrastructure namespace 2015-03-17 20:56:58 -07:00
Levi B 22927ec289 Add simple file-based provider instantiation APIs 2015-03-17 15:36:58 -07:00
Levi B 84490846b6 Move time-limited data protector to Extensions project 2015-03-17 14:52:15 -07:00
Levi B 94233e76ff Remove experimental .Azure project 2015-03-17 10:45:21 -07:00
Levi B d673df7ef3 Reliability improvements to key ring updates
- Optimistically treat failures as transient and continue to use any existing cached key ring for a short period of time
- Updates to the key ring shouldn't block other threads; they can use the outdated version while waiting for the update
2015-03-17 00:46:24 -07:00
Levi B 612a81d9ce Defer processing <key> descriptors until necessary
- Make CreateNewKey more robust against bad key repositories
- Don't hide key deserialization errors
2015-03-16 23:32:20 -07:00
Levi B 4365b531d8 Use C# 6 string interpolation feature
Provides cleanup in logging and removes calls to String.Format
2015-03-16 21:38:21 -07:00
Levi B 0966e37d94 Doc comment cleanup on GetApplicationUniqueIdentifier 2015-03-14 15:43:39 -07:00