summary refs log tree commit diff stats
path: root/changelogs/changelog.md
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate `std/sharedlist` and `std/sharedtables` (#19112)konsumlamm2021-11-091-0/+2
|
* Fix #19052; [backport:1.6.0] (#19053)Timothy Alexander2021-10-261-0/+31
* Fix #19052; [backport:1.6.0] Adds a compile flag to avoid a getrandom syscall, fixing #19052. This is neccesary when the getrandom syscall is missing, as noted in #19052, particularly in kernel versions < 3.17 when getrandom was introduced. Specifically relevant is this is missing from kernel 3.10, which is the supported kernel throughout RHEL 7 and CentOS 7, which is widely used at many organizations. Without this, versions of nim that include sysrand (i.e. versions >= 1.6.0) will not compile without modification, however with this change a compile flag may be used to fall back using /dev/urandom as done with any unknown Posix OS (preferred here as a fallback since it already supplies a cryptographically secure PRNG and existing code deals with entropy pool init, etc). The change is placed behind a compile flag, as discussed in github ticket #19052 (summed up here): * First, I can't seem to catch that a importc such as SYS_getrandom is declared without using it (the declared proc returns true, but compiler throws an undeclared identifier flag when referencing it). * Second, it seemed preferable to be behaviorally explicit vs implicit when considering this is intended to be a cryptographically secure PRNG. * Third, if I intend to compile on a kernel >= 3.17 while running the binary on at least one system < 3.17, I'll want to be able to target this without relying on a compile time determination if the getrandom syscall is available. * Documenting compile flag for -d:nimNoGetRandom and adding changelog entry Related to #19052 and comments in PR #19053. Also created a new changelog file since none currently exists. Co-authored-by: Timothy Alexander <talexander@midwestlabs.com>
nimf as standardized extension for source code filters (#10294)' href='/ahoang/Nim/commit/testament/htmlgen.nim?h=devel&id=65593e76f44176e3a28d4d60aff79e58042244ad'>65593e76f ^
c648a5774 ^
765116d54 ^
e40bf9036 ^
765116d54 ^
3172ca547 ^
a5f1abc5c ^




8e435d7b0 ^

a5f1abc5c ^
765116d54 ^


e40bf9036 ^

e40bf9036 ^




8f4befe36 ^
e40bf9036 ^



8f4befe36 ^
e40bf9036 ^








765116d54 ^
e40bf9036 ^
bf22b44b1 ^
e40bf9036 ^







a5f1abc5c ^

46aacf917 ^
a5f1abc5c ^


765116d54 ^
a5f1abc5c ^






fa02ffaeb ^
765116d54 ^
a5f1abc5c ^
8f4befe36 ^

765116d54 ^











a5f1abc5c ^
765116d54 ^
e40bf9036 ^
765116d54 ^




e40bf9036 ^
765116d54 ^






a5f1abc5c ^
765116d54 ^






e40bf9036 ^
765116d54 ^

383fbca27 ^
a5f1abc5c ^
765116d54 ^
e931f3b5a ^
765116d54 ^
c648a5774 ^
e40bf9036 ^


765116d54 ^
e40bf9036 ^
765116d54 ^
e40bf9036 ^
a5f1abc5c ^
d29aa4c5a ^
765116d54 ^












1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149