Bitcoin Forum
June 29, 2024, 05:33:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 [246] 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 ... 334 »
4901  Economy / Service Discussion / Re: Help understanding payment verification via blockchain.info JSON API on: July 14, 2013, 03:57:18 PM
I would be very interested to know if i can get transactions via bitcoind that are not in the same account/wallet (just like blockchain.info somehow manage to do...)
At present i have managed to do it via the BlockChain JSON API, but i worry about scalability (i.e how will blockchain cope if i try to send 10,000+ calls per hour...)

You can do this (look at the options for indexing all tx's that were introduced after the levelDB introduction).

To be able to query any tx you'll need to "re-index" (this is another option).
4902  Bitcoin / Project Development / Re: Interested in creating a 2FA algo for Android - 5 BTC reward available! on: July 14, 2013, 12:40:38 PM
Anyway if there are no Android devs interested in working on this then I'll probably just end up using Google 2FA after all (thanks for the link and your comments).
4903  Bitcoin / Project Development / Re: Interested in creating a 2FA algo for Android - 5 BTC reward available! on: July 14, 2013, 06:14:18 AM
On a smartphone, this is typically made easier by having a QR-code displayed so the application scans it.

Okay - thank you very much for clarifying that (I had made a rather silly assumption and will not use an integer).

Now that I am aware of that I see the "key space" problem you were initially getting at I will change the algo although to my thinking something like:

Code:
hash( secret + to_string( timestamp / interval ) ).substr( 0, 6 );

which should be just as secure (assuming "secret" is say 64 bytes from /dev/random).

Of course an even longer secret (or perhaps hash iterations) should also help to harden it against the brute force attack that you mentioned.
4904  Bitcoin / Project Development / Re: Interested in creating a 2FA algo for Android - 5 BTC reward available! on: July 14, 2013, 05:55:23 AM
of course it's the same - the only difference being that your approach forces this by design, while the OATH-TOTP implementations I've seen have the site using the OTP generate a random key, usually on at least 16 bytes.

Okay - maybe we are talking in tangents - as I've never actually *used* Google 2FA perhaps I am just missing something obvious here.

So using Google 2FA on an Android phone requires you to enter a 16 byte key/PIN per app (I honestly don't know and had assumed maybe incorrectly that it was a much shorter PIN in which case my approach would be equally as secure)?
4905  Bitcoin / Project Development / Re: Interested in creating a 2FA algo for Android - 5 BTC reward available! on: July 14, 2013, 05:26:13 AM
The issue here is that an attacker getting hold of one of your generated OTPs by any mean (shoulder surfing, open wifi network ...) and knowing when it was generated can retrieve your PIN quite easily then impersonate you later.

If you have a hold of a users OTP and you the knew the time that it was used then for either algorithm then you can easily brute force the "pin" by just calling the "relevant totp" function across the key space of the PIN.

How is that key space going to be any different with the two approaches if the user is using say a 6 digit PIN?
4906  Bitcoin / Project Development / Re: Interested in creating a 2FA algo for Android - 5 BTC reward available! on: July 14, 2013, 04:23:24 AM

Can you please explain why the algorithm linked to is significantly weaker?

The HMAC key space is the size of the block size of the associated hash function - 64 bytes for SHA-1, versus random-size-of-a-C-int-so-often-4-or-8-bytes in your implementation, making it easy to bruteforce.

I grok the key space point but I don't see how that makes it easier to "brute force" - surely the length of the "pin" being used is all that matters for brute forcing (as by definition brute forcing means that you are trying every possible value of that to "crack it").

Assuming a 6 digit pin and a 30 second interval then the brute forcing of either algo would take on average half a year or so (assuming you already know the user's password of course).

So the algo I have posted is similar but not exactly the same (so it won't be known as Google Authenticator). If you think the algo could be improved without turning it into Google Authenticator then I am all ears.

In any case, it's never a good plan to roll out your own cryptography. If you really want to move forward with that "other than Google" 2FA idea, perhaps try an HMAC with SHA-256 (same people will probably think it's cool, because it's like Bitcoin, you know), or SHA-3 (other people will probably think it's cool, because it's not designed by the NSA, you know)

I do take your point about "rolling my own" (although I'm not convinced it's flawed yet but I am willing to be convinced) and yes I guess simply swapping hmac_sha1 for hmac_sha256 could be another useful approach.
4907  Bitcoin / Bitcoin Wallet for Android / Re: Incoming transactions on: July 14, 2013, 03:24:27 AM
I label all of the new addresses I use. None of my incoming transactions show the label.

Sorry Daily Anarchist - I didn't pay attention to which board this post was made in and just assumed we were talking about the Satoshi client (my bad).

Perhaps someone else who uses Bitcoin Wallet for Android would care to comment.
4908  Other / Meta / Re: "International Press" forum section on: July 14, 2013, 01:18:45 AM
The problem is one of clear communication - if a date is written as DD/MM or MM/DD then unless the day is > 12 it is ambiguous - if written in the form YYYY-MM-DD it is not.
That's not the problem at all. The problem is that formats other than YYYY-MM-DD cannot be automatically sorted chronologically.

Actually that is still just a problem of clear communication (human to machine rather than human to human). Smiley
4909  Bitcoin / Bitcoin Wallet for Android / Re: Incoming transactions on: July 14, 2013, 01:12:32 AM
It's a real bummer when I get an incoming transaction and it only shows me which address it came from. That doesn't do me a lot of good. I want to know which address it went to, so I know what the money is for.

Huh?

It only shows you which address it was sent to and if you created a new address and gave it a label then you'd be able to see exactly what it was for.
4910  Bitcoin / Project Development / Re: Interested in creating a 2FA algo for Android - 5 BTC reward available! on: July 14, 2013, 01:07:01 AM
I'm not really sure that replacing an open standard with a significantly weaker algorithm is such a good idea  Grin

Can you please explain why the algorithm linked to is significantly weaker?

What exactly is wrong with RFC 6238 ?

Technically nothing - the problem is that its more commonly known "name" has Google in it (as explained in the OP).

So the algo I have posted is similar but not exactly the same (so it won't be known as Google Authenticator). If you think the algo could be improved without turning it into Google Authenticator then I am all ears.
4911  Bitcoin / Project Development / Interested in creating an alternate 2FA app for Android? on: July 13, 2013, 04:09:15 PM
I've read a number of posts about getting 2FA and not trusting Google authenticator.

Although there is no reason not to trust their algo I am willing to offer 5 BTC for the creation of an Android app that basically works on a very similar algo (https://github.com/ciyam/ciyam/blob/master/src/crypt_stream.cpp#L144) in the hope that it will create an alternative that people can choose to use if they are wary of anything originating from Google.

The scope of the app would be to create multiple account entries that each contain a "shared secret" so that the 2FA could be used for multiple websites (it will be used by CIYAM Open as a first).

The Android app would have to be open source of course and preferably written in C++ - if you have any interest (and the skills) to develop such an app then please respond (if enough interest then I will set up a task on CIYAM Open for this).
4912  Other / Off-topic / Re: Idea: IQ test site which rewards highest IQ scorers in cryptocoins. on: July 13, 2013, 03:45:48 PM
I wonder if this would really attract highly intelligent people at all - if your IQ is high enough then making money is actually not a problem (so not something you would need to enter a contest to do) - instead typically very IQ people are more interested in solving difficult problems or inventing things (such as Bitcoin).

There is no need to *reward* that as the people who are intelligent enough are already driven by their own desire to improve things (getting financial rewards for winning competitions is typically a far more low IQ thing).
4913  Other / Meta / Re: "International Press" forum section on: July 13, 2013, 02:54:19 PM
Agree with you, but some individuals impose formats using their influence disregarding content. I would rather see free market chose formats and leave silly acts of submission be a thing of the past.

The problem is one of clear communication - if a date is written as DD/MM or MM/DD then unless the day is > 12 it is ambiguous - if written in the form YYYY-MM-DD it is not.

I prefer the less ambiguous and DB query friendly format even though I grew up in country that uses a different format (same as I learned to write XX AUD rather than $XX).
4914  Other / Meta / Re: "International Press" forum section on: July 13, 2013, 01:11:43 PM
But is date formatting a valid reason to create more sub-forums?

It does seem a little silly - but wars have been fought over less. Smiley
4915  Other / Meta / Re: "International Press" forum section on: July 13, 2013, 01:03:30 PM
The YYYY-MM-DD is the ISO format and also the most common format used in (mainland) China - with all the confusion with US MM-DD or English DD-MM it only took me a short while to actually *prefer* the ISO format (it's also the best way to store dates in a DB as you can search efficiently on a year or a month within a year as well as a specific date).

If other formats are really wanted then they should be in their own sub-forums (i.e. US News, British News, etc.).

YYYY-MM-DD is Chinese date format Smiley

Not for Hong Kong though (down there they still use DD-MM-YYYY) and I'm not sure about Taiwan.
4916  Economy / Currency exchange / Re: Trade by yourself! Avoid middleman! Ripple -Buying/selling XRP-Noob guide on: July 13, 2013, 12:08:48 PM
glad to hear you came through those step.

And BTC came through a few hours back - all in all pretty smooth apart from the trading software in Ripple itself (they need to do a *lot* of work on that).

Thanks for your the helpful instructions!
4917  Economy / Services / Re: SecureChat for Skype Application - Free Giveaway on: July 13, 2013, 06:33:33 AM
We would but to a trustworthy company which won't spill our source all over the internet.

You clearly don't get the point - if I can't build the software *from* the source code *myself* then how could I be sure any executable that you provide is actually using the same source code (so *seeing* the source code is not enough).

There is a reason why open source is the preferred approach to security - it does not require trust.
4918  Economy / Currency exchange / Re: Trade by yourself! Avoid middleman! Ripple -Buying/selling XRP-Noob guide on: July 13, 2013, 04:51:37 AM
it may appears on "7,899.99999999" order. Or maybe it's a display problem. But I'm pretty sure this would be working.

Indeed - it had changed to 7899.99999999 and now a reasonable portion of the order has been filled (seems my second "cancel" didn't actually occur so the order was still there today but that could be due to a poor internet connection so am not claiming any bug in regards to that).

Next step will be to get the BTC out from Bitstamp!
4919  Economy / Service Discussion / Re: CoinLenders, input.io and coinchat doesn't salt or use a strong hash algo on: July 12, 2013, 06:08:25 PM
Instead he attacked me then actually just disproving me.

You made it impossible for him to do so - if you (and him) could let your egos go for a second you'd realise that this helps Bitcoin not at all.

I don't really care for the silly argument but would hope you guys both remember that Bitcoin is more important than any of us. Smiley
4920  Economy / Service Discussion / Re: CoinLenders, input.io and coinchat doesn't salt or use a strong hash algo on: July 12, 2013, 05:56:24 PM
Obviously you think the way you think and I think the way I think. If my proof that he has bad security, the certainly his actions are not that of a innocent man.

If you can prove he has bad security (on any other website than the one he admitted to) then why not just do so?
Pages: « 1 ... 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 [246] 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 ... 334 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!