View Issue Details

IDProjectCategoryView StatusLast Update
0002646GNUnetutil librarypublic2012-12-21 16:49
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.5Fixed in Version0.9.5 
Summary0002646: gnunet-rsa should rename files instead of deleting
DescriptionIf gnunet-rsa is invoked on a file that does NOT contain an RSA-key, it deletes the existing file before creating a fresh key. As users can be, eh, unaware of this issue, this might lead to data loss in rare cases. Thus it would be nicer if instead of deleting the file, we renamed it (foo to foo~ or so).
TagsNo tags attached.

Activities

Christian Grothoff

2012-11-10 21:16

manager   ~0006563

Last edited: 2012-11-10 21:17

The respective calls are in src/util/crypto_rsa.c:648, 665 and 860 (they should probably all be moved into a new function to do the renaming and logging).

Christian Grothoff

2012-12-09 16:39

manager   ~0006656

Fixed in SVN 25333.

Issue History

Date Modified Username Field Change
2012-11-09 21:07 Christian Grothoff New Issue
2012-11-10 14:01 Christian Grothoff Assigned To => Christian Grothoff
2012-11-10 14:01 Christian Grothoff Status new => assigned
2012-11-10 14:06 Christian Grothoff Priority normal => high
2012-11-10 14:07 Christian Grothoff Target Version => 0.9.5
2012-11-10 21:16 Christian Grothoff Note Added: 0006563
2012-11-10 21:16 Christian Grothoff Assigned To Christian Grothoff =>
2012-11-10 21:16 Christian Grothoff Status assigned => confirmed
2012-11-10 21:17 Christian Grothoff Note Edited: 0006563
2012-12-08 21:25 Christian Grothoff Assigned To => Christian Grothoff
2012-12-08 21:25 Christian Grothoff Status confirmed => assigned
2012-12-09 16:39 Christian Grothoff Note Added: 0006656
2012-12-09 16:39 Christian Grothoff Status assigned => resolved
2012-12-09 16:39 Christian Grothoff Fixed in Version => 0.9.5
2012-12-09 16:39 Christian Grothoff Resolution open => fixed
2012-12-21 16:49 Christian Grothoff Status resolved => closed