Commit Graph

5512 Commits

Author SHA1 Message Date
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
Levi B 82d92064c5 Continued API improvements and refactoring
- Add helpful extension methods to Interfaces project
- Auto heuristic detection now writes default protection settings to the ILogger
- Cleanup dead methods / add useful methods in DataProtectionConfiguration
- Update System.Web compatibility project to allow mapping MachineKey.Protect directly to IDataProtector.Protect
2015-03-14 14:29:39 -07:00
N. Taylor Mullen d3313f2b6e Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 17:07:49 -07:00
Victor Hurdugaci a14b35ca6c Skip credentials prompt for CI builds 2015-03-12 16:23:47 -07:00
Brennan 8fb42e4d16 Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 16:14:29 -07:00
Levi B bf7283697d Flow logging through the AuthenticatedEncryption types 2015-03-12 16:12:17 -07:00
Levi B 7fe33e8159 DataProtectionServices should prefer registry over defaults
Comment cleanup in CNG-GCM ExportToXml
2015-03-12 14:22:45 -07:00
Doug Bunting 90294aa49c Fix build failures when source is under a directory with spaces in the name
- aspnet/Mvc#2082
- problems specific to local `node` and related installations
 - quote authenticode verification target
 - quote local `node` library paths
 - quote local `npm.cmd` path (with ye olde `/S` double-quoting hack)
 - quote `--prefix` values in `npm install` commands
 - quote `rimraf` directories to delete
2015-03-12 10:33:12 -07:00
Levi B 4f2288c3da Introduce concept of a "fallback key"
This key is used if there is no preferred default key and the developer has disabled automatic key generation. This will keep the service from falling over if the keys are not rolled and they all expire.
2015-03-11 19:39:41 -07:00
Levi B 58c823bc45 Rename KeyLifetimeOptions -> KeyManagementOptions
Simplify default key resolution logic
Introduce API for disabling automatic key generation
2015-03-11 19:39:35 -07:00
Doug Bunting 07f78bab6f Do not use deprecated `dnvm -x86` switch 2015-03-11 16:58:37 -07:00
Doug Bunting 20fe4f8d63 Do not use deprecated `dnvm -x86` switch 2015-03-11 16:58:20 -07:00
Doug Bunting 878541c220 Do not use deprecated `dnvm -x86` switch
- avoid `The -x86 switch has been deprecated. Use the '-arch x86' parameter instead`
2015-03-11 15:24:34 -07:00
N. Taylor Mullen a43664286a Update .kproj => .xproj. 2015-03-11 14:09:20 -07:00
N. Taylor Mullen 8c7a47fb00 Update .kproj => .xproj. 2015-03-11 14:05:01 -07:00
Doug Bunting 456a38a249 Fix the `init` target
- correct check for whether target file is present
- correct `makefile.shade` filename
- do not copy master and release config files into every repo
2015-03-11 11:17:54 -07:00
Doug Bunting f6ae75eac5 Bower blocks build on first run
- aspnet/Mvc#2116
- run Bower non-interatively from our scripts
 - does not affect grunt-brower-task; programmatic Bower use never prompts
- see Bower discussion at bower/bower#1162
- FYI `$env:CI = 'TeamCity'` would work similarly but TeamCity does not set that
2015-03-11 11:13:13 -07:00
Troy Dai 30e4b1c167 Update dnvm to build 10345 2015-03-11 11:00:40 -07:00
Levi B bb1b49cc1c Fix PoliCheck violations. 2015-03-10 23:40:39 -07:00
Levi B e8cc1106d8 Significant refactorings throughout the data protection stack
- Move IDataProtectionProvider, IDataProtector, and extension methods to their own package
- Simplify the APIs for registering and configuring the system
- Default implementation now auto-detects capabilities of OS
- Use EncryptedXml for X.509 certificate-based encryption
- Add ability to escrow secret material upon key creation
- Use centralized system policy for default algorithm selection
- Simplify System.Web compatibility layer
- Add unit tests, logging, and doc comments throughout solution
2015-03-10 22:43:45 -07:00
Troy Dai 1407c09c30 Integrate latest dnvm 2015-03-10 14:05:47 -07:00
Praburaj 763051e6b8 Updating nuget.master.config template to have aspnetmasterfeed
Fixes: https://github.com/aspnet/Universe/issues/177
2015-03-10 12:13:54 -07:00
Praburaj 397e2c9968 Renaming Nuget.org feed key name to Nuget in config templates.
https://github.com/aspnet/Universe/issues/174
2015-03-10 11:54:40 -07:00
Praburaj 167b7b9317 Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-10 11:48:47 -07:00
Praburaj 04008af479 Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-09 20:37:28 -07:00
Praburaj 991c69b8cc Renaming Nuget.org feed key name to Nuget 2015-03-09 20:07:42 -07:00
N. Taylor Mullen 37a3c7f2a6 Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 13:02:12 -07:00
N. Taylor Mullen 8f0b9a56b8 Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:52:23 -07:00
N. Taylor Mullen 1f0531f65e Update dnvm. 2015-03-08 22:08:42 -07:00
N. Taylor Mullen 0424843229 Update build.sh to use dnvm correctly. 2015-03-08 13:00:51 -07:00
N. Taylor Mullen 1869fa3311 Update kvm/KVM/Kvm => dnvm/DNVM/Dnvm. 2015-03-08 13:00:51 -07:00
N. Taylor Mullen 9ff40bf4f0 Update K_BUILD_VERSION/kre/KRE/.k => DNX_BUILD_VERSION/dnx/DNX/.dnx. 2015-03-08 13:00:50 -07:00
N. Taylor Mullen 00a38659d5 Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 13:00:50 -07:00
N. Taylor Mullen 87a89457bd Update build.sh to use dnvm correctly. 2015-03-08 12:48:17 -07:00
N. Taylor Mullen 00d6e37d6c Update kvm/KVM/Kvm => dnvm/DNVM/Dnvm. 2015-03-08 12:48:17 -07:00
N. Taylor Mullen 2697cf0d80 Update K_BUILD_VERSION/kre/KRE/.k => DNX_BUILD_VERSION/dnx/DNX/.dnx. 2015-03-08 12:48:16 -07:00
N. Taylor Mullen cb5e7d82f9 Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:48:15 -07:00
Troy Dai e46896b7cd Futher renaming work
1. SKIP_KVM_INSTALL => SKIP_DNX_INSTALL
2. Update k test
2015-03-07 16:08:24 -08:00
Troy Dai 197ef48120 Rename k => dnx and update kvm to dnvm 2015-03-07 15:10:32 -08:00
Praburaj 9bcc863321 Rename Microsoft.AspNet.Http.Interfaces => Microsoft.AspNet.Http 2015-03-05 16:36:21 -08:00
Brennan 88eb10dcfe DI API changes 2015-03-05 14:21:35 -08:00
Hao Kung a2e1110b7a React to DI changes 2015-03-04 18:44:34 -08:00
Hao Kung 32ff156923 React to DI changes, AddDataProtection no longer takes Config 2015-03-04 16:35:33 -08:00
Levi B bf0f94ce20 Store reg keys in a different folder to mitigate impact of renaming changes 2015-02-26 23:46:02 -08:00
Praburaj e1301925c0 Reacting to hosting api changes 2015-02-26 12:26:50 -08:00