profile
viewpoint

ciphergoth/sansreplace 11

Sampling without replacement algorithms

ciphergoth/pylambdac 8

A lambda calculus interpreter in Python

google/coset 4

A set of Rust types for supporting COSE

google/hctr2 4

HCTR2 specification and test vectors

ciphergoth/adiantum 2

Adiantum and HPolyC specification and test vectors

ciphergoth/libsupercrypto 2

Tool for building a cryptography library from SUPERCOP

ciphergoth/aflsmart 1

Smart Greybox Fuzzing

ciphergoth/rfcs 1

RFCs for changes to Rust

ciphergoth/CBORbis 0

(Mostly editorial) update of RFC 7049 in IETF CBOR WG

ciphergoth/compiler-team 0

A home for compiler team planning documents, meeting minutes, and other such things.

delete branch ciphergoth/coset

delete branch : convenience-vec

delete time in 7 days

PR merged google/coset

Convenience routines for Vec conversion

Add to_cbor_array and try_as_array_then_convert for converting vectors between CBOR and internal representations.

+69 -83

0 comment

6 changed files

ciphergoth

pr closed time in 7 days

push eventgoogle/coset

Paul Crowley

commit sha 4c1970e75a09da95e1fd512f9fb3afc43141fe07

Convenience routines for Vec conversion Add to_cbor_array and try_as_array_then_convert for converting vectors between CBOR and internal representations.

view details

push time in 7 days

PR opened google/coset

Reviewers
Convenience routines for Vec conversion

Add to_cbor_array and try_as_array_then_convert for converting vectors between CBOR and internal representations.

+69 -83

0 comment

6 changed files

pr created time in 7 days

push eventciphergoth/coset

Paul Crowley

commit sha a0bd18b3fddc8102ec9f59f48ae2b67877671eca

Fix bare URL warning on iana module.

view details

Paul Crowley

commit sha 5d90652ffd044d11e85cde4af70c6fd007309e1b

CI: "cargo doc" must fail on warning

view details

Paul Crowley

commit sha 4ed3e03b8f1c94c5f5a3f5b26359d54517235b21

