Giter VIP home page Giter VIP logo

Comments (3)

janten avatar janten commented on July 28, 2024

As far as I know, no one has figured out how these commands actually work. Do you have any details about the process?

from dpt-rp1-py.

p4s2wd avatar p4s2wd commented on July 28, 2024

After checked a while, I found testmode is running on port 8444, you can get the nonce via https://digitalpaper.local:8444/testmode/auth/nonce, I have no idea how to sign the nonce with which private key.

from dpt-rp1-py.

p4s2wd avatar p4s2wd commented on July 28, 2024

"/testmode/auth": {
"put": {
"tags": [
"テストモード"
],
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"description": "To do authentication exclusively for test mode

# nonce_signed specifies Nonce (one-time token) digitally signed with SHA 256 signature algorithm using K_PRIV_DT (secret key of client dedicated to test mode) ",
"parameters": [
{
"name": "auth_info",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/specialAuthPutRequest"
}
}
],
"responses": {
"204": {
"description": "認証に成功"
},
"400": {
"description": "* [40000] JSONのパースに失敗した\n* [40001] 必須パラメータが指定されていなかった",
"schema": {
"$ref": "#/definitions/errorResult"
}
},
"401": {
"description": "* [40100] 認証に失敗した",
"schema": {
"$ref": "#/definitions/errorResult"
}
},
"403": {
"description": "* [40300] テストモードとして規定された手順以外でアクセスした",
"schema": {
"$ref": "#/definitions/errorResult"
}
}

from dpt-rp1-py.

Related Issues (20)

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.