PeterO.Cbor 4.0.0-beta1

A C# implementation of Concise Binary Object Representation (CBOR), a general-purpose binary data format defined in RFC 7049.

Advisory: Severity: high
Additional Details

Use PeterO.Cbor version 4.1.0 (or the latest available version) rather than this legacy version.

This is a prerelease version of PeterO.Cbor.
There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
Install-Package PeterO.Cbor -Version 4.0.0-beta1
dotnet add package PeterO.Cbor --version 4.0.0-beta1
<PackageReference Include="PeterO.Cbor" Version="4.0.0-beta1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PeterO.Cbor --version 4.0.0-beta1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PeterO.Cbor, 4.0.0-beta1"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

Release Notes

Version 4.0.0-beta1:

- Support nullable types in CBORObject.ToObject.
- Update Numbers library to newer version
- JSONOptions.Base64Padding now has no effect.  The library will now write padding as necessary when
 writing traditional base64 to JSON and write no padding when writing base64url to JSON.
- JSONOptions.ReplaceSurrogates property added.
- Restrict valid shared reference indices to integers 0 or greater.
- Reject writing JSON where CBOR maps have two keys with the same string equivalent.
- Improve performance of CBOR object comparisons involving big floats.

Version 4.0.0-alpha2:

- Support CBOR tags for IRIs and IRI references.
- Add CBOREncodeOptions.DefaultCtap2Canonical field.

Version 4.0.0-alpha1:

- Remove all APIs obsoleted since version 3.4.  This
 includes the BigInteger, ExtendedDecimal, and ExtendedFloat APIs,
 which were renamed and moved to a different library, as well as the
 ICBORTag and CBORTypeFilter APIs.
- Changed implementation of FromObject, including imposing a nesting depth
 limit and supporting a CBORTypeMapper parameter.
- Property name conversion rules (in PODOptions) were changed
 in this version with respect to FromObject.  In this sense,
 PODOptions.RemoveIsPrefix was removed.
- Certain other changes in CBOR object reading and validation were
 made; they are largely compatible with previous versions but may be
 backwards-incompatible in certain rare cases

NuGet packages (12)

Showing the top 5 NuGet packages that depend on PeterO.Cbor:

Package Downloads
AWS DynamoDB Accelerator (DAX) .NET Client -- DAX is a fully managed, in-memory cache for DynamoDB.
FIDO2 .NET library (WebAuthn)
An implementation of the CBOR Object Signing and Encryption standards.
An embedded IPFS engine for .Net
This package is shared between all other DSInternals packages. Its main features are Azure AD Graph API and ADSI clients for for retrieval of cryptographic material. It contains implementations of common hash functions used by Windows, including NT hash, LM hash and OrgId hash. It also contains methods for SysKey/BootKey retrieval.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on PeterO.Cbor:

Repository Stars
Directory Services Internals (DSInternals) PowerShell Module and Framework
FIDO2 .NET library for FIDO2 / WebAuthn Attestation and Assertion using .NET

Version History

Version Downloads Last updated
4.3.0 5,505 12/7/2020
4.2.0 11,891 7/18/2020
4.1.3 18,209 5/27/2020
4.1.2 4,519 4/25/2020
4.1.1 600 4/15/2020
4.1.0 44,064 12/15/2019
4.0.0 13,194 9/3/2019
3.5.2 11,118 7/4/2019
3.5.1 719 7/1/2019
3.5.0 3,058 6/2/2019
3.4.0-beta1 834 10/1/2018
3.3.0 4,733 9/3/2018
3.2.0 972 7/30/2018
Show less