Git Product home page Git Product logo

t1c-sdk-js's People

Contributors

dependabot[bot] avatar gillespl avatar gillesplatteeuw avatar guycastle avatar michallis avatar superitman avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

superitman

t1c-sdk-js's Issues

Documentation Downloading Trust1Connector

Describe the bug
Not all links for downloading the Trust1Connectors are working.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Documentation Downloading Trust1Connector'
  2. Copy the general link 'https://acc-ds.t1t.io/v3/downloads/installer'
  3. The response '....'
{
success: false,
description: "Could not determine appropriate package for user agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36",
code: 1010,
stackTrace: "models.DownloadException: Could not determine appropriate package for user agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36
	at controllers.DownloadController.$anonfun$downloadByUserAgent$1(DownloadController.scala:56)
	at security.UserAgentActionBuilder.$anonfun$invokeBlock$1(SecurityActionBuilders.scala:76)
	at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:433)
	at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:56)
	at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:93)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
	at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:94)
	at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:93)
	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:48)
	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:48)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
"
}

Expected behavior
The Distribution Service should analyse the User-Agent header and automatically initiate the download of an OS-appropriate installer of the latest configured version.

Screenshots
image

Desktop (please complete the following information):

  • OS:

    • Edition: Windows 10 Pro
    • Version: 21H2
    • Installed on: ‎12/‎04/‎2022
    • OS build: 19044.1706
  • Browser: Chrome

  • Version: 101.0.4951.67 (Official Build) (64-bit)

Additional context

From The additional links, only the Mac links seems to work

  1. https://acc-ds.t1t.io/v3/downloads/installer/win64 → Not working
  2. https://acc-ds.t1t.io/v3/downloads/installer/win32 → Not working
  3. https://ds.t1t.io/v3/downloads/installers/macos → OK
  4. https://ds.t1t.io/v3/downloads/installers/macosarm → OK

Safenet token - missing `modules: string[]` property in `SmartCard`

Is your feature request related to a problem? Please describe.

In order to display the right certificates/tokens, I'd like to use the property modules available in my Safenet token.

{
    "id": "1******a",
    "name": "AKS ifdh 0",
    "pinpad": false,
    "card": {
        "atr": "29*****************d8",
        "description": [
            "Safenet Token"
        ],
        "modules": [
            "safenet"
        ]
    }
}

Describe the solution you'd like

Adapt the interface SmartCard like this:

export declare class SmartCard {
    atr?: string | undefined;
    description?: string[] | undefined;
    modules?: string[] | undefined;
    constructor(atr?: string | undefined, description?: string[] | undefined, modules?: string[] | undefined);
}

Regards,

Alexis GEORGES

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.