Opened 7 years ago

Closed 6 years ago

#610 closed defect (fixed)

Lost bote indentities after update to 0.8.13

Reported by: gadoon Owned by: HungryHobo
Priority: major Milestone: 0.9
Component: apps/plugins Version: 0.8.12
Keywords: Cc: gadoon@…
Parent Tickets:

Description

After updating to 0.8.13 i don't have any i2pbote identity.
I just started using bote, but i don't think this is a normal behaviour, right?

Subtickets

Attachments (1)

error.log (12.9 KB) - added by gadoon 7 years ago.

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by gadoon

comment:1 Changed 7 years ago by zzz

  • Owner set to HungryHobo
  • Priority changed from critical to major
  • Status changed from new to assigned

comment:2 Changed 7 years ago by killyourtv

Other than

 java.security.InvalidKeyException: Not a valid Email Identity: <8EjvqvlFFKpbwHshROp6M1QMtESZ277lmhqe34N5qZN9YdQuvz25LnRYI2rfall7h3FcjNQaL8Op~k8pxuKA-9GduxADOcBMUqVFpgXFqXnmMF5z48F0m9wC1IDvV~SXaK4Eg87xdGrtl-VKVHCqIBbwdJ4PYNA1V1Q5qPVyXe7H>

the log looks 'normal' (more verbose than it should be, sure, but that's what I used to see until I overrode the log priorities).

comment:3 Changed 7 years ago by HungryHobo

Yes, the log spam is a separate issue which has been fixed in mtn. The InvalidKeyException? looks like an Email Identity was truncated to 172 chars when it was written to disk, or read from disk. If anyone knows how I can reproduce this error, please let me know.

comment:4 Changed 6 years ago by HungryHobo

Forget what I wrote about the identity being truncated. 172 chars is the right length. Not only that, I was able to import the identity from the attached log file and send/receive an email.

The only reason I can think of why it would think the identity is invalid, is that the list of CryptoImplementations? was empty because it wasn't initialized. But I doubt it because I would expect the app not to start up at all in that case.

comment:5 Changed 6 years ago by HungryHobo

Somebody (like the OP or an admin) please delete the attachment ASAP, or edit it and delete the email identities.

comment:6 Changed 6 years ago by HungryHobo

  • Resolution set to fixed
  • Status changed from assigned to closed

I'm pretty sure this is a race condition. Revision 7db2932b3db6bbf32d4ae937c93eb37e06e9f099 should fix it.

The good news is that this bug doesn't destroy identities, they just don't get loaded right. Until a new build is out, try restarting I2P-Bote until all identities show up.

Note: See TracTickets for help on using tickets.