Giter Club home page Giter Club logo

wallet-cli's Issues

[Bounty] [wallet-cli][Security] Register wallet - password too long - Password Verification Bug

Bug Report.

i have generated a secure password for my wallet.

my password is :
qnSk4J_Pu>9H§zTt90Z(@5§_C)z!F.D3>BÖhöS&y!rhf)k>Wu@{~$pj@~GqQd89§qnSk

enter command:
grafik

i am asked to enter the password:
grafik

i enter my password:
grafik
and confirm the entry with the enter key...

now I get the following error message:
grafik

i entered the password only once!!!
why do i get the error message "The passwords do not match, please input again."?

Reward Information

voluntary donation: 0x38C7de5ffcdF0686aCdF2Da15c38A6a7632112D8

Timestamp of the test

  1. June 2018 10:00 am (UTC+1)

Tested OS

centos
ubuntu

Bounty Program

https://twitter.com/justinsuntron/status/1002072890349531137

How many accouts can be created by a wallet

through the study , I found that any other token ,such as xmr ,eos ,btc,and so on, their wallet can create may accounts ,and have account name, so I confused how may accounts can be created by a wallet.

API getTransactionsFromThis

How to use API getTransactionsFromThis? I don't understand what parameters offset and limit mean. Could anyone give me an example to use this API?

The account address is display random code in the create account contract

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
    Use wallet-cli, create an account, then "get block" to see the create account contract

  2. What did you expect to see?
    The owner address is display correct.

  3. What did you see instead?
    The owner address is display random code.
    image

tomcat walletserver Application Startup Failed

in the build/libs directory running the java -jar fails to run web server on port 8088, exits with the following error

Application Startup Failed
Caused by: com.typesafe.config.ConfigException$Parse: config.conf @ jar:file:/root/wallet-cli/build/libs/wallet-1.0-SNAPSHOT.jar!/BOOT-INF/classes!/config.conf: 10: expecting a close parentheses ')' here, not: end of file

There are no open parentheses in my config.conf file in build/resources/main/
Worked O.K. with earlier builds.

[Bounty] [wallet-cli] create wallet - error when creating a wallet - password are numbers

BugReport

i try to create an wallet with the command RegisterWallet
image
I enter the following password: 1234567890987654321234567890

i get the following error message:
image

Debug:
image
the problem exists only if i give a password which contains only numbers

test with letters and numbers, it works:
image

image

Reward Information

voluntary donation: 0x38C7de5ffcdF0686aCdF2Da15c38A6a7632112D8

Timestamp of the test

  1. June 2018 8:00 am (UTC+1)

Tested OS

centos
ubuntu

Bounty Program

https://twitter.com/justinsuntron/status/1002072890349531137

REOPEN -> [Bounty] [wallet-cli][Security] Register wallet - Wallet password too complex, password is not accepted

REOPEN: #139

You didn't understand the problem!!!!
please contact me on slack "PMD3VSolution" for me and the members of the community is not solved the problem

image


Bug Report

i have generated a secure password for my wallet.

my password:
qnSk4J_Pu>9H§zTt90Z(@5§_C)z!F.D3>BÖhöS&y!rhf)k>Wu@{~$pj@~GqQd8

it is complies with password rules:
The password should be at least 8 characters.
The password should contains uppercase, lowercase, numeric and other.
The password should not contain more than 3 duplicate numbers or letters; For example: 1111.
The password should not contain more than 3 consecutive Numbers or letters; For example: 1234.
The password should not contain weak password combination; For example:
ababab, abcabc, password, passw0rd, p@ssw0rd, admin1234, etc.

if i want to create the wallet with the password i get the following error message:
enter the register Wallet command :
grafik

i enter the password:
grafik

i get this error message:
grafik

but the password is not too short!

Reward Information

voluntary donation: 0x38C7de5ffcdF0686aCdF2Da15c38A6a7632112D8

Timestamp of the test

  1. June 2018 10:00 am (UTC+1)

Tested OS

centos
ubuntu

Bounty Program

https://twitter.com/justinsuntron/status/1002072890349531137

Impossible to registerwallet

Hi,

The password necessary to registerwallet must be

At least 8 characters
Contain uppercase, lowercase, numeric and other (define other)
not contain 3 duplicate numbers or letters
not contain 3 consecutive number or letter
not a weak and easy to guess password combinatio

"Wh@tTheBing_isT315" should be acceptable...

No matter how hard I try... i am never able to use the registerwallet function.

Can you please provide me an acceptable password to test?

wallet-cli

Thanks a lot.

api services

Sorry, bu hos to call services from get, pot, etc, for example GET /bance{balance}

Get Account address

I found a bug in wallet-cli when you 'GetAccount' the address has the last 2 chars repeated.

REOPEN - > [Bounty] [wallet-cli][Security] create wallet - password contains tab stop - no check

REOPEN: #131

You didn't understand the problem!!!!
please contact me on slack "PMD3VSolution" for me and the members of the community is not solved the problem

image


Bug Report

when entering the password with a tabstop... the password is separated. the program does not check if the passwords are the same

example: i enter the following password :
Please input password.
<===========--> 85<===========--> 85<===========<=======<===========<===========<===========--> 85% EXECUTING [8m 59s]

:run
^[[11~^[[12~^[[13~^[[14~^[[15~^[[17~^[[18~^[[19~ ^[[20~^[[21~^[[23~^[[24~

I will then be asked to enter the password again:

Please input password again.
<==<===========--> 85<===========--> 85<===========--> 8<===========<===========<===========--> 85% EXECUTING [12m 39s]

:run
^[[11~^[[12~^[[13~^[[14~^[[15~^[[17~^[[18~^[[19~ ^[[24~^[[23~^[[21~^[[20~

<==<===========--> 85<===========--> 85<===========--> 8<===========<===========<===========--> 85% EXECUTING [12m 41s]
03:58:05.621 INFO [main] TestClient Register a wallet successful, keystore file name is UTC--2018-06-19T07-58-05.621000000Z--TAaBPUdkGXfL2AVTiLyVAJ1zGe5rqLwqqH.json
<===========--> 85% EXECUTING [13m 13s]

-> !the wallet was successfully created!

password:
^[[11~^[[12~^[[13~^[[14~^[[15~^[[17~^[[18~^[[19~ ^[[20~^[[21~^[[23~^[[24~

confirm password
^[[11~^[[12~^[[13~^[[14~^[[15~^[[17~^[[18~^[[19~ ^[[24~^[[23~^[[21~^[[20~

fault:
but the entered password and the confirm password do not match!!!

grafik

Reward Information

voluntary donation: 0x38C7de5ffcdF0686aCdF2Da15c38A6a7632112D8

Timestamp of the test

  1. June 2018 10:00 am (UTC+1)

Tested OS

centos
ubuntu

Bounty Program

https://twitter.com/justinsuntron/status/1002072890349531137

Exception in thread "main" io.grpc.StatusRuntimeException: UNIMPLEMENTED: Method not found: protocol.WalletSolidity/GetAccount

my config :

net {
type = mainnet
}

fullnode = {
ip.list = [
"192.168.112.66:50051"
]
}

soliditynode = {
ip.list = [
"192.168.112.66:50051"
]
}

my code :

        client.login(password.toCharArray());
        Protocol.Account account = client.queryAccount();

run and get exception :

io.grpc.StatusRuntimeException: UNIMPLEMENTED: Method not found: protocol.WalletSolidity/GetAccount
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:221)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:202)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:131)
at org.tron.api.WalletSolidityGrpc$WalletSolidityBlockingStub.getAccount(WalletSolidityGrpc.java:596)

Anybody know how to handle this problem ?

[Bounty] [wallet-cli] Compiler warnings

Bug Report

when i build the application I get warnings.
[Bounty] [wallet-cli] Compiler warnings
image

issue:
class TronException has no definition of serialVersionUID
serializable class CancelException has no definition of serialVersionUID
serializable class CipherException has no definition of serialVersionUID

commands

cd wallet-cli
./gradlew build

Reward Information

voluntary donation: 0x38C7de5ffcdF0686aCdF2Da15c38A6a7632112D8

Timestamp of the test

  1. June 2018 8:00 am (UTC+1)

Tested OS

centos
ubuntu

Bounty Program

https://twitter.com/justinsuntron/status/1002072890349531137

Error TestClient - UNAVAILABLE: io exception

Issuing commands expected to give back data such as Getblock, while running java-tron in full node and has all blocks up to most-current downloaded, returns io exception error. What could be a causing this?

Running on Ubuntu 16.04.4, version 59 of java-tron testnet.

Here is a screenshot of the error from the terminal: https://i.imgur.com/0SwJKj5.png

question about ECkey with golang

a priv-pub keypairs generated with "crypto/elliptic" (golang) ,
but this private key in ECkeyDemo.java is used to produce a different pubkey

 public static void main(String[] args) throws CipherException {
	  String privateKey = "0fae33b7613032934d1b69f854e2e4d91812a3d0e6445a1a6a40821d8d8778a6";
    String address = private2Address(ByteArray.fromHexString(privateKey));
    System.out.println("base58Address: " + address);
  System.out.println("================================================================\r\n");

    address = private2Address(null);
    System.out.println("base58Address: " + address);

  }
# the result
Private Key: 0fae33b7613032934d1b69f854e2e4d91812a3d0e6445a1a6a40821d8d8778a6
Public Key: 04cd786f4565fe10d740933e93224c269cdff6cd5432c72dae4ed198d3ae43315f374354bdb5264f2467105543ff196dc2c61a32dbf5fc8a483ae0517e0baeb160

golang:

Private Key: 0fae33b7613032934d1b69f854e2e4d91812a3d0e6445a1a6a40821d8d8778a6
Public Key: 170293c5795f01234f79c208815c6f46c64bddd07af30dfa825bd4bce92567c94273bc93207ac5e20e94d963b0b57213aefdffb7dec44ef0522be9e51d046087

how can i fix it?

[question] importwallet issue.

  1. run wallet-cli
2. registerwallet 12345678 (password)
  1. copy privKey:b206b4776612dd728c03a9f39cea297f8f1b2959d5e9b1c0bb7a5b976e93f1b0
4. login 12345678
5. getaddress
  1. copy address = a0ed70ea2406a5111e5628eb67d86b0eb0c98e9510
  2. remove Wallet file.
8. importwallet a0ed70ea2406a5111e5628eb67d86b0eb0c98e9510 b206b4776612dd728c03a9f39cea297f8f1b2959d5e9b1c0bb7a5b976e93f1b0
privKey:b206b4776612dd728c03a9f39cea297f8f1b2959d5e9b1c0bb7a5b976e93f1b0
10:32:50.091 [main] INFO TestClient - Import a wallet and store it successful !!
9. login 12345678
Login failed !!!

because Wallet file changed 0~31 characters.

how to importwallet correct way?

[Bounty] [wallet-cli] create wallet - password with a space cannot be set

Bug Report

password with a space cannot be set

Command: RegisterWallet
password:q w e r t z u i o p ü a s d f g h j k l ö ä y x c v b n m
image

result:
image

when i use the same password on tronscan.org it works:
image

Reward Information

voluntary donation: 0x38C7de5ffcdF0686aCdF2Da15c38A6a7632112D8

Timestamp of the test

  1. June 2018 8:00 am (UTC+1)

Tested OS

centos
ubuntu

Bounty Program

https://twitter.com/justinsuntron/status/1002072890349531137

[Bounty] [wallet-cli] create wallet - password verification faulty

Bug Report

the password complexity verification behaves differently on the wallet-cli and tronscan

i try to create an wallet, command: RegisterWallet
image

i enter this password:

<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>><<<<<<<<||||||||||||||||||||||<
image

result:
image

on tronscan , it works:
image

Reward Information

voluntary donation: 0x38C7de5ffcdF0686aCdF2Da15c38A6a7632112D8

Timestamp of the test

  1. June 2018 8:00 am (UTC+1)

Tested OS

centos
ubuntu

Bounty Program

https://twitter.com/justinsuntron/status/1002072890349531137

Cannot figure out AssetIssue command syntax

I was successful when building and running server and wallet-cli, creating a local account and login, then I tried to execute AssetIssue on local node, with command copied from Readme.md:

assetIssue 88888888 testAssetIssue00001 10000000000000000 1 100 2018-4-1 2018-4-30 1 just-test https://github.com/tronprotocol/wallet-cli/

replaced 88888888 with my local account, however I got this error message:

Use assetIssue command you need like:
AssetIssue AssetName TotalSupply TrxNum AssetNum StartDate EndDate Description Url FreeNetLimitPerAccount PublicFreeNetLimitFrozenAmount0 FrozenDays0 ... FrozenAmountN FrozenDaysN
TrxNum and AssetNum represents the conversion ratio of the tron to the asset.
The StartDate and EndDate format should look like 2018-3-1 2018-3-21 .

[Bounty] [wallet-cli][Security] Register wallet - Wallet password too complex, password is not accepted

Bug Report

i have generated a secure password for my wallet.

my password:
qnSk4J_Pu>9H§zTt90Z(@5§_C)z!F.D3>BÖhöS&y!rhf)k>Wu@{~$pj@~GqQd8

it is complies with password rules:
The password should be at least 8 characters.
The password should contains uppercase, lowercase, numeric and other.
The password should not contain more than 3 duplicate numbers or letters; For example: 1111.
The password should not contain more than 3 consecutive Numbers or letters; For example: 1234.
The password should not contain weak password combination; For example:
ababab, abcabc, password, passw0rd, p@ssw0rd, admin1234, etc.

if i want to create the wallet with the password i get the following error message:
enter the register Wallet command :
grafik

i enter the password:
grafik

i get this error message:
grafik

but the password is not too short!

Reward Information

voluntary donation: 0x38C7de5ffcdF0686aCdF2Da15c38A6a7632112D8

Timestamp of the test

  1. June 2018 10:00 am (UTC+1)

Tested OS

centos
ubuntu

Bounty Program

https://twitter.com/justinsuntron/status/1002072890349531137

how can I imort file to the mainnet wallet

1.I have create a new wallet on the mainnet,but it generates the json file in my wallet file,as follows,but I import the json file to the wallet on the mainnet ,however, it cant work, this why
/data/trx/wallet-cli/Wallet/UTC--2018-08-28T05-38-05.788000000Z--TSDGDpRk6H2oXArWVbGwcmyiJ7a8HM8Exc.json

Different address from wallet-cli and test.tronscan.org

Hi when I generate address from wallet-cli for testnet config the address start with 27. when I create test account in test.tronscan.org the address start with T. I got to know that address start with 27 is testnet address and which start with T is main net address. My question is why tronscan generating main net address even though I am opening test account..
Also how can I transfer TRX between these addresses. because tronscan does not recognize address which start with 27

The method priKeyValid() of Class WalletClient seems wrong

public static boolean priKeyValid(byte[] priKey) {
if (ArrayUtils.isEmpty(priKey)) {
logger.warn("Warning: PrivateKey is empty !!");
return false;
}
if (priKey.length != 32) {
logger.warn("Warning: PrivateKey length need 64 but " + priKey.length + " !!");
return false;
}
//Other rule;
return true;
}

priKey.length != 32 . but "Warning: PrivateKey length need 64" . ?

[BOUNTY]Liar - About Tron and Justin Sun

This is a hoax designed to defraud the whole community and develop wallet without compensation.
A large number of developers have been used and paid a lot of energy, but they can not get any returns.
Claiming $200 million worth of field loans, but with a maximum of $700 thousand in fact. You wait to see it.

No bounty for any bug

assetIssue fail

When sending the rpc AssetIssue, the model validation checks for 10 parameters before trying to create an Asset object, the sender requires 11 parameters, but it appears as though the receiver still expects 10. In other words, I changed the validation to allow 11 parameters and so it doesn't throw an error, but it still doesn't create the object.

The warning when an incorrect number of elements is given lists the 10 attributes for the Asset object, but it should be 11 because VoteScore is missing from the list.

[Bounty] [wallet-cli] - Send coin - parameter definition - different amount - transaction error

Bug Report

to send the TRX I enter the following command:
image
Command:
sendcoin -Tron-Address- -number of trx-
image

summary

image

i confirm the transaction and enter my password:
image

confirmation

image
image

but when I check my target wallet I see something else:
image

details

image

Reward Information

voluntary donation: 0x38C7de5ffcdF0686aCdF2Da15c38A6a7632112D8

Timestamp of the test

  1. June 2018 10:00 am (UTC+1)

Tested OS

centos
ubuntu

Bounty Program

https://twitter.com/justinsuntron/status/1002072890349531137

unable to compile gradlew

./gradlew --stacktrace build

Task :generateProto UP-TO-DATE
Using TaskInputs.file() with something that doesn't resolve to a File object has been deprecated and is scheduled to be removed in Gradle 5.0. Use TaskInputs.files() instead.
at org.gradle.api.internal.tasks.DefaultTaskInputs$8.validate(DefaultTaskInputs.java:387)
at org.gradle.api.internal.tasks.StaticValue.validate(StaticValue.java:43)
at org.gradle.api.internal.tasks.DefaultTaskInputFilePropertySpec.validate(DefaultTaskInputFilePropertySpec.java:124)
at org.gradle.api.internal.tasks.DefaultTaskInputs.validate(DefaultTaskInputs.java:171)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:47)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:59)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:128)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:46)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
at org.gradle.initialization.DefaultGradleLauncher$ExecuteTasks.run(DefaultGradleLauncher.java:314)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.initialization.DefaultGradleLauncher.runTasks(DefaultGradleLauncher.java:204)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:134)
at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:109)
at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:78)
at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:75)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:152)
at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:100)
at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:75)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$1.run(RunAsBuildOperationBuildActionRunner.java:43)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:40)
at org.gradle.tooling.internal.provider.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:51)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:47)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:39)
at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:25)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:80)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:53)
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:57)
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:32)
at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)
at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)
at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:64)
at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:29)
at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:59)
at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:44)
at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:45)
at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:30)
at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
at org.gradle.util.Swapper.swap(Swapper.java:38)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:62)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:82)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:295)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-internal/ThreadPoolExecutor.java:1158)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-internal/ThreadPoolExecutor.java:632)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(java.base@9-internal/Thread.java:804)

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileJava'.

java.lang.reflect.UndeclaredThrowableException

  • Try:
    Run with --info or --debug option to get more log output.

  • Exception is:
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileJava'.
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
    at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
    at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
    at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
    at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60)
    at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
    at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
    at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
    at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
    Caused by: java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException
    at com.sun.tools.javac.api.JavacTool.getTask(jdk.compiler@9-internal/JavacTool.java:180)
    at com.sun.tools.javac.api.JavacTool.getTask(jdk.compiler@9-internal/JavacTool.java:109)
    at com.sun.tools.javac.api.JavacTool.getTask(jdk.compiler@9-internal/JavacTool.java:65)
    at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.createCompileTask(JdkJavaCompiler.java:66)
    at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:47)
    at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:35)
    at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:98)
    at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:51)
    at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:37)
    at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35)
    at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
    at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:207)
    at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:192)
    at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:124)
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
    at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:46)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:121)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:110)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
    ... 29 more
    Caused by: java.lang.reflect.UndeclaredThrowableException
    at com.sun.proxy.$Proxy72.handleOption(Unknown Source)
    at com.sun.tools.javac.api.ClientCodeWrapper$WrappedJavaFileManager.handleOption(jdk.compiler@9-internal/ClientCodeWrapper.java:265)
    at com.sun.tools.javac.main.Arguments.doProcessArgs(jdk.compiler@9-internal/Arguments.java:375)
    at com.sun.tools.javac.main.Arguments.processArgs(jdk.compiler@9-internal/Arguments.java:294)
    at com.sun.tools.javac.main.Arguments.init(jdk.compiler@9-internal/Arguments.java:250)
    at com.sun.tools.javac.api.JavacTool.getTask(jdk.compiler@9-internal/JavacTool.java:175)
    ... 53 more
    Caused by: java.lang.IllegalAccessException: class org.gradle.api.internal.tasks.compile.reflect.SourcepathIgnoringInvocationHandler cannot access class com.sun.tools.javac.file.BaseFileManager (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.file to unnamed module @3abce0c9
    at org.gradle.api.internal.tasks.compile.reflect.SourcepathIgnoringInvocationHandler.invoke(SourcepathIgnoringInvocationHandler.java:65)
    ... 59 more

  • Get more help at https://help.gradle.org

[Bounty] Cannot fetch account details in wallet-cli

  1. What did you do?
    I first started java-tron by
    ./gradlew build
    ./gradlew -Pwitness
    and then started wallet-cli by
    ./gradlew build
    ./gradlew -Pcmd

Afterwards, I registered and logged in to a wallet by running
registerWallet [password]
login [password]

Then I tried to get the list of accounts and the balance of my wallet by
listaccounts
getblock
getbalance
but I get IO Exception everytime

  1. What did you expect to see?
    I was expecting to see my balance

  2. What did you see instead?

io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:221)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:202)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:131)
at org.tron.api.WalletSolidityGrpc$WalletSolidityBlockingStub.getAccount(WalletSolidityGrpc.java:920)
at org.tron.walletserver.GrpcClient.queryAccount(GrpcClient.java:54)
at org.tron.walletserver.WalletClient.queryAccount(WalletClient.java:225)
at org.tron.walletserver.WalletClient.queryAccount(WalletClient.java:221)
at org.tron.walletcli.Client.queryAccount(Client.java:162)
at org.tron.walletcli.TestClient.getBalance(TestClient.java:156)
at org.tron.walletcli.TestClient.run(TestClient.java:736)
at org.tron.walletcli.TestClient.main(TestClient.java:853)
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:50050
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:323)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:633)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
12:20:34.998 [main] INFO TestClient - Get Balance failed !!!!
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused

[Bounty] [wallet-cli][Security] create wallet - password with spaces - space separates password - no check

Bug Report

if i enter a password with spaces, the length of the characters to space is important. the algorytmus only checks the minimum number of characters but does not search the password for spaces. so the entered password does not match the one the keyfile is encrypted with.
That's a security risk from my point of view.

example: i enter the following password :
^[[11~^[[12~^[[13~^[[14~^[[15~^[[17~^[[18~^[[19~ ^[[20~^[[21~^[[23~^[[24~askju3892u32o^12190127("!="!/!"(&§!=$"!!R"T"E/"!E(*'*QÄDAÜSD

description

image

Evidence/Test

i create a wallet with the password described above
image
the user does not get an error message and assumes that the password he entered is also the password with which the file is encrypted. but unfortunately this is not correct

now i log in with the first part of the password:
image

image

i choose my file:
image

login success
image

Reward Information

voluntary donation: 0x38C7de5ffcdF0686aCdF2Da15c38A6a7632112D8

Timestamp of the test

  1. June 2018 10:00 am (UTC+1)

Tested OS

centos
ubuntu

Bounty Program

https://twitter.com/justinsuntron/status/1002072890349531137

TransferAsset failed

I have TRXC 1,000.

asset
{
name: TRXC
balance: 1000
}

TransferAsset 12345678 27gsQ7FEfJSCkpWaPAjKtZ6Xr8wZqx6zifz TRXC 100

INFO TestClient - TransferAsset 100 to 27gsQ7FEfJSCkpWaPAjKtZ6Xr8wZqx6zifz failed !!

Can you help me?

How to reset my vote?

voting 0 failed.

voteWitness 12345678 27ZSDDWAT6eQoRXspbBMmm4FerGPVspJFU6 0

INFO TestClient - VoteWitness failed !!

how to reset?

Wallet build issue

Cannot build wallet.
D:\gitron\wallet-cli>gradlew build

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project 'wallet'.

Could not resolve all files for configuration ':classpath'.
Could not resolve com.github.jengelman.gradle.plugins:shadow:2.0.2.
Required by:
project :
> Could not resolve com.github.jengelman.gradle.plugins:shadow:2.0.2.
> Could not get resource 'https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/com/github/jengelman/gradle/plugins/shadow/2.0.2/shadow-2.0.2.pom'.
> Could not HEAD 'https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/com/github/jengelman/gradle/plugins/shadow/2.0.2/shadow-2.0.2.pom'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Could not resolve gradle.plugin.com.liferay:gradle-plugins-node:4.3.0.
Required by:
project :
> Could not resolve gradle.plugin.com.liferay:gradle-plugins-node:4.3.0.
> Could not get resource 'https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/gradle/plugin/com/liferay/gradle-plugins-node/4.3.0/gradle-plugins-node-4.3.0.pom'.
> Could not GET 'https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/gradle/plugin/com/liferay/gradle-plugins-node/4.3.0/gradle-plugins-node-4.3.0.pom'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED in 6s

D:\gitron\wallet-cli>gradlew build

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project 'wallet'.

Could not resolve all files for configuration ':classpath'.
Could not resolve com.github.jengelman.gradle.plugins:shadow:2.0.2.
Required by:
project :
> Could not resolve com.github.jengelman.gradle.plugins:shadow:2.0.2.
> Could not get resource 'https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/com/github/jengelman/gradle/plugins/shadow/2.0.2/shadow-2.0.2.pom'.
> Could not HEAD 'https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/com/github/jengelman/gradle/plugins/shadow/2.0.2/shadow-2.0.2.pom'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Could not resolve gradle.plugin.com.liferay:gradle-plugins-node:4.3.0.
Required by:
project :
> Could not resolve gradle.plugin.com.liferay:gradle-plugins-node:4.3.0.
> Could not get resource 'https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/gradle/plugin/com/liferay/gradle-plugins-node/4.3.0/gradle-plugins-node-4.3.0.pom'.
> Could not GET 'https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/gradle/plugin/com/liferay/gradle-plugins-node/4.3.0/gradle-plugins-node-4.3.0.pom'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED in 3s

D:\gitron\wallet-cli>

wallet-cli configuration path problems

In WalletClient.java, line96:
Config config = Configuration.getByPath("config.conf");
Then in Configuration.java, line52:
File configFile = new File(System.getProperty("user.dir")+'/'+configurationPath);
As a result, the path of file "config.conf" obtained will not exit in the existing wallet-cli folder .

Because in the existing wallet-cli folder, the path of file "config.conf" is :
wallet-cli/src/main/resources
Thus, In WalletClient.java, line96, the argument of func getByPath be changed. Or file "config.conf" need to relocated.

Address Altered when calling GetAccount

1
2

As shown in the pic1, I revoked GetAccount with the designated addresses.
However in pic2 of the returned result, the address, specifically, the top 4 characters of original address "TMeW" was altered to "3QJmnh".
Why is this happending?
Is it intended or just a bug?

ParticipateAssetIssue failed

wallet cli ParticipateAssetIssue failed.

ParticipateAssetIssue 12345678 27U5C9dyNShQuaeJ66FNF9a3axWADz5KKYc TronWatch 123

19:08:14.523 [main] INFO TestClient - ParticipateAssetIssue TronWatch 123 from 27U5C9dyNShQuaeJ66FNF9a3axWADz5KKYc failed !!

anyone help me?

[Bounty] [wallet-cli][Security] create wallet - password contains tab stop - no check

Bug Report

when entering the password with a tabstop... the password is separated. the program does not check if the passwords are the same

example: i enter the following password :
Please input password.
<===========--> 85<===========--> 85<===========<=======<===========<===========<===========--> 85% EXECUTING [8m 59s]

:run
^[[11~^[[12~^[[13~^[[14~^[[15~^[[17~^[[18~^[[19~ ^[[20~^[[21~^[[23~^[[24~

I will then be asked to enter the password again:

Please input password again.
<==<===========--> 85<===========--> 85<===========--> 8<===========<===========<===========--> 85% EXECUTING [12m 39s]

:run
^[[11~^[[12~^[[13~^[[14~^[[15~^[[17~^[[18~^[[19~ ^[[24~^[[23~^[[21~^[[20~

<==<===========--> 85<===========--> 85<===========--> 8<===========<===========<===========--> 85% EXECUTING [12m 41s]
03:58:05.621 INFO [main] TestClient Register a wallet successful, keystore file name is UTC--2018-06-19T07-58-05.621000000Z--TAaBPUdkGXfL2AVTiLyVAJ1zGe5rqLwqqH.json
<===========--> 85% EXECUTING [13m 13s]

-> !the wallet was successfully created!

password:
^[[11~^[[12~^[[13~^[[14~^[[15~^[[17~^[[18~^[[19~ ^[[20~^[[21~^[[23~^[[24~

confirm password
^[[11~^[[12~^[[13~^[[14~^[[15~^[[17~^[[18~^[[19~ ^[[24~^[[23~^[[21~^[[20~

fault:
but the entered password and the confirm password do not match!!!

grafik

Reward Information

voluntary donation: 0x38C7de5ffcdF0686aCdF2Da15c38A6a7632112D8

Timestamp of the test

  1. June 2018 10:00 am (UTC+1)

Tested OS

centos
ubuntu

Bounty Program

https://twitter.com/justinsuntron/status/1002072890349531137

configuration file use wrong variable

    if (config == null) {
      File configFile = new File(System.getProperty("user.dir")+'/'+configurationPath);
      if(configFile.exists()){
        try {
          config = ConfigFactory.parseReader(new InputStreamReader(new FileInputStream(**configurationPath**)));
          logger.info("use user defined config file in current dir");
        } catch (FileNotFoundException e) {
          logger.error("load user defined config file exception: " + e.getMessage());
        }
      }else {
        config = ConfigFactory.load(configurationPath);
        logger.info("user defined config file doesn't exists, use default config file in jar");
      }
    }

the configurationPath in line 5 must be change to configFile. if i change user.dir to new variable let say -DTRON=C:\config.conf, it throw exception even though it pass the condition configFile.exist

Could not run web wallet. Error: no main manifest attribute, in wallet-1.0-SNAPSHOT.jar

What did you do?

Trying to build and run web wallet using the below instructions

cd wallet-cli
./gradlew build       
cd build cd libs
java -jar wallet-1.0-SNAPSHOT.jar

What did you expect to see?

Run web wallet

What did you see instead?

Error: no main manifest attribute, in wallet-1.0-SNAPSHOT.jar

I have unzipped the jar file and noticed Manimest.MF file with this line only:

Manifest-Version: 1.0

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.