Add convert-or-fail ValueTryAs trait (#39) Augment Value objects with methods that either return particular types or fail with a CborError.

view details

Paul Crowley

commit sha 04b363d455736ad08c708e523c0795c59833c272

Convenience routines for Vec conversion Add to_cbor_array and try_as_array_then_convert for converting vectors between CBOR and internal representations.

view details

push time in 7 days

PR opened google/coset

Reviewers
Fix warning in "cargo doc"

Fix warning on IANA module in cargo doc, and change CI so it fails on a doc warning henceforth.

+15 -15

0 comment

2 changed files

pr created time in 7 days

create barnchciphergoth/coset

branch : fix-docs

created branch time in 7 days

push eventciphergoth/coset

Paul Crowley

commit sha 06a091a385456969d1da8d58d256449f0f6ae89f

Add convert-or-fail ValueTryAs trait Augment Value objects with methods that either return particular types or fail with a CborError.

view details

Paul Crowley

commit sha 57014dbdd150b67cff02f7251c4dc495ebdaa55e

Convenience routines for Vec conversion Add to_cbor_array and try_as_array_then_convert for converting vectors between CBOR and internal representations.

view details

push time in 8 days

push eventciphergoth/coset

Paul Crowley

commit sha 06a091a385456969d1da8d58d256449f0f6ae89f

Add convert-or-fail ValueTryAs trait Augment Value objects with methods that either return particular types or fail with a CborError.

view details

push time in 8 days

push eventciphergoth/coset

Paul Crowley

commit sha c74b56523ae4bb16090e74abbb2109dc292100cf

Add convert-or-fail ValueTryAs trait Augment Value objects with methods that either return particular types or fail with a CborError.

view details

Paul Crowley

commit sha 66b865369b4c2f357c6dbe9f73255149441ffd65

Convenience routines for Vec conversion Add to_cbor_array and try_as_array_then_convert for converting vectors between CBOR and internal representations.

view details

push time in 8 days

push eventciphergoth/coset

Paul Crowley

commit sha c74b56523ae4bb16090e74abbb2109dc292100cf

Add convert-or-fail ValueTryAs trait Augment Value objects with methods that either return particular types or fail with a CborError.

view details

push time in 8 days

push eventciphergoth/coset

Paul Crowley

commit sha a0a49ac10d22ad1e9a4a131cfb8002e4f78cd7fc

Add convert-or-fail ValueTryAs trait Augment Value objects with methods that either return particular types or fail with a CborError.

view details

push time in 8 days

Pull request review commentgoogle/coset

Refactor for brevity and clarity

 pub(crate) fn cbor_type_error<T>(value: &Value, want: &'static str) -> Result<T,     Err(CoseError::UnexpectedType(got, want)) } +pub(crate) trait ValueTryAs+where+    Self: Sized,+{+    fn try_as_integer(self) -> Result<Integer>;

Value objects already have eg an as_integer() method, but it returns an Option.

ciphergoth

comment created time in 8 days

PullRequestReviewEvent

delete branch ciphergoth/coset

delete branch : label-match

delete time in 8 days

push eventciphergoth/coset

Paul Crowley

commit sha c329ac425292815464608d1474895fbf4000f610

Match against Labels not Values Labels implement Eq and can be created as constants, making code more readable.

view details

Paul Crowley

commit sha 55e41db82fa0be2f91aafb42e1b211bb9bfb1d8b

Add convert-or-fail ValueTryAs trait Augment Value objects with methods that either return particular types or fail with a CborError.

view details

Paul Crowley

commit sha d238a4640a8b487418856e9b07751d6c812d6541

Convenience routines for Vec conversion Add to_cbor_array and try_as_array_then_convert for converting vectors between CBOR and internal representations.

view details

push time in 8 days

PR opened google/coset

Reviewers
Add convert-or-fail ValueTryAs trait

Augment Value objects with methods that either return particular types or fail with a CborError.

+181 -237

0 comment

11 changed files

pr created time in 8 days

push eventciphergoth/coset

Paul Crowley

commit sha 55e41db82fa0be2f91aafb42e1b211bb9bfb1d8b

Add convert-or-fail ValueTryAs trait Augment Value objects with methods that either return particular types or fail with a CborError.

view details

push time in 8 days

create barnchciphergoth/coset

branch : valuetryas

created branch time in 8 days

push eventgoogle/coset

Paul Crowley

commit sha c329ac425292815464608d1474895fbf4000f610

Match against Labels not Values Labels implement Eq and can be created as constants, making code more readable.

view details

push time in 8 days

PR merged google/coset

Match against Labels not Values

Labels implement Eq and can be created as constants, making code more readable.

+44 -68

0 comment

3 changed files

ciphergoth

pr closed time in 8 days

PullRequestReviewEvent

Pull request review commentgoogle/coset

Match against Labels not Values

 impl AsCborValue for CoseKey {                 return Err(CoseError::DuplicateMapKey);             }             seen.insert(label.clone());-            match l {

Done

ciphergoth

comment created time in 8 days

push eventciphergoth/coset

Paul Crowley

commit sha 8e8084a8ed0178b8f00c8735e3b231ed56cd22ff

Match against Labels not Values Labels implement Eq and can be created as constants, making code more readable.

view details

push time in 8 days

delete branch ciphergoth/coset

delete branch : result

delete time in 8 days

PR closed google/coset

Refactor for brevity and clarity
  • Add a crate-specific Result type
  • Match on Labels in match statements
  • Add ValueTryAs trait to quickly extract expected types
  • to_cbor_array for very common conversion
+317 -405

0 comment

12 changed files

ciphergoth

pr closed time in 8 days

delete branch ciphergoth/coset

delete branch : refactors

delete time in 8 days

delete branch ciphergoth/coset

delete branch : paulcrowley

delete time in 8 days

delete branch ciphergoth/coset

delete branch : use-ciborium

delete time in 8 days

delete branch ciphergoth/coset

delete branch : capture-xcode-errors

delete time in 8 days

more