Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: added sourcify-verify * chore: remove stub empty line * fix: π issue#276 fix. Added eip712 domain validations β Closes: #276 * docs: βοΈ removed commented code, added comment to explain undef * fix: π add getters/setters for EIP712 params * ci: π‘ trigger tn CI after prerelease * test: adding dumping of generated material for tests in attestation.jar (#283) * test: implemented an object dumber and updated java tests to write object dumps, along with handling linter feedback on the touched files * ci: π‘ trigger tn CI after prerelease Co-authored-by: Tore Kasper Frederiksen <[email protected]> Co-authored-by: Feng Yu <[email protected]> * bug: added domain validation to AttestationUsage and AttestationRequestWUsage (#285) * ci: π‘ trigger tn CI after prerelease * test: adding dumping of generated material for tests in attestation.jar (#283) * test: implemented an object dumber and updated java tests to write object dumps, along with handling linter feedback on the touched files * ci: π‘ trigger tn CI after prerelease Co-authored-by: Tore Kasper Frederiksen <[email protected]> Co-authored-by: Feng Yu <[email protected]> * bug: added domain validation to AttestationUsage and AttestationRequestWUsage * fix: π issue#276 fix. Added eip712 domain validations β Closes: #276 * docs: βοΈ removed commented code, added comment to explain undef * fix: π add getters/setters for EIP712 params Co-authored-by: Feng Yu <[email protected]> Co-authored-by: Tore Kasper Frederiksen <[email protected]> Co-authored-by: Oleh Hryb <[email protected]> * fix: added domain validation to AttestationRequestWithUsage and AttestationUsage * fix: π asn_decoding fix(patch), attestation timestamp check (#273) Added patch to fix ASN1_schema bug for Integers, added Attestation validate timestamp * fix: fixed integration tests with attested object (#290) Co-authored-by: Tore Kasper Frederiksen <[email protected]> * fix: updated peculiar asn1 to latest version which contains the fix that is otherwise included in the patch (#294) Co-authored-by: Tore Kasper Frederiksen <[email protected]> * feat: signature-based UN and possibility of adding context to UN (#284) * feat: wrote a UN based on signature and refactored things to allow an optional context for both MAC-based UNs and signature-based UNs * test: adding dumping of generated material for tests in attestation.jar (#283) * test: implemented an object dumber and updated java tests to write object dumps, along with handling linter feedback on the touched files * ci: π‘ trigger tn CI after prerelease Co-authored-by: Tore Kasper Frederiksen <[email protected]> Co-authored-by: Feng Yu <[email protected]> * feat: wrote a UN based on signature and refactored things to allow an optional context for both MAC-based UNs and signature-based UNs * docs: added comments * fix: made some fixes and tried to get a consistent version working between TS and Java * fix: updated java code to be able to integration test JS generated UNs * fix: updated JS code to be able to integration test with java generated UNs and added tests * Removed unnneeded test * test: updated tests and ensured consistent and deterministic code when needed * test: updated and expanded integration tests to ensure consistency with Java implementation * fix: fixed issues related to deterministic keys * test: fixed missing references in js test * fix: fixed directory typo Co-authored-by: Feng Yu <[email protected]> * feat: β¨ safeconnect (#279) * docs(core): adding asn1 draft for nftownership attestation and ethereum linking attestation * docs(core): adding asn1 draft for nftownership attestation and ethereum linking attestation in asd format as well * docs(core): fixed typos in old asd format * docs(core): updates description to reuse old type for erc721 token * docs(core): updated asn format description after discussion with Miccy * docs(core): fixed bug in old asn1 notation * docs(core): updated asd format too * refactor:core refactored representation of erc721 tokens to fit with what we also need * feat(core): added first draft of signed NFT Ownership Attestation * test(core): added sunshine tests to signed NFT Ownership Attestation * Draft JS schemas. * Bump version - JS patch release 0.3.8 * fix(core): updated format to match the new format from Miccy * Update JS schemas for safe connect. * feat(core) added draft of ethereum key link attestation along with refactoring * fix(core) added missing file * feat(core) added draft of ethereum address attestation * refactor(core) removed redundant decoder code * test(core) added test to ownership attestations * test(core) added test to key linking attestation * Fixes for node.js support - Fix window debug ENV check. - Fix uint8array to base64 encoding. * refactor: refactoring and improved testing * test: added more testing along with file writing and reading of test data * fix: changed to assume the issuer uses Ethereum keys and refactored OID identification * fix: updated failing tests * Migrate safe connect attestation and verification code WIP. * Migrate safe connect attestation and verification code WIP. * Migrate safe connect attestation and verification code WIP. * Fix parsing * Add validity checking & optional parameter validFrom. * feat: move smart contract * chore: Refactor test attestations to be generated using javascript lib. * chore: Add javascript lib tests * feature: NFT Attestation solidity library * chore: Add test mint contract & fix attestation validity issues with tests. * fix: added missing tag to java version * fix: added fixes to get the MVP integration working * test: added integration test for JS safeconnect version * feature: JS context & various other enhancements - Add optional context field to Javascript attestation creation. - Move signing function to AbstractLinkedAttestation. - Add multi-token support to JS NFT attestation creation. - Implement test to validate Java attestation in Javascript. - Add method to get linked attestation data from EthereumKeyLinkingAttestation. * chore: Bump JS pre-release version to 0.3.9-sc.3 * test: added more safeconnect integration tests * test: added integration test of JS with Java * test: added console printing of right value * fix: missing NFT_ADDRESS variable in test * test: enable JS -> Java test * feat: made chainID mandatory on ERC721 tokens * fix: make github CI/CD pass * fix: added schema for address linking * refactor: improved variable naming * feat: added support for array of tokens in java version * feature: multi-token ID support for JS and solidity library. * refactor: changed format of Erc721 token to have IDs at the end and always store things as an array * test: updated java test * chore: bump version * fix: silly bug :-( * fix: context field type * test: added test for context * test: added test for context * fix: issuer keys being overwritten when provided in base64/PEM format feat: return attested object in validateUseTicket function. * fix: remove temporary patch for asn1-schema integer parsing issue ref: ae8c45b updated peculiar asn1 to latest version which contains the fix that is otherwise included in the patch (#294). Co-authored-by: Michael Wallace <[email protected]> Co-authored-by: snowwhitedev <[email protected]> * update contracts to use standard ERC721 and in-line library to reduce gas cost. Also update tests in line with these changes (#292) * Various fixes & enhancements for Devcon use cases (#297) * feature: validateUseTicket - allow validation to skip ethAddress check. Allow skipping of ethereum address by explicitly passing null as userEthKey value. * Bump version for devcon release * Bump version for devcon release * feature: add getDevconId function to Ticket class * build: updated dependencies * build: updated dependencies * build: updated version * build: updated version * Devcon (#299) * feature: validateUseTicket - allow validation to skip ethAddress check. Allow skipping of ethereum address by explicitly passing null as userEthKey value. * Bump version for devcon release * Bump version for devcon release * feature: add getDevconId function to Ticket class * feature: allow multiple keys for validation of a single conference ID * fix/disabled blockchain enabled tests (#303) * build: upgraded dependencies Co-authored-by: snowwhitedev <[email protected]> Co-authored-by: oleggrib <[email protected]> Co-authored-by: Feng Yu <[email protected]> Co-authored-by: Michael Wallace <[email protected]> Co-authored-by: James Brown <[email protected]>
- Loading branch information
4539243
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report for
src/main/javascript/crypto/
Test suite run success
56 tests passing in 2 suites.
Report generated by π§ͺjest coverage report action from 4539243
4539243
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report for
src/main/javascript/crypto/
Test suite run success
56 tests passing in 2 suites.
Report generated by π§ͺjest coverage report action from 4539